Sun Management Center 4.0 Installation and Configuration Guide

Chapter 8 Starting and Stopping Sun Management Center

This chapter provides the following procedures for starting and stopping Sun Management Center.

This chapter discusses the following topics:


Note –

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.


Commands Supported by the Linux Agent

The following commands are supported by the Linux agent:

Starting Components on the Solaris Platform

This section describes how to start Sun Management Center components using the graphical user interface and the command-line script.


Note –

On Solaris 10, if any service fails, Service Management Facility (SMF) will start that service. The only way to stop that service is to use the es-stop command.


Starting Components Using es-guistart

The graphical user interface wizard enables you to start specific Sun Management Center components as described by the following procedure.

ProcedureTo Start Sun Management Center Using es-guistart

  1. Log in as root on the machine on which you want to start Sun Management Center components.

  2. Change to the /opt/SUNWsymon/sbin directory.

  3. 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

  4. Select the components that you want to start and then click Next.

    The Starting Components screen appears. The status of each component is listed.

Starting Components Using es-start

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 -achlYAS [-y instance-name] [ -- args... ]

Note –

es-start starts the Sun Management Server service through SMF.


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 default heap size of 64 Mbytes

-c

-- -p port-number

Start the console and override the default port with port-number

-c -n

login-file

Start the console and use login-file to supply the user name, password, host, and port

-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

-Y

 

Start all instances of platform agents 

-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, arguments are passed to console or server when started 

 

The login-file is used with the-c and -n options to specify a text file to retrieve login information. It has the following format:


user=user
password=password
serverhost=local-host
serverport=port-namber

Note –

The user starting the console must be the same as the user name specified in the login-file.


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 automatically, using a file to specify the login information, create a login-file. Then type:


# /opt/SUNWsymon/sbin/es-start -c -n login-file

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

Starting the Console

This section describes how to start the Sun Management Center console on the Solaris platform and on Microsoft Windows.

Sun Management Center 4.0 authenticates users based on PAM.

ProcedureTo Start the Console on the Solaris Platform

The same procedure applies on the Linux Platform also.

  1. Log in as an authorized Sun Management Center user on the Solaris machine where you have installed the Sun Management Center console.

  2. Change to the /opt/SUNWsymon/sbin directory.

  3. Start the Sun Management Center console by typing:

    # ./es-start - c &

    The Sun Management Center Login screen appears.

  4. Type your Sun Management Center user name in the Login ID field.

  5. Type your Sun Management Center password in the Password field.

  6. Type the name of the server where the Sun Management Center server layer is installed.

  7. Click Login.

    A connection is established to the Sun Management Center server, and your login is authenticated. The Sun Management Center Java console appears.

ProcedureTo Start the Console on Microsoft Windows

  1. 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.

  2. Type your Sun Management Center user name in the Login ID field.

  3. Type your Sun Management Center password in the Password field.

  4. Type the name of the server where the Sun Management Center server layer is installed.

  5. Click Login.

    A connection is established to the Sun Management Center server, and your login is authenticated. The console appears.

Stopping Components on the Solaris Platform

This section describes how to stop Sun Management Center components using the graphical user interface or the command-line script.

Stopping Components Using es-guistop

The graphical user interface wizard enables you to stop specific Sun Management Center components as described in the following procedure.

ProcedureTo Stop Sun Management Center Components Using es-guistop

  1. Log in as root on the machine on which you want to stop Sun Management Center components.

  2. Change to the /opt/SUNWsymon/sbin directory.

  3. 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

  4. Select the components that you want to stop and then click Next.

    The Stopping Components screen appears. The status of each component is listed.

Stopping Components Using es-stop

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 -ahlYAS [-y instance-name]

Note –

On Solaris 10, es-stop stops the services managed by SMF.


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

-Y

 

Stop all instances of platform agents 

-A

 

Stop all Sun Management Center components except the console 

-S

 

Stop all Sun Management Center server and server subcomponents 

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