This section describes how to start Sun Management Center components using the graphical user interface and the command-line script.
The graphical user interface wizard enables you to start specific Sun Management Center components as described by the following procedure.
Log in as root on the machine on which you want to start Sun Management Center components.
Go to the /opt/SUNWsymon/sbin directory.
Run the start wizard by typing:
# ./es-guistart
The Select Components to Start screen appears.
Depending on the components installed on the machine, you might have one or more of the following options to select:
Start Server Components
Start Sun Management Center Agent
Start Default Platform Agent
Start Instance of Platform Agent
Select the components that you want to start and then click Next.
The Starting Components screen appears. The status of each component is listed.
The es-start command-line script enables you to start specific Sun Management Center components. The syntax of the es-start command is as follows:
es-start -achlAS [-y instance-name] [ -- args... ]The following table describes the es-start command parameters.
Table 8–1 es-start Options
Option |
Modifying Options |
Definition |
---|---|---|
-a |
|
Start the agent |
-c |
|
Start the console |
-c |
--- -XmxNNm |
Start the console with a heap size of NN Mbytes |
-c |
--- -p port-number |
Start the console and override the default port with port-number |
-h |
|
List the options for es-start |
-l |
|
Start the platform agent |
-y |
instance-name |
Start a new instance of the platform agent where instance-name is the name of the platform instance you provide |
-A |
|
Start all components except the console |
-S |
|
Start the server and all the server subcomponents |
-S |
--- -XmxNNm |
Start the server and all server subcomponents with a heap size of NN Mbytes
|
The following examples show how to use es-start and its parameters.
To start all Sun Management Center processes, type:
# /opt/SUNWsymon/sbin/es-start -A |
To start the console, the server, and the agent, type:
# /opt/SUNWsymon/sbin/es-start -Ac |
To specify the maximum console heap size when starting the console, use the es-start -c and -X parameters.
# /opt/SUNWsymon/sbin/es-start -c -- -Xmx100m |
To specify a specific port when starting the console, use the es-start -c and -p parameters.
# /opt/SUNWsymon/sbin/es-start -c -- -p 2090 |
To specify the maximum server heap size when starting the server, use the es-start -s and -X parameters.
# es-start -S -- -Xmx100m |