1 Server Administration

The STA command is used to administer and verify the status of the various STA components. This chapter includes the following sections:

STA Command Overview

The STA command variants are split into the following categories:

  • Commands that bring the entire STA environment up or down, or check the status of the entire STA environment

  • Commands that bring individual STA services up or down, or check the status of individual STA services.

Caution:

The individual STA service commands are provided for reference only. Do not execute these commands unless directed by Oracle Support.

You can use the command STA help at any time to obtain a list of valid STA command arguments.

Managed Servers

The various STA processes are split into the following three managed servers:

  • staUi—STA user interface

  • staEngine—Basic STA internal functions

  • staAdapter—SNMP communication

You can manage the servers individually. See "Individual Service Administration Commands."

Memory Usage Requirements

Table 1-1 shows memory usage requirements for the STA domain server, STA managed servers, and MySQL.

Table 1-1 Memory Usage Requirements

Item Memory Requirement

STA domain server

2 GB heap size

STA managed servers

2 GB heap size

MySQL

2 GB memory


Global Administration Commands

You can use the following STA commands to start, stop, and check the status of the entire STA environment.

  • STA start all starts the entire STA environment. For example:

    # 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 stops the entire STA environment. For example:

    # 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 displays the status of the entire STA environment. For example:

    # STA status all

    mysql 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
    

Individual Service Administration Commands

You can use the following STA commands to start and stop individual STA components or to check the status of those components.

Caution:

The individual STA service commands are provided for reference only. Use these commands only if directed by Oracle Support.
  • STA start|stop|status mysql

    Starts or stops MySQL, or displays its status.

  • STA start|stop|status staservd

    Starts or stops the STA Services Daemon, or displays its status.

  • STA start|stop|status weblogic

    Starts or stops the WebLogic AdminServer, or displays its status.

  • STA start|stop|status staadapter

    Starts or stops the staAdapter managed server, or displays its status.

  • STA start|stop|status staengine

    Starts or stops the staEngine managed server, or displays its status.

  • STA start|stop|status staui

    Starts or stops the staUi managed server, or displays its status.