Sun Management Center 4.0 Installation and Configuration Guide

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