Sun Management Center 4.0 Installation and Configuration Guide

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