使用OPMN启动和停止Essbase服务器 11.1.2 [原创]_Hadoop,ERP及大数据讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  Hadoop,ERP及大数据讨论区 »
总帖数
1
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 9615 | 回复: 0   主题: 使用OPMN启动和停止Essbase服务器 11.1.2 [原创]        下一篇 
Gavin
注册用户
等级:少校
经验:878
发帖:130
精华:1
注册:2011-7-21
状态:离线
发送短消息息给Gavin 加好友    发送短消息息给Gavin 发消息
发表于: IP:您无权察看 2011-9-22 14:33:29 | [全部帖] [楼主帖] 楼主

原文:

Starting and Stopping The Essbase Server 11.1.2 using OPMN
Applies to:
Hyperion Essbase - Version: 11.1.2.0.00 to 11.1.2.0.00 - Release: 11.1 to 11.1
Information in this document applies to any platform.
Purpose
How to start, stop, monitor and control the Essbase Agent process.
Scope
Possible ways for monitoring and controlling the Essbase Agent process.
Starting and Stopping The Essbase Server 11.1.2 using OPMN
There are two possible ways for monitoring and controlling the Essbase Agent process.
- Starting and Stopping Essbase using OPMN.
- Starting and Stopping Essbase without using OPMN.
Why to use OPMN with Essbase :
The Oracle Process Manager and Notification server (OPMN) enables us to monitor and control the Essbase Agent process. You have to add Essbase Agent information to the opmn.xml file to enable the OPMN to start, stop, and restart the agent using the OPMN command line interface.
The OPMN can automatically restart the Essbase Agent when it become unresponsive, terminates unexpectedly, or becomes unreachable as determined by ping and notification operations.
During the EPM installation, EPM System Installer installs OPMN and registers Essbase Server for OPMN. The OPMN manages the Essbase Agent, which manages the Essbase Server.
Methods to start the Essbase server using the OPMN:
1- Use these commands to start and monitor Essbase from OPMN:
opmnctl status
Enables you to determine the status of system component processes.
opmnctl startproc ias-component=EssbaseInstanceName
Starts the system component named EssbaseInstanceName*
opmnctl restartproc ias-component=EssbaseInstanceName
Restarts the system component named EssbaseInstanceName*
*) EssbaseInstanceName:
- If you did not implement failover clustering, EssbaseInstanceName is the name of the Essbase instance that you entered when you configured Essbase Server in the “Essbase Server Configuration” page during configuration process with EPM System Configurator.
- If you implemented failover clustering, EssbaseInstanceName is the name of the Essbase cluster that you entered when you set up the Essbase cluster.
Note: The Components that are managed by OPMN should never be started or stopped manually. Use the opmnctl command line utility to start and stop system components.
2- Windows Start Menu Command:
Select Start --> Programs --> Oracle EPM System --> Essbase --> Essbase Server --> Start Essbase
This command launches startEssbase.bat and redirects to OPMN.
Note: The registered Service Name is: opmn_instanceName and the Display Name in Windows Services Control Panel is: Oracle Process Manager (instanceName)
3- Windows Startup Script:
- Go to this path :
MIDDLEWARE_HOME/user_projects/epmsystem1/bin/startEssbase.bat
- Click on the startEssbase.bat to start the Essbase server and redirect to OPMN.
Note: If you have more than one Essbase instance, then each instance of Essbase Server has its own startup script. If you configured an additional instance of Essbase, startEssbase.bat|sh is located in additionalInstanceLocation/bin. Launch the start script from this location to launch this instance of Essbase.
--> ESSCMD:
MIDDLEWARE_HOME/user_projects/epmsystem1/EssbaseServer/EssbaseServerInstanceName/bin/startEsscmd.bat
(It is also available in the /EssbaseClient directory)
-->ESSMSH:
MIDDLEWARE_HOME/user_projects/epmsystem1/EssbaseServer/EssbaseServerInstanceName/bin/startMaxl.bat
(It is also available in the /EssbaseClient directory)
All the scripts call setEssbaseEnv.bat to set up ESSBASEPATH, ARBORPATH, and PATH before starting.
4- UNIX Startup Script:
- Go to this path: (It redirects to OPMN)
MIDDLEWARE_HOME/user_projects/epmsystem1/bin/startEssbase.sh
- Click on the startEssbase.sh to start the Essbase server and redirect to OPMN.
Note: If you have more than one Essbase instance, then each instance of Essbase Server has its own startup script. If you configured an additional instance of Essbase, startEssbase.bat|sh is located in additionalInstanceLocation/bin. Launch the start script from this location to launch this instance of Essbase.
--> ESSCMD:
MIDDLEWARE_HOME/user_projects/epmsystem1/EssbaseServer/EssbaseServerInstanceName/bin/startEsscmd.sh
It is also available in the /EssbaseClient directory.
--> ESSMSH:
MIDDLEWARE_HOME/user_projects/epmsystem1/EssbaseServer/EssbaseServerInstanceName/bin/startMaxl.sh
It is also available in the /EssbaseClient directory.
- All the scripts call hyperionenv.doc to set up ESSBASEPATH, ARBORPATH, and PATH before starting.
- When running Essbase manually from a console, the console cannot be set to UTF-8 encoding.
- There is another instance of startEssbase.sh located in this path:
MIDDLEWARE_HOME/user_projects/epmsystem1/EssbaseServer/essbaseserver1/bin.
This file does not redirect to OPMN.
- You must use this startEssbase.sh file to start Essbase if Oracle Business Intelligence Enterprise Edition is the data source for Essbase.
To stop Essbase Server using the OPMN:
If you started the Essbase Server using the OPMN, then you have to use OPMN to stop it, using one of the following methods:
1) Command line:
opmnctl stopproc ias-component=EssbaseInstanceName
Stops the system component named EssbaseInstanceName
Note: If you attempt to use MaxL to shut down an Essbase instance that was started using OPMN, you are warned to use OPMN to shut down Essbase.
- Stopping Essbase Server can take some time, depending on how many Essbase applications are running on the server. To stop Essbase Server, you need Administrator permissions.
2- Windows Stop Script:
MIDDLEWARE_HOME/user_projects/epmsystem1/bin/stopEssbase.bat
It redirects to OPMN.
3- UNIX Stop Script:
MIDDLEWARE_HOME/user_projects/epmsystem1/bin/stopEssbase.sh
It redirects to OPMN.
Starting and Stopping Essbase without using OPMN:
Oracle provides an alternate method of starting Essbase that does not use OPMN.
To start the Essbase server without using the OPMN:
- Go to this instance of startEssbase.sh located in:
MIDDLEWARE_HOME/user_projects/epmsystem1/EssbaseServer/essbaseserver1/bin
- Click on the startEssbase.sh to start the Essbase server.
Note: If you use this method of starting Essbase, then the OPMN is not used for managing Essbase and active-passive failover clusters are not supported.
To stop the Essbase server without using the OPMN:
If you used this alternate method to start Essbase, use one of the following methods to stop Essbase:
1- stopping via Administration Services Console:
In the Enterprise View--> right-click the Essbase Server node --> Select Stop.
2- stopping Essbase via MaxL:
use this MaxL command:
alter system shutdown;
Example:
login admin 'password' on local;
alter system shutdown;
3- stopping Essbase via ESSCMD:
use this ESSCMD command:
SHUTDOWNSERVER servername username password
Where:
servername: Host name associated with the Essbase Server you want to shut down.
username: Your user name.
password: Your password.
Example:
shutdownserver local admin password;
4- Agent:
If you started Agent in the foreground, you can use the quit command:
quit;
Common Issues
see:
Document 1277055.1
for a number of common issues and solutions when using Essbase with OPMN
Document 1179893.1
for a problem when signing off from a remote HSS Server (will affect Essbase login)
Document 1156592.1
for a problem when signing off from a remote Essbase Server
Document 1272837.1
for installing a second Essbase Server instance on the same physical machine
References
epm_11.1.2_install_start_here.pdf (EPM 11.1.2 Installation Start Here Guide )
epm_11.1.2_install.pdf (EPM 11.1.2 Installation and Configuration Guide)
esb_11.1.2_dbag.pdf (EPM 11.1.2 Database Administrator's Guide )
esb_11.1.2__tech_ref.pdf ( EPM 11.1.2 Essbase Technical Reference)
Oracle Process Manager and Notification Server Administrator's Guide
epm_11.1.2_install_troubleshooting.pdf (EPM 11.1.2 Installation & Troubleshooting Guide )
Related
Products
Middleware > Enterprise Performance Management > Essbase > Hyperion Essbase
Keywords
START INSTANCE; OPMN.XML; FAILOVER; SCRIPT; PASSWORD; STARTUP; OPMNCTL; OPMN
·         Log in or register to post comments


译文:

使用OPMN启动和停止Essbase服务器 11.1.2

目的:

如何启动、停止、监控和控制Essbase代理进程。

作用范围:

用来监控和控制Essbase代理进程的可能的方式

使用OPMN启动和停止Essbase服务器

监控和控制Essbase代理进程可能的方式有两种:

n  使用OPMN启动和停止Essbase

n  不使用OPMN启动和停止Essbase

为什么要使用Essbase中的OPMN:

Oracle进程管理通知服务器(OPMN)使得我们能监控Essbase代理进程。你需要往opmn.xml文件中添加Essbase代理信息,让OPMN通过使用OPMN的命令行启动、停止以及重启代理。

当Essbase代理没有反应、意外终止或者通过ping和通知操作无法到达时,OPMN能自动重启Essbase代理。

在EPM安装过程中,EPM系统安装程序会安装OPMN并且会为OPMN注册Essbase服务器。OPMN管理Essbase代理,Essbase代理管理Essbase服务器。

使用OPMN启动Essbase服务器的方法:

1.       使用这些OPMN命令启动和监控Essbase

Opmnctl status


确定系统组件进程的状态

Opmnctl startproc ias-component=EssbaseInstanceName


启动名为EssbaseInstanceName*的系统组件

Opmnctl startproc ias-component=EssbaseInstanceName


重启名为EssbaseInstanceName*的系统组件

EssbaseInstanceName*:


n  如果你没有实施故障转移集群,EssbaseInstanceName就是一个当使用EPM系统配置器在配置进程的过程中,在”Essbase 服务器配置页面里配置Essbase服务器时你输入的一个Essbase实例名。

n  如果你实施故障转移集群,EssbaseInstanceName是当你建立Essbase集群时,你输入的Essbase集群名。

注意:通过OPMN管理的组件应该从不手动的启动或者停止。使用opmnctl命令行功能去启动和关闭系统组件。

2.Windows启动菜单命令:

选择“开始”à “程序”à “Oracle EPM System”à “Essbase”à “Essbase Server”à “Start Essbase”

这条命令会启动startEssbase.bat并重新指向OPMN。

注意:注册后的服务名为:opmn_instanceName,在windows服务的控制面板中显示的名字为:Oracle Process Manager(instanceName)

3.Windows启动脚本:

n  进入以下路径:

MIDDLEWARE_HOME/user_projects/epmsystem1/bin/startEssbase.bat


n  点击startEssbase.bat启动Essbase服务器并且重定向到OPMN

注意:如果你有不止一个Essbase实例,那么每个Essbase服务器的实例都需要有它自己的启动脚本。如果你为Essbase配置了额外的实例,startEssbase.bat|sh存放在additionalInstanceLocation/bin。通过运行这个位置的启动脚本来启动Essbase实例。

è ESSCMD:
MIDDLEWARE_HOME/user_projects/epmsystem1/EssbaseServer/EssbaseServerInstanceName/bin/startEsscmd.bat
(在Essbaseclient目录下也是可用的)


在启动之前,所有的脚本调用setEssbaseEnv.bat去建立ESSBASEPATH,APBORPATH以及PATH。

4.Unix启动脚本:

n  进入以下路径:

MIDDLEWARE_HOME/user_projects/epmsystem1/bin/startEssbase.sh


n  点击startEssbase.bat启动Essbase服务器并且重定向到OPMN

注意:如果你有不止一个Essbase实例,那么每个Essbase服务器的实例都需要有它自己的启动脚本。如果你为Essbase配置了额外的实例,startEssbase.bat|sh存放在additionalInstanceLocation/bin。通过运行这个位置的启动脚本来启动Essbase实例。

è ESSCMD:
MIDDLEWARE_HOME/user_projects/epmsystem1/EssbaseServer/EssbaseServerInstanceName/bin/startEsscmd.sh


在Essbaseclient目录下也是可用的

è ESSMSH:
MIDDLEWARE_HOME/user_projects/epmsystem1/EssbaseServer/EssbaseServerInstanceName/bin/startMaxl.sh


在Essbaseclient目录下也是可用的

-          在启动之前,所有的脚本调用hyperionenv.doc去建立ESSBASEPATH,APBORPATH以及PATH

-          当在控制台手动运行Essbase时,控制台不能被设置为UTF-8编码。

-          在以下路径中,有其他实例的startEssbase.sh

MIDDLEWARE_HOME/user_projects/epmsystem1/EssbaseServer/essbaseserver1/bin.


这个文件不能重定向到OPMN。

-          如果oracle商业智能企业版是Essbase的数据源,那么你必须使用这个startEssbase.sh文件去启动Essbase

使用OPMN停止Essbase服务器:

如果你使用了OPMN启动了Essbase服务器,那么你能通过OPMN去停止它,命令如下:

1.       命令行:

opmnctl stopproc ias-component=EssbaseInstanceNam


停止名为EssbaseInstanceNam的系统组件

注意:如果你尝试使用Maxl去停止使用OPMN启动的Essbase实例,你会被警告使用OPMN去停止Essbase。

-          停止Essbase服务器花费的时间取决于在这个服务器上跑着多少Essbase应用程序。为了停止Essbase服务器,你需要管理员权限。

2.Windows停止脚本:

MIDDLEWARE_HOME/user_projects/epmsystem1/bin/stopEssbase.bat


这重定向到OPMN

3.UNIX停止脚本:

MIDDLEWARE_HOME/user_projects/epmsystem1/bin/stopEssbase.sh


这重定向到OPMN

不使用OPMN启动以及停止Essbase

Oracle提供了一种代替OPMN启动Essbase的方法。

不使用OPMN启动Essbase服务器:

n  进入这个实例存放startEssbase.sh的位置:

MIDDLEWARE_HOME/user_projects/epmsystem1/EssbaseServer/essbaseserver1/bin


n  点击startEssbase来启动Essbase服务器

注意:如果你使用这种方法启动Essbase,那么OPMN不能用来管理Essbase,并且被动的故障转移集群也不被支持。

不使用OPMN停止Essbase服务器:

如果你使用这个代替方法去启动Essbase,使用下面其中一种方法停止Essbase:

1.       通过管理服务控制台停止

在企业视图 à 右击Essbase服务器节点à选择停止。

2.       通过Maxl停止Essbase

使用Maxl命令:

Alter system shutdown;


比如:

在本地登入admin

Alter system shutdown;


3.       通过ESSCMD停止Essbase

使用这个ESSCMD命令:

SHUTDOWNSERVER servername username password


Servername: 你想要关闭的Essbase 服务器的相关域名

Username:你的用户名

Password:密码

比如:

Shutdownserver local admin password;


4.       代理

如果你在前台启动了代理,你就能使用下面的命令退出:

Quit;


常见问题

查看:

文档1277055.1

文档中有一些使用OPMN管理Essbase的常见文件以及解决方案

文档1179893.1

此文档中有相关当从远程的HSS服务器退出的相关问题(将会影响Essbase登录)

文档1156592.1

此文档中有相关当从远程Essbase服务器退出的相关问题。




赞(0)    操作        顶端 
总帖数
1
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论