This chapter provides the following procedures for starting and stopping Sun Management Center.
The procedures in this chapter assume that you installed Sun Management Center in the default file system /opt. If you installed Sun Management Center in a different location, replace /opt with the name of the file system you chose in Step 8 in the procedure To Install Sun Management Center 3.5 on the Solaris Platform.
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 |
This section describes how to start the Sun Management Center console on the Solaris platform and on Microsoft Windows.
Log in as an authorized Sun Management Center user on the Solaris machine where you have installed the Sun Management Center console.
Go to the /opt/SUNWsymon/sbin directory.
Start the Sun Management Center console by typing:
# ./es-start - c &
The Sun Management Center Login screen appears.
Type your Sun Management Center user name in the Login ID field.
Type your Sun Management Center password in the Password field.
Type the name of the server where the Sun Management Center server layer is installed.
Click Login.
A connection is established to the Sun Management Center server, and your login is authenticated. The Sun Management Center Java console appears.
Access the Sun Management Center Login window.
Double-click the Sun Management Center shortcut icon or choose Start -> Programs -> Sun Management Center -> Console.
The Sun Management Center Login window appears. A command-prompt window also appears that displays the commands run by Sun Management Center.
Type your Sun Management Center user name in the Login ID field.
Type your Sun Management Center password in the Password field.
Type the name of the server where the Sun Management Center server layer is installed.
Click Login.
A connection is established to the Sun Management Center server, and your login is authenticated. The console appears.
This section describes how to stop Sun Management Center components using the graphical user interface or the command-line script.
The graphical user interface wizard enables you to stop specific Sun Management Center components as described in the following procedure.
Log in as root on the machine on which you want to stop Sun Management Center components.
Go to the /opt/SUNWsymon/sbin directory.
Run the stop wizard by typing:
# ./es-guistop
The Select Components to Stop screen appears.
Depending on the components installed on the machine, you might have one or more of the following options to select:
Stop Server Components
Stop Sun Management Center Agent
Stop Default Platform Agent
Stop Instance of Platform Agent
Select the components that you want to stop and then click Next.
The Stopping Components screen appears. The status of each component is listed.
The es-stop command-line script enables you to stop specific Sun Management Center components. The syntax of the es-stop command is as follows:
es-stop -ahlAS [-y instance-name]The following table describes the es-stop command parameters.
Table 8–2 es-stop Options
Option |
Modifying Options |
Definition |
---|---|---|
-a |
|
Stop the Sun Management Center agent |
-h |
|
List the options for es-stop |
-l |
|
Stop the platform agent |
-y |
instance-name |
Stop the platform agent instance named instance-name |
-A |
|
Stop all Sun Management Center components |
-S |
|
Stop all Sun Management Center components except for the Sun Management Center agent |
The following examples show how to use es-stop and its parameters..
To stop all Sun Management Center processes, type:
# /opt/SUNWsymon/sbin/es-stop -A |
To stop all Sun Management Center processes except the agent, type:
# /opt/SUNWsymon/sbin/es-stop -S |