This section provides information about starting the Unicenter TNG processes and using the unifstat command. Detailed instructions for starting the Unicenter TNG WorldView application, the Sun Management Center Server, and the EventAdaptor are also provided.
Become superuser.
Start the Unicenter TNG processes.
# unistart all |
Use the unifstat command to verify whether the following processes have been started.
# unifstat # awservices status |
Service Control Manager – awservices
Distributed Services Bus – aws_orb
SNMP Gateway –aws_snmp
Trap MUX – aws_listen
Object Store – aws_store
Distributed State Machine – aws_dsm
WorldView Distributed State Machine Gateway – aws_wvgate
For more information about these processes and the unifstat command, refer to the Unicenter TNG User's Guide.
Before starting the Unicenter TNG WorldView Application, set up the web browser.
The JAVA_HOME environment variable must be set in the environment of the web browser from which Unicenter TNG WorldView is launched. JAVA_HOME must point to a complete installation of JDKTM 1.3.1 or above. This variable is used to launch the Sun Management Center HostDetails bean from the Unicenter TNG WorldView.
For specific instructions on how to set the JavaTM environment variables, see “Java Environment Variables and Path” in Sun Management Center 3.5 Installation and Configuration Guide.
In a web browser, type the web address for Unicenter TNG.
For example, type your own address as follows:
http://TNG_server_name:TNG_server_port/tng/
In the Unicenter TNG Web Page, select the Click Here to launch Unicenter TNG link.
The Unicenter TNG Explorer Logon dialog box is displayed.
Type your user name and password in the appropriate text fields. Click OK to continue.
After you log on to Unicenter TNG WorldView, the Unicenter TNG console window is displayed.
Become superuser.
Change directories to the SunMC_base_directory.
# cd SunMC_base_directory/sbin |
Type the following command:
# ./es-start -A |
The EventAdaptor is an adapter for agents that share the same Sun Management Center server context. If you want to translate the events of other agents, you must launch another adapter.
Complete the following steps:
Change directories to the SunMC_base_directory.
# cd SunMC_base_directory/SunMC-TNG/sbin |
Set the JAVA_HOME variable to a complete installation of JDK TM 1.3.1 or above.
For example:
# JAVA_HOME=/usr/java1.4 # export JAVA_HOME |
Type the following command:
./ea-start |
All the parameters are optional. If no parameters are specified, the parameters that have been stored in /var/opt/SUNWsymon/SunMC-TNG/SunMCToTngAdaptorMain.cfg will be used.
To change the parameters that are stored in this file, run the cfg_sunmctotng script. See To Install the EventAdaptor Component.
If you do provide parameters on the command line, those parameters will override the parameters in the property file.
The following is a checklist of parameters that are available for the ea-start program:
-h | -help: for help; display all the following messages
-ss HOSTNAME: for the Sun Management Center server name
-sp NUMBER: for the Sun Management Center server port; should be a valid port number
-ts HOST1,HOST2,...: for the Unicenter TNG server list; multiple servers should be separated by a comma; you must be using the same port if running multiple servers
-tp NUMBER: for the Unicenter TNG server port; should be a valid port number
-l FILEPATH: for the log file path; can be absolute or relative to current location
-i MODPOLLINT: for the synchronizer polling interval; should be a valid number of seconds
-u USERNAME: for the Sun Management Center user name
-f Property File: specify a property file yourself instead of by default
To use your own parameters, type the following command:
./ea-start parameters |
After starting the event adapter, the Sun Management Center EventAdaptor is displayed.
Type the following information:
Your Unicenter TNG user name and password
Your Sun Management Center server name
The Unicenter TNG server name
Choose the host name format.
This name should match the host name format you previously entered for the cfg_sunmctotng script. See To Install the EventAdaptor Component“ for more information.
Type the Sun Management Center server port number and, or the Unicenter TNG server DSM trap port number.
These parameters are optional.
Select the checkbox of the Alarm State to be ignored.
These parameters are optional.
Select the checkbox of the Unicenter TNG Alarm Severity to be ignored.
These parameters are optional. The alarm names map directly with the Sun Management Center alarm names. The following table describes each alarm.
Table 2–1 Sun Management Center Alarms
Alarm Name |
Description |
---|---|
Down |
A service-affecting condition has occurred and an immediate corrective action is required. For example, a module has gone down (exited). |
Critical |
A service-affecting condition has developed and an urgent corrective action is required. For example, an object needs to be restored to full capacity. |
Alert |
A non-service-affecting condition has developed and a corrective action should be taken to avoid a more serious fault. |
Caution |
A potential service-affecting fault has been detected, and action should be taken for further diagnosis to correct the problem, if necessary. |
Off |
A resource for a managed object. For example, a module has been disabled. |
Click the Launch button in the Sun Management Center EventAdaptor window to start the event adapter.