This chapter describes how to start, stop, and use the Unicenter TNGTM processes, the TNG Worldview Application, the Sun Management Center Server, the EventAdaptor, and other Sun Management Center application tasks.
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.
Become superuser.
Change to the SunMC_base_directory.
# cd SunMC_base_directory/SunMC-TNG/sbin |
Type the following command.
# ./ea-stop |
When using the Sun Management Center Integration package, you can perform the following tasks:
Discover Sun Management agents
View the status of the Sun Management agents
View Sun Management Center-generated events
Start the Details application
You must discover the Sun Management Center agents when you begin the application tasks.
If Unicenter TNG is already monitoring the host, you must first delete the objects in the WorldView console and re-discover them.
Delete the objects of the Sun Management Center agents in the Unicenter TNG WorldView console.
Discover the network in the Unicenter TNG WorldView console.
Select the Unicenter TNG Tools icon.
Select the Discovery Wizard to discover the network.
If you encounter problems discovering the Sun Management Center agents, see Cannot Discover a Sun Management Center Agent in Unicenter TNG.
The Sun Management Center agents and their loaded modules are displayed in the Unicenter TNG WorldView console.
Select the DomainBrowser icon.
The contents of the DomainBrowser are displayed.
Select a node that is a Sun Management Center agent.
For more information on how to discover Sun Management Center agents, refer to the Unicenter TNG User's Guide.
Create a pollset.
A pollset needs to be created in the Unicenter environment for each port on which Sun Management Center could run. For more information on creating pollsets, see the Unicenter TNG User's Guide.
Create a file with the following content.
ADDOBJECT="SunMC001" PollSet BEGIN interval TNGWV_OT_INT 600 0 timeout TNGWV_OT_INT 10 0 retries TNGWV_OT_INT 2 0 port_number TNGWV_OT_INT 1161 0 getCommunityString TNGWV_OT_STRING "public" 0 setCommunityString TNGWV_OT_STRING "admin" 0 retriesInterval TNGWV_OT_INT 0 0 objectFilter TNGWV_OT_STRING "SunMC" 0 hostFilter TNGWV_OT_STRING "*" 0 END |
Through this file, a pollset with the name “SunMC001” and the port 1161 is created.
Run the trix command to load the pollset into Unicenter.
trix -r repository-name -u repository-user -p password -f \ path-to-the-pollset-file-created-in-step1 |
Example:
trix -r HRrepository -u user1 -p pass3 -f /pollset_1161.txt |
Discover the host.
Discover the host by using standard Unicenter TNG discovery mechanisms.
Reclassify the host.
Reclassify the host to the correct Sun host type, if necessary. Refer to the Unicenter TNG User's Guide for more information on how to perform the reclassify operation.
Once the reclassify operation has completed, the Sun Management Center agents that are running on that host are automatically discovered in Unicenter.
You can view and monitor the status of the Sun Management Center agents from within the Unicenter TNG WorldView console.
The alarm severity states/colors for Sun Management Center and Unicenter TNG differ from each other. Each alarm severity state in Sun Management Center has been mapped to the closest counterpart of that severity state in Unicenter TNG. The following table contains the mapping between alarm severity states/colors in Sun Management Center and Unicenter TNG:
Sun Management Center Alarm Severity States/Colors |
Unicenter TNG Alarm Severity States/Colors |
---|---|
Normal (Green) |
Normal (Green) |
Caution (Blue) |
Warning (Yellow) |
Alert (Yellow) |
Warning (Yellow) |
Down (Black) |
Critical (Red) |
Disabled (Grey) |
Critical (Red) |
Critical (Red) |
Critical (Red) |
In the Unicenter TNG WorldView console, select the DomainBrowser. This action expands and displays the contents of the DomainBrowser.
To view and monitor the status of the Sun Management Center agents, select the agent from the expanded list that is displayed in the Unicenter TNG WorldView console window.
The Unicenter TNG WorldView hierarchical tree, which can be viewed from the Unicenter TNG window, consists of the following levels:
Enterprise Management
Host names
Calendar, Event, and Station Management
Messages for each event
In the Unicenter TNG WorldView hierarchical tree, select and expand the Enterprise Managment icon.
The Enterprise Management contents are displayed.
Select the host that you wish to view.
Double-click the Console Logs icon.
All alarms from the Sun Management Center application are displayed in the Unicenter TNG Console Log window when you double-click on Console Logs icon.
To view or manipulate the attributes and properties associated with the hosts managed by Sun Management Center software, run a Unicenter TNG task to launch the console window that contains the host detail information. From this window you can view and manage the Sun Management Center categories.
Before you can run the Details application, you must install the package for launching Details locally on the machine from which the Unicenter TNG WorldView console is run. See To Install the HostDetails Component.
Select a node of the installed Sun Management Center agent in the Unicenter TNG WorldView console window.
Press mouse button 3.
In the Java Security window, click the Grant button.
The Sun Management Center Server Name panel is displayed.
Type the Sun Management Center server name or IP address for the server that is monitoring the node. Click OK.
A scaled-down version of the Sun Management Center login panel is displayed.
Type your login ID and password.
Click the Login button.
The details window is displayed.
For more information on the Details window, refer to the Sun Management Center Software User's Guide.