Skip Headers
StorageTek Tape Analytics 管理指南
版本 2.0
E53289-01
  转到目录
目录
转到索引
索引

上一页
上一页
 
下一页
下一页
 

2 服务器管理

可使用 STA 命令管理和检查各种 STA 组件的状态。STA 命令变量分为两类:


注意:

单个 STA 服务命令仅供参考。不要执行这些命令,除非受到 Oracle 技术支持人员的指示。

可以随时使用命令 STA help 获得有效 STA 命令参数列表。

2.1 受管服务器

各种 STA 进程分入以下三个受管服务器:

  • staUi-STA 用户界面

  • staEngine-基本 STA 内部函数

  • staAdapter-SNMP 通信

受管服务器可以单独进行管理。请参见"单个服务管理命令."

2.2 内存使用要求

表 2-1 显示了 STA 域服务器、STA 受管服务器和 MySQL 的内存使用要求。

表 2-1 内存使用要求


内存需求

STA 域服务器

2 GB 堆大小

STA 受管服务器

2 GB 堆大小

MySQL

2 GB 内存


2.3 全局管理命令

以下 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
    

2.4 单个服务管理命令

以下 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 受管服务器,或显示其状态。