可使用 STA 命令管理和检查各种 STA 组件的状态。STA 命令变量分为两类:
用于启动或关闭整个 STA 环境或者检查整个 STA 环境的状态的命令
启动或关闭单个 STA 服务或检查单个 STA 服务的状态的命令。
注意: 单个 STA 服务命令仅供参考。不要执行这些命令,除非受到 Oracle 技术支持人员的指示。 |
可以随时使用命令 STA help 获得有效 STA 命令参数列表。
各种 STA 进程分入以下三个受管服务器:
staUi-STA 用户界面
staEngine-基本 STA 内部函数
staAdapter-SNMP 通信
受管服务器可以单独进行管理。请参见"单个服务管理命令."
表 2-1 显示了 STA 域服务器、STA 受管服务器和 MySQL 的内存使用要求。
以下 STA 命令可用于启动和停止整个 STA 环境以及检查整个 STA 环境的状态。
STA start all
启动整个 STA 环境。
# STA start all
Starting mysql Service..
mysql service was successfully started
Starting staservd Service.
staservd service was successfully started
Starting weblogic Service......
weblogic service was successfully started
Starting staengine Service.........
staengine service was successfully started
Starting staadapter Service..........
staadapter service was successfully started
Starting staui Service..........
staui service was successfully started
STA stop all
停止整个 STA 环境。
# STA stop all
Stopping the staui service......
Successfully stopped the staui service
Stopping the staadapter service......
Successfully stopped the staadapter service
Stopping the staengine service......
Successfully stopped the staengine service
Stopping the weblogic service......
Successfully stopped the weblogic service
Stopping the staservd Service...
Successfully stopped staservd service
Stopping the mysql service.....
Successfully stopped mysql service
STA status all
显示整个 STA 环境的状态。
# STA status all
mysql service is running
staservd service is running
weblogic service is running
staengine service is running
.... and the deployed application for staengine is in an ACTIVE state
staadapter service is running
.... and the deployed application for staadapter is in an ACTIVE state
staui service is running
.... and the deployed application for staui is in an ACTIVE state
以下 STA 命令可用于启动和停止单个 STA 组件或检查这些组件的状态。
注意: 单个 STA 服务命令仅供参考。不要执行这些命令,除非受到 Oracle 技术支持人员的指示。 |
STA start
|stop
|status mysql
启动或停止 MySQL,或显示其状态。
STA start
|stop
|status staservd
启动或停止 STA 服务守护进程,或显示其状态。
STA start
|stop
|status weblogic
启动或停止 WebLogic AdminServer,或显示其状态。
STA start
|stop
|status staadapter
启动或停止 staAdapter 受管服务器,或显示其状态。
STA start
|stop
|status staengine
启动或停止 staEngine 受管服务器,或显示其状态。
STA start
|stop
|status staui
启动或停止 staUi 受管服务器,或显示其状态。