Copyright © 2006 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All rights reserved.
THIS SOFTWARE DESCRIBED IN THIS DOCUMENT CONTAINS CONFIDENTIAL INFORMATION AND TRADE SECRETS OF SUN MICROSYSTEMS, INC. USE, DISCLOSURE OR REPRODUCTION IS PROHIBITED WITHOUT THE PRIOR EXPRESS WRITTEN PERMISSION OF SUN MICROSYSTEMS, INC.U.S. Government Rights - Commercial software. Government users are subject to the Sun Microsystems, Inc. standard license agreement and applicable provisions of the FAR and its supplements.
Parts of the product may be derived from Berkeley BSD systems, licensed from the University of California. UNIX is a registered trademark in the U.S. and in other countries, exclusively licensed through X/Open Company, Ltd.
Sun, Sun Microsystems, the Sun logo, Java, Solaris, Sun Fire 15K, Sun Fire 12K and Sun Enterprise 10000 are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.
Copyright © 2006 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, Etats-Unis. Tous droits réservés.
CE LOGICIEL CONTIENT DES INFORMATIONS CONFIDENTIELLES ET DES SECRETS COMMERCIAUX DE SUN MICROSYSTEMS, INC. SON UTILISATION, SA DIVULGATION ET SA REPRODUCTION SONT INTERDITES SANS L AUTORISATION EXPRESSE, éCRITE ET PRéALABLE DE SUN MICROSYSTEMS, INC.Droits du gouvernement américain, utlisateurs gouvernmentaux - logiciel commercial. Les utilisateurs gouvernmentaux sont soumis au contrat de licence standard de Sun Microsystems, Inc., ainsi qu aux dispositions en vigueur de la FAR [ (Federal Acquisition Regulations) et des suppléments à celles-ci.
Des parties de ce produit pourront être dérivées des systèmes Berkeley BSD licenciés par l'Université de Californie. UNIX est une marque déposée aux Etats-Unis et dans d'autres pays et licenciée exclusivement par X/Open Company, Ltd.
Sun, Sun Microsystems, le logo Sun, Java, Solaris, Sun Fire 15K, Sun Fire 12K et Sun Enterprise 10000 sont des marques de fabrique ou des marques déposées de Sun Microsystems, Inc. aux Etats-Unis et dans d'autres pays.
LA DOCUMENTATION EST FOURNIE "EN L'ÉTAT" ET TOUTES AUTRES CONDITIONS, DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT FORMELLEMENT EXCLUES, DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRIS NOTAMMENT TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A L'APTITUDE A UNE UTILISATION PARTICULIERE OU A L'ABSENCE DE CONTREFAÇON.
How This Book is Organized Preface-1
Accessing Sun Documentation Online Preface-2
Accessible Sun Configuration and Service Tracker Documentation Preface-2
Sun Configuration and Service Tracker Features 1-3
Tracking and Recording Events 1-3
Collecting Hardware FRU Information 1-5
Viewing Events and Configuration Information 1-5
Benefits of Sun Configuration and Service Tracker for System Administration 1-5
Sun Configuration and Service Tracker Architecture 1-6
Sun Configuration and Service Tracker Server 1-8
Sun Configuration and Service Tracker Agent 1-8
.Sun Configuration and Service Tracker Repository 1-9
Sun Configuration and Service Tracker UI Console 1-11
Application Tracking Modules 1-12
Sun Configuration and Service Tracker on Multi-Domain Systems 1-13
Sun Configuration and Service Tracker on Sun Enterprise 10000 1-13
Sun Configuration and Service Tracker on Sun Fire Platforms 1-14
Sun Fire 3800, 4800, 4810, 6800 1-14
Sun Configuration and Service Tracker on Clusters 1-15
Cluster Platform Hierarchy 1-17
Sun Configuration and Service Tracker on Volume Manager Systems 1-18
Tracking Sun JavaTM System Software Applications 1-20
Installation Package Disk Space Requirements 2-2
Sun Configuration and Service Tracker Server Installation 2-4
Sun Configuration and Service Tracker Server Requirements 2-4
Preparation for Sun Configuration and Service Tracker Server Installation 2-5
First Time Installation of Sun Configuration and Service Tracker Server 2-6
To Initially Install the Sun Configuration and Service Tracker Server 2-7
Upgrade of Sun Configuration and Service Tracker Server 2-11
To upgrade a Sun Configuration and Service Tracker server 2-11
Sun Configuration and Service Tracker Agent Installation 2-14
Initial Installation of the Sun Configuration and Service Tracker Agent 2-14
To Install the Sun Configuration and Service Tracker Agent 2-15
Upgrade of the Sun Configuration and Service Tracker Agent 2-18
To Upgrade the Sun Configuration and Service Tracker Agent 2-18
Reinstallation of the Sun Configuration and Service Tracker Agent After OS Upgrade 2-20
To Install Sun Configuration and Service Tracker Agent Component on a Multi-domain Server 2-21
To Install the Sun Configuration and Service Tracker Agent on a Multi-domain Server 2-21
Installation of Sun Configuration and Service Tracker on a SunTM Cluster 2-22
Sun Configuration and Service Tracker Agent Attachment 2-22
Attach an Agent to the Sun Configuration and Service Tracker Server 2-22
To attach the agent to the Sun Configuration and Service Tracker server 2-23
To Attach a Multi-domain Agent to Sun Configuration and Service Tracker Server 2-23
cstattach on Sun Fire? 15K System Controller 2-24
To attach global platform data 2-25
cstattach on an E10K System Service Processor (SSP) 2-25
To attach the global platform data 2-26
Agent Installation Verification 2-26
Unattached Agent Verification 2-27
To Verify an Unattached Agent 2-27
Attached Agent Verification 2-27
To Verify an Attached Agent 2-27
Decommissioning Sun Configuration and Service Tracker 2-28
Sun Configuration and Service Tracker Software Uninstall 2-28
To Uninstall Sun Configuration and Service Tracker Software 2-28
Starting the Sun Configuration and Service Tracker UI Console 3-2
To Start the Sun Configuration and Service Tracker UI Console 3-2
Global Cause Code Assignment 3-15
To Globally Assign a Cause Code 3-15
Record Custom Information 3-22
To Record Custom Information 3-23
Enterprise Hierarchy Section 3-24
Sun Configuration and Service Tracker History Tab 3-24
To Assign an Event Cause Code 3-27
To Add Comments to an Event 3-29
To Create a Service Event 3-29
To Look Up Configuration Changes 3-30
To View Application Information 3-35
To Add a New Email to Event-list Mapping 3-43
To Delete an Email from Event-list Mapping 3-44
To Modify an Email-to-Event-list Mapping 3-44
To Specify a History Report 3-47
To Specify a Configuration Report 3-49
Sun Configuration and Service Tracker Access Control List (ACL) 4-2
To Create a cstadm or cstops Group 4-2
To Add a User to a cstadm or cstops Group 4-3
Sun Configuration and Service Tracker Access Levels 4-4
Registration Prerequisites 4-6
To Obtain a Registration Key 4-8
To Set Network Transport Between Agent and Server 4-9
To Override the Random Port Assignment 4-10
To Force the Sun Configuration and Service Tracker Agent to Use TCP 4-10
To Set Network Transport Between Server and Client 4-11
Tuning Sun Configuration and Service Tracker Trigger Intervals 4-11
Tune Sun Configuration and Service Tracker Event Detectors 4-12
Sun Configuration and Service Tracker Detach 4-14
To Detach Sun Configuration and Service Tracker from Middleware Server 4-14
Sun Configuration and Service Tracker Tracking During OS Upgrades 4-15
To Restore A Copy of Sun Configuration and Service Tracker 4-15
Move Agent Data to a Different Hierarchy 4-16
EVENT_TYPE (Default is "any") 5-13
Supported Sun Configuration and Service Tracker Releases 5-21
Set Cause Code Procedure (Usage 1) 5-24
Set Cause Code Procedure (Usage 2) 5-24
Supported Sun Fire Platforms 5-29
Error, cannot set up TCP connection 6-2
Wrong Component (Agent vs Server) Selected During Install 6-2
Sun Configuration and Service Tracker Package Install Fails - Repository is a Sub-folder in /var/opt/SUNWcst 6-3
Error in Compiling Statistics 6-3
Site Registration Fails With Customer ID and Key 6-3
Cannot View FRUI Data on SF15K SC 6-4
Missing FRU Data for Mid-frame Sun Fire System Controllers 6-4
Sun Configuration and Service Tracker Platform Data Missing on Sun Fire 15K Main SC 6-5
1st release: Sun Configuration and Service Tracker 3.5.2 revised for 3.5.1, 3.5.2 & Sun Control Station |
||
GA release: Sun Configuration and Service Tracker 3.6.0 released. |
||
This installation and operations guide describes the purpose, installation, features, functionality, and utilities of the Sun Configuration and Service Tracker software application, version 3.6.0
This book contains the following information:
See Product Description- provides an overall description of Sun Configuration and Service Tracker
See Installing Sun Configuration and Service Tracker- describes how to install and upgrade Sun Configuration and Service Tracker
See Sun Configuration and Service Tracker Features and Functions - describes the functions included in the Sun Configuration and Service Tracker application and the console GUI features
See Sun Configuration and Service Tracker Administration - describes the functionality included in Sun Configuration and Service Tracker for the system administrator, including creating users, groups, network transport, and more
See Sun Configuration and Service Tracker Utilities - describes the included utilities and their purposes
See Troubleshooting Sun Configuration and Service Tracker - provides troubleshooting suggestions
See Sun Configuration and Service Tracker Interface Reference - contains terms and button names found in the GUI
This document does not contain information on basic UNIX® commands and procedures such as shutting down the system, booting the system, and configuring devices.
See one or more of the following for this information:
AnswerBook2? online documentation for the Solaris? Operating Environment (Solaris)
Other software documentation that you received with your Sun Microsystems (Sun) system
View a broad selection of documentation for Sun systems at this location on the Web:
http://www.sun.com/products-n-solutions/hardware/docs
Access a complete set of Solaris documentation and many other titles at this Website:
An accessible HTML version of this document is available at this Website:
Click the help button in the Sun Configuration and Service Tracker user interface to view this document online.
Sun is interested in improving its documentation and welcomes your comments and suggestions. You can submit your comments by going to:
http://www.sun.com/hwdocs/feedback
Please include the title and part number of your document with your feedback:
Sun Configuration and Service Tracker 3.6.0 Customer Installation and Operations Guide , part number 819-6838-10
This chapter provides an overview of the Sun Configuration and Service Tracker software for version Sun Configuration and Service Tracker 3.6.0. It includes the following sections:
See Sun Configuration and Service Tracker Features
See Benefits of Sun Configuration and Service Tracker for System Administration
See Sun Configuration and Service Tracker Architecture
See Sun Configuration and Service Tracker on Multi-Domain Systems
See Sun Configuration and Service Tracker on Clusters
See Sun Configuration and Service Tracker on Volume Manager Systems
See Tracking Sun JavaTM System Software Applications
Sun Configuration and Service Tracker 3.6.0 is now released as a stand-alone product so that customers can benefit from its usage without having to depend upon additional Sun software products. The Sun Configuration and Service Tracker Server and Agent are both available in stand-alone form on the Sun website.
Sun Configuration and Service Tracker plays an important role in the overall strategy of proactive system management at a customer site. The software executing on each monitored host provides a macroscopic view of system configuration changes caused by failures, upgrades, and/or service activities over an extended period.
Sun Configuration and Service Tracker 3.6.0 includes a configuration for sending data automatically back to Sun Microsystems. The data is used by Sun to track system availability and performance and to continually improve Sun products and services. Availability Management System (AMS) is a secure database where the captured availability data is stored in Sun Microsystems.
Key capabilities of Sun Configuration and Service Tracker:
Detects and notifies system configuration changes, including hardware, software, patch and system parameter changes
Detects, time stamps, and records system events such as shutdown, reboot, panic, software and hardware changes, and multi-user availability
Event measurement precision can help achieve five nines/six sigma level metrics
Stores data in formatted text repository for easy export
Automates secure data feed into Sun's Availability Management System (AMS)
Offers menu-driven uptime statistics generation
Maintains automated backup of data
Uses a three-tier architecture
Runs with a small footprint, low-system impact execution, and small disk space requirement
The Sun Configuration and Service Tracker application tracks and records event and configuration data to be viewed and reported through the Sun Configuration and Service Tracker user interface (UI).
Sun Configuration and Service Tracker automatically detects the following events for the system on which it runs:
Software packages--installation and removal
Software patches--addition and removal
Dynamic attachment and detachment of system hardware
Sun Configuration and Service Tracker package upgrade and removal
Changes to user-entered custom information
Environmental changes detected through system interfaces
On Sun multi-domain systems, Sun Configuration and Service Tracker also detects the following events:
System configuration changes across domains
Domain additions and deletions
Hardware changes across domains
When an event is detected, Sun Configuration and Service Tracker captures a snapshot of the current system configuration information and categorizes it into the following categories:
System information--includes the system model, host ID, host name, serial number, IP address, OS installed, number of CPUs, total memory, and number of disks
Installed hardware--system hardware and peripheral devices (excluding external network and communication devices)
Software packages--Sun and third-party packages (only those that are installed as software packages by the pkgadd command)
Pertinent information about the Solaris? Operating System
Sun Configuration and Service Tracker determines and records the changes in the configuration of the system by comparing the new snapshot with the previous snapshot.
The Sun Configuration and Service Tracker development team has tracked the general use of the Sun Configuration and Service Tracker tool in almost 25,000 systems for more than 5 years, and the best case scenario usage reaches a maximum of 10,000 events per year. The average is around 4,000 to 5,000 events.
With 10,000 events per year, it will take 10 years for a history file to reach 100,00, or 20 years for a history file that has an average of 5,000 events per year. Sun Configuration and Service Tracker recommends that customers use the Sun Configuration and Service Tracker provided utility, cst_archive.
In UltraSPARC® III platforms, Sun Configuration and Service Tracker collects more detailed hardware information about the Field Replaceable Units (FRUs) in the system. This hardware information is in addition to the data collected by the hardware probe common to all Sun systems. The additional FRU data is viewable as a sub-category in the Installed Hardware section of the Configurations folder. This is considered part of Hardware Information and changes in the FRUs do not generate separate events.
For the Sun Fire 3800, 4800, 4810, and 6800 systems, Sun Configuration and Service Tracker collects FRU information remotely from the Sun Configuration and Service Tracker middleware server host.
Data in the Sun Configuration and Service Tracker server is accessed and viewed from the Sun Configuration and Service Tracker user interface. From the UI, a system administrator can view the configuration report and configuration change log for any host system on the network where the host is running Sun Configuration and Service Tracker.
The Sun Configuration and Service Tracker UI is also used interactively to enter service comments and cause codes for each event.
Sun Configuration and Service Tracker provides a number of benefits for system administration including:
Comprehensive listing of the current configuration of the system
Time stamps of the last reboot and the frequency of system reboots
Accurate log of when a device was removed or added to the system
Statistical report of the system uptime for specific periods
Ability to annotate comments of each event for future reference
Ability to log service events for future reference
Quick overview of the state of the Sun systems in the hierarchy
Ability to track events by the reasons for their occurrence
Increased system availability through pro-active configuration management
Sun Configuration and Service Tracker 3.6.0 has the following components:
Sun Configuration and Service Tracker Server
Sun Configuration and Service Tracker server runs on the designated server system. The server receives data from all the reporting agents and stores it in the repository. The terms Sun Configuration and Service Tracker server and Sun Configuration and Service Tracker middleware mean the same thing, and they are used interchangeably in this document.
Sun Configuration and Service Tracker Agent
Sun Configuration and Service Tracker agent is the Sun Configuration and Service Tracker daemon running on the system tracked by the Sun Configuration and Service Tracker agent (aka host), and it reports all collected information when attached to a Sun Configuration and Service Tracker server.
Sun Configuration and Service Tracker Repository
The information from the agents is stored in the Sun Configuration and Service Tracker repository. This is stored as a fixed format (ASCII) file in a file system on the Sun Configuration and Service Tracker server.
Sun Configuration and Service Tracker UI and Console
The Sun Configuration and Service Tracker console is a Java-based user interface that can invoked from any Internet browser.
The functionality of the user interface is similar to the Sun Configuration and Service Tracker applet in previous releases of Sun Configuration and Service Tracker. The user interface allows a user to view and manage the Sun Configuration and Service Tracker collected events.
The application tracking modules are shared object call-back routines invoked by the Sun Configuration and Service Tracker agent to track the UP/DOWN of applications. There is one tracking module for each application.
The Sun Configuration and Service Tracker server is a multi-threaded daemon running on the designated server system. It manages agent data reported by the various "attached" Sun Configuration and Service Tracker agents and communicates with the UI to display the collected data.
The server maintains all the agent data in a system. This data is maintained in unique folders within the file system for easy lookup and maintenance.
The Sun Configuration and Service Tracker server communicates to the Sun Configuration and Service Tracker console.
The Sun Configuration and Service Tracker server has the agent functionality built-in, which collects and tracks the configuration changes occurring on the system. Therefore, installing the Sun Configuration and Service Tracker agent on the Sun Configuration and Service Tracker server system is not required; however, the agent can be installed on a non-Sun Configuration and Service Tracker server host.
When registered, the Sun Configuration and Service Tracker server also sends the complete agent information back to Sun either via the SRS Net Connect 3.2 secure pipe or via secure email if SRS Net Connect 3.2 is unavailable.
Sun Configuration and Service Tracker Agent is a daemon that runs on each of the systems being tracked. The daemon detects whenever a change occurs and creates an event according to the change.
Sun Configuration and Service Tracker Agent can be attached or unattached. An unattached agent is a self-monitoring unit that collects data but does not report the data to any Sun Configuration and Service Tracker server. The user interface is not available for unattached agents.
When either the cstattach or cstattagt Sun Configuration and Service Tracker utility is used to make the connection, the Sun Configuration and Service Tracker agent starts reporting to a Sun Configuration and Service Tracker server, and the Sun Configuration and Service Tracker GUI is updated with the agent information. From that point forward, the agent data can be viewed using the GUI. For details on the utilities, see See cstattach and See cstattagt.
When the Sun Configuration and Service Tracker agent is not attached, the following information is available:
Event information and configuration changes in the History file:
/var/opt/SUNWcst/probe.current
Notification to the email aliases specified in the Preferences file
All information collected by the daemon is also sent to the Sun Configuration and Service Tracker server on the middleware system for automatic backup. If the server system or its software cannot be reached, the data is backed up and transmitted again when the connection is reestablished.
If the Sun Configuration and Service Tracker agent is attached to a Sun Configuration and Service Tracker server, all the information collected by the daemon is also sent to the Sun Configuration and Service Tracker server on the middleware system for automatic backup. If the server system or its software cannot be reached, the data is backed up and transmitted when the connection is reestablished.
The Sun Configuration and Service Tracker "heartbeat" process ensures that a Sun Configuration and Service Tracker daemon is running and ready to collect data at all times
The repository resides in the server system. It holds the data Sun Configuration and Service Tracker collects from the tracked systems. The Sun Configuration and Service Tracker data is kept in a hierarchical directory structure, where each directory represents a specific system. The key data files in each directory are outlined in See Sun Configuration and Service Tracker Repository Data Files.
The directories in the repository are created automatically by the server based on the hierarchy information provided during the install of the Sun Configuration and Service Tracker agent, or at the time the agent is attached.
Sun Configuration and Service Tracker UI can be invoked from anywhere using a web browser. To open a Sun Configuration and Service Tracker UI console, type in the following URL:
http://<server-host>/cstj2.html
The Sun Configuration and Service Tracker console is a Java-based graphical user interface, which shows all the monitored agent hosts in a hierarchical order. All the attached agent hosts can be accessed by selecting the agent name in the Enterprise View.
The GUI is invoked on the default port 8080 using Apache web server. If some other application or web server is already using this port, a different port should be used to invoke Sun Configuration and Service Tracker GUI. The new port number can be chosen by the user and should be updated in the httpd.conf file for Apache web server.
In such case, the GUI should be invoked in the below shown manner:
http://<server-host>:<new-port>/cst.html
http://<server-host>:<new-port>/cstj2.html
For more information on how to change the Apache port number please refer to the Apache web server documentation.
Sun Configuration and Service Tracker 3.6.0 has built-in support to track the availability of all the Sun Java System software applications that are part of Sun Java? System. The tracking is achieved through callback routines invoked by the Sun Configuration and Service Tracker agent at pre-specified intervals.
The tracking modules are shipped bundled as part of the Sun Configuration and Service Tracker agent package and are automatically invoked when the Sun Configuration and Service Tracker agent is installed. They have the capability to detect the presence and the UP/DOWN status of the applications they are designed to track. The events are registered through a Sun Configuration and Service Tracker interface called cstappev for logging and forwarding.
Sun Configuration and Service Tracker 3.6.0 supports all current Sun 4d- and 4u-based server platforms, Sun4u desktops, including the Sun Enterprise? 10000, and Sun Fire? platforms, both mid-range and high-end models. Sun Configuration and Service Tracker 3.6.0 software supports Sun Cluster 3.0 and 3.1 environments.
Sun Configuration and Service Tracker 3.6.0 runs in Solaris 2.6, 7, 8, 9, and 10 operating systems.
Sun Configuration and Service Tracker 3.6.0 does not support Solaris versions 2.4 and 2.5.1. Sun Configuration and Service Tracker versions 1.5.1 and 2.1U1 - both AMS and non-AMS releases, run on Solaris 2.5.1 and can report into a Sun Configuration and Service Tracker 3.6.0 server.
To view Sun Configuration and Service Tracker data through an applet requires a browser, such as Netscape, that supports JDK 1.2 or later.
Sun Configuration and Service Tracker 3.6.0 can be installed on and can track events on all Solaris/Sparc platforms, including Sparc III versions. The following sections describe Sun Configuration and Service Tracker support for the multi-domain Sun platforms.
Since Sun Enterprise 10000? servers can have multiple domains and a System Service Processor (SSP) to manage the platform, multiple copies of Sun Configuration and Service Tracker must be run on this platform. One instance is installed and run on each of the domains. Also, a separate Sun Configuration and Service Tracker agent must be installed on the SSP.
Sun Configuration and Service Tracker on the SSP tracks the following events:
Hardware changes across domains
Sun Configuration and Service Tracker on the domain tracks the following events on that domain:
Sun Configuration and Service Tracker 3.6.0 is designed to support all Sun Fire? platforms:
Sun Configuration and Service Tracker can track platform information from the system controllers on a Sun Enterprise 15K system, also known as a Sun Fire 15K and 12K.
The Sun Configuration and Service Tracker agent must be installed on the system controllers, and it must run on each of the domains. If the system has a spare system controller, the Sun Configuration and Service Tracker agent must also be installed on the spare system controller.
Sun Configuration and Service Tracker 3.6.0 supports creation of service events and annotation of event comments for system controllers and domains, but it does not support creation of service events or updates at the platform level.
The Sun Configuration and Service Tracker 3.6.0 application on the system controllers tracks the following events:
Sun Configuration and Service Tracker can track platform information for all Sun Fire systems.
To facilitate manual configuration described in the preceding note, use the Sun Configuration and Service Tracker utility, addsunfire . This utility helps configure the remote monitoring agent. For details on this utility, see See addsunfire.
The Sun Configuration and Service Tracker agent is run on the Sun Fire midrange domains just as it is on other server systems.
When installed on Sun? Cluster 3.0 or Sun? Cluster 3.1 Cluster nodes, Sun Configuration and Service Tracker 3.6.0 tracks and provides a continuos record of the cluster membership and configuration changes. The data is stored in the repository as a formatted file and is available for viewing from the Sun Configuration and Service Tracker console. The information is viewable through a tabbed panel in the Configurations section of the Sun Configuration and Service Tracker UI.
The information is further sub-categorized into the following:
Sun Configuration and Service Tracker also detects various cluster failover events and records them in the Sun Configuration and Service Tracker history file. The events are annotated with additional relevant details such as cluster ID, affected resource group/node, failover status. These are available for viewing through the events table and the events comments section in the CST History folder.
The tracked cluster events are listed in See Sun Cluster Events Tracked.
The CLUSTER_PLATFORM hierarchy is created on the server, and it is viewable from the Sun Configuration and Service Tracker UI. This feature enables users to view the following lists:
The list of all clusters in the enterprise
Each cluster has a hierarchy inside CLUSTER_PLATFORM. The Sun Configuration and Service Tracker cluster ID hierarchy is created for each cluster, and the hierarchy name is in the following format:
<CLUSTER_NAME>,<CLUSTER_ID>,<CLUSTER_VERSION>
The list of nodes inside each Sun Configuration and Service Tracker Cluster ID hierarchy
A soft link for each node is created under the hierarchy for easy viewing of the cluster member. Clicking the node name displays generic cluster-node information.
The Sun Configuration and Service Tracker Cluster ID hierarchy is a link to the following information:
Global view of events received from all cluster members where duplicated events across the nodes are filtered
The "Last configuration snapshot" in the Configuration Cluster folder to indicate the most recent view of the cluster
Volume Manager is viewable on a tabbed pane in the Configurations section of the Sun Configuration and Service Tracker UI.
The information is further sub-categorized into the following groups:
Sun Configuration and Service Tracker tracks the standard events as listed in See Tracking and Recording Events.
When installed on systems running one or more software applications of the Sun Java System, Sun Configuration and Service Tracker 3.6.0 has the built-in capability to track the availability and configuration changes of these applications. This tracking is achieved through custom tracking modules that are bundled with the Sun Configuration and Service Tracker 3.6.0 agent package.
See Sun Java System Software* Applications Tracked lists the Sun Java System software applications that are tracked:
*These applications were formerly known as Sun ONE applications.
There is a one-to-one mapping between the application and the tracking module. The tracking module has the capability to track multiple instances of the application running on the monitored host.
Each application and its specific instance are assigned a specific ID by the tracking module. The format for the ID is as follows:
<App Class>,<App Name>,<App Version>,<App Instance>
Sun Java System,Application Server, 7, domain1_admin-server
The tracking modules are loaded when the Sun Configuration and Service Tracker application is invoked on a monitored system. Subsequently, the tracking modules detect the presence of the application to be tracked, and determine the configuration and the instances in effect if found. The application and its instances are registered as "<Application> Registered" events through the cstappev interface. The modules then track the application on a continual basis, and register Application UP/DOWN events as well as events to notify configuration and usage snapshots.
All tracked information is stored both locally on the agent and on the central server to which the agent is attached. The collected data is available for viewing through the Sun Configuration and Service Tracker applet under the Applications tab. For more details, see See Applications Tab.See Applications Tab
If there are applications on the system that are started or stopped through UNIX shell, awk, or perl scripts; the configuration changes, and start and stop activity on those applications can be monitored through Sun Configuration and Service Tracker. To manually register a custom event related to those applications, include the following line at the end of the application Start/Stop script:
/opt/SUNWcst/bin/app_event "event type" "comment"
The app_event relays the event only. It does not validate whether the application successfully started or stopped.
For example, the following line adds the machine password change as a Sun Configuration and Service Tracker event to the CST History log:
/opt/SUNWcst/bin/app_event "password changed" "By machine owner"
Each time this line of code is included, Sun Configuration and Service Tracker registers the event in the CST History section of the Sun Configuration and Service Tracker UI. For more information, see See Sun Configuration and Service Tracker History Tab.
To track such password changes automatically, add the following script to your crontab file, and run it at a convenient time and frequency, for example, every hour or every day.
When the Data Feed to Sun is enabled, Sun Configuration and Service Tracker sends all tracked data to Sun in XML format through the secure SRS Net Connect 3.2 proxy.
SRS Net Connect 3.2 is a self-managed system monitoring, configuration, patch and trend reporting tool. It is designed to enable Sun customers to monitor their Sun systems, and identify events before they can escalate into downtime. This tool is activated and used via the Web where customers view system status and configurations, trend and patch information, and alarms. Alarms can also be sent to the customer by email and pager.
The goal of SRS Net Connect 3.2 is to empower customers to proactively and preemptively manage their Sun server and storage systems in order to maximize system availability.
To send the data by SRS Net Connect 3.2 proxy, SRS Net Connect 3.2 must be installed on the Sun Configuration and Service Tracker server. If SRS Net Connect 3.2 is installed on the Sun Configuration and Service Tracker server when the Sun Configuration and Service Tracker server is already running, the Sun Configuration and Service Tracker server must be stopped with the following command. Type:
# /opt/SUNWcstu/sbin/cstadm stop
After installing SRS Net Connect 3.2, restart the Sun Configuration and Service Tracker server using the following command:
#/opt/SUNWcstu/sbin/cstadm start
To send the data by secure email, the Sun Configuration and Service Tracker server must have sendmail installed.
The data is sent asynchronously--sent when a monitored host reports one or more of the following events:
A cause code assigned to an event
A comment provided for an event
Changes made to system-specific custom information
The data content is usually less than 1KB in size except when large configuration changes are involved.
Periodically, Sun Configuration and Service Tracker sends summary information about the installed site to Sun. The summary data is used to checkpoint system status to provide accurate availability reporting.
If the continuous Data Feed to Sun is not enabled, a skeleton summary of the install base is still sent to a secure site within Sun once a week. This summary information is used to help generate statistics on Sun Configuration and Service Tracker deployment. For more details or to turn this ability on or off, contact your Sun representative.
This chapter provides information on the following topics:
See Sun Configuration and Service Tracker Server Installation
See Sun Configuration and Service Tracker Agent Installation
See Sun Configuration and Service Tracker Agent Attachment
See Agent Installation Verification
See Decommissioning Sun Configuration and Service Tracker
See Sun Configuration and Service Tracker Software Uninstall
Sun Configuration and Service Tracker 3.6.0 software has two components:
Sun Configuration and Service Tracker 3.6.0 has the SUNWcstv package, which is the server component. The server component can be downloaded from the Sun web site, and it should be installed on the server (middleware) machine.
Install the Sun Configuration and Service Tracker 3.6.0 server packages on the selected server, and install the agent packages on each agent machine. The space requirements are described in See Installation Package Disk Space Requirements:
New install
An installation of Sun Configuration and Service Tracker on a Sun machine for the first time. Once any version of Sun Configuration and Service Tracker has been installed, installing another version is an upgrade and is not considered a new install.
Upgrade install
A version of Sun Configuration and Service Tracker has been installed, and can be upgraded to Sun Configuration and Service Tracker 3.6.0. Sun Configuration and Service Tracker 3.6.0 supports upgrading from the following Sun Configuration and Service Tracker versions:
Sun Configuration and Service Tracker 1.5.1
Sun Configuration and Service Tracker 1.5.1_AMS
Sun Configuration and Service Tracker 2.1U1
Sun Configuration and Service Tracker2.1U1_AMS
Sun Configuration and Service Tracker1.5
Sun Configuration and Service Tracker1.5_AMS
Sun Configuration and Service Tracker2.1
Sun Configuration and Service Tracker2.1_AMS
Sun Configuration and Service Tracker 3.0
Sun Configuration and Service Tracker 3.5
Sun Configuration and Service Tracker 3.5.1
Sun Configuration and Service Tracker 3.5.2
Sun Configuration and Service Tracker 3.6.0 does not support an upgrade from Sun Configuration and Service Tracker 1.0.1 or Sun Configuration and Service Tracker 1.1.3_AMS.
Reinstall after an Operating System upgrade
Sun Configuration and Service Tracker was previously installed on the machine, and all the data was removed from disk after an OS upgrade. You can reinstall Sun Configuration and Service Tracker so that it can detect an OS upgrade and restore all the original Sun Configuration and Service Tracker data back to the system.
Server install
Installation of the server component on a machine, which will serve as the Sun Configuration and Service Tracker middleware (server).
Agent install
Installation of the agent component on each host that is to be tracked for any configuration changes.
This section contains the following topics:
See Sun Configuration and Service Tracker Server Requirements
See Preparation for Sun Configuration and Service Tracker Server Installation
See First Time Installation of Sun Configuration and Service Tracker Server
See Upgrade of Sun Configuration and Service Tracker Server
Before the Sun Configuration and Service Tracker Server installation, the server must meet the following requirements:
The server machine needs a central repository, which is a UFS (UNIX) file system, reserved to hold configuration and change history data for all other Sun Configuration and Service Tracker monitored nodes. The location of the repository should be provided at the time of installation.
The host that has been selected as the Sun Configuration and Service Tracker Server should have an Apache HTTP web server already installed.
This web server is required to view the GUI console. If it is not already installed, download and install it according to the Apache Installation manual.
The UFS file system allocation should be 200 MBytes per year.
The space required to hold data for one node for one year is approximately two megabyte (2.0 MByte). Thus, for Sun Configuration and Service Tracker to track 100 nodes, the UFS file system allocation is approximately 200 MBytes per year.
Either the SUNWfrusg package or the set of (optional) FRU ID packages must be installed on the Sun Configuration and Service Tracker middleware machine.
The installation of these packages enable Sun Configuration and Service Tracker to remotely track the FRU hardware information for SunFire system controllers. Contact your Sun representative for more details.
Since the FRU related libraries have a dependency on Solaris 8, or later, there is a constraint that a Sun Configuration and Service Tracker middleware machine should have Solaris 8, or later, installed. However, note that there is NO installation dependency between Sun Configuration and Service Tracker packages and the FRU related packages. The FRU packages can be installed at any time. Sun Configuration and Service Tracker starts using the libraries as soon as they are available.
Have the following information available before you start to install SUNWcstv on the Sun Configuration and Service Tracker server machine.
The path for the UFS file system served as Sun Configuration and Service Tracker repository database.
For more information, see See Sun Configuration and Service Tracker Server Requirements.
The path to the docs (or htdocs for Apache) directory of the http (Web) server.
This is the path where the index.html resides.
The transport layer protocol to use between the agent and the server.
You can use TCP or UDP; by default, Sun Configuration and Service Tracker uses RPC over UDP.
Proceed to one of the following sections:
If you are installing SUNWcstv on a middleware server for the first time, go to See First Time Installation of Sun Configuration and Service Tracker Server.
If you are upgrading SUNWcstv on a middleware server where the Sun Configuration and Service Tracker server is already installed, go to See Upgrade of Sun Configuration and Service Tracker Server.
The Sun Configuration and Service Tracker server software can be downloaded from the Sun website. It is available as a standalone package called SUNWcstv.
As you install the software, the following installation log is displayed.
Download the Sun Configuration and Service Tracker server software from the Sun website and begin installation. Complete the following steps as the questions are displayed on your screen.
Press <ENTER> to accept the default.
To indicate the Sun Configuration and Service Tracker Central Repository path, type: /export/cst
Press ENTER to accept the default.
To continue with the installation, type: y
The software installs the packages of the Configuration and Service Tracker as <SUNWcstv>.
As the installation continues, the software creates a cstadm user.
Check the above mentioned file, and if the cstadm entry is not present against cstadm user, then manually edit the /etc/group file and add the cstadm user to the cstadm group.
The following information is displayed as the installation process completes:
After the Sun Configuration and Service Tracker Server is installed, the Sun Configuration and Service Tracker daemon, cstd.svr, and csthb.svr should be up and running. This indicates that the Sun Configuration and Service Tracker server package is installed, has initiated configuration tracking on this system, and has the directory structure set up to hold data for other hosts that will use this server as the middleware.
Sun Configuration and Service Tracker 3.6.0 supports upgrades from all previously installed Sun Configuration and Service Tracker server versions. The upgrade is included in the SUNWcstv package itself, and much of the procedure is automated.
To remove the existing Sun Configuration and Service Tracker server packages, type the following program command that is appropriate for your system:
# pkgrm SUNWcstve
or
# pkgrm SUNWcstv
or
# pkgrm SUNWcstu
Install the Sun Configuration and Service Tracker Server package, which includes the Sun Configuration and Service Tracker upgrade.
The upgrade script does not ask any questions because the initial installation of Sun Configuration and Service Tracker has already saved data in the /var/opt/SUNWcst directory. The script automatically installs the server component in that directory.
As you install the software, the following installation log is displayed.
Press ENTER to accept the default.
To continue with the installation, type: y
The software installs the packages of the Sun Configuration and Service Tracker as <SUNWcstv>.
As the installation continues, the software creates a cstadm user.
Check the above mentioned file, and if the cstadm entry is not present against cstadm user, then manually edit the /etc/group file and add the cstadm user to the cstadm group:
The following information is displayed as the installation process completes.
The Sun Configuration and Service Tracker agent is the application that resides on each Sun machine to be monitored by Sun Configuration and Service Tracker. The Sun Configuration and Service Tracker agent can be downloaded as package SUNWcstu and installed on a Sun system.
This section contains the following topics:
See Initial Installation of the Sun Configuration and Service Tracker Agent
See Upgrade of the Sun Configuration and Service Tracker Agent
See Reinstallation of the Sun Configuration and Service Tracker Agent After OS Upgrade
See To Install Sun Configuration and Service Tracker Agent Component on a Multi-domain Server
See Installation of Sun Configuration and Service Tracker on a SunTM Cluster
As you install the software, the following agent installation log is displayed. The following steps provide the required information you need to complete each part of the installation.
Press Enter to accept the default to install all packages.
Press Enter to accept the default of no.
Press Enter to accept the default to start the Sun Configuration and Service Tracker daemons.
To continue installing the Sun Configuration and Service Tracker Agent, type: y
The software installs the packages of the Sun Configuration and Service Tracker as <SUNWcstu>.
As the installation finishes, you are directed to attach the Sun Configuration and Service Tracker Agent to the Sun Configuration and Service Tracker Server:
To attach the Sun Configuration and Service Tracker Agent to the Sun Configuration and Service Tracker Server, proceed to See Sun Configuration and Service Tracker Agent Attachment.
Sun Configuration and Service Tracker 3.6.0 supports upgrading the Sun Configuration and Service Tracker agent from all the previous Sun Configuration and Service Tracker versions except Sun Configuration and Service Tracker 1.0.1 and Sun Configuration and Service Tracker 1.1.3_AMS and for situations where the Sun Configuration and Service Tracker 3.6.0 agent is uninstalled and reinstalled.
Remove the existing Sun Configuration and Service Tracker agent package, SUNWcst or SUNWcstu ; run the pkgrm command for the file that is currently installed:
As you install the software, the following agent installation log is displayed. The following steps provide the required information you need to complete each part of the installation.
Press Enter to accept the default to install all packages.
To continue with the installation of <SUNWcstu>, type y
The software installs the packages of the Sun Configuration and Service Tracker Agent as <SUNWcstu>.
When the installation finishes, you are informed that the installation was successful:
To re-install an agent after an OS upgrade, please follow the instructions in section, See Initial Installation of the Sun Configuration and Service Tracker Agent.
Sun multi-domain servers include either a system service processor (SSP) or a system controller (SC). The installation of Sun Configuration and Service Tracker on a multi-domain server is the same on both types of platforms.
Sun Configuration and Service Tracker on the SSP or SC and Sun Configuration and Service Tracker on the domains collectively give the complete information regarding the multi-domain platform. It is required that you install Sun Configuration and Service Tracker first on the SSP or SC and then on the domains. Be aware that the Sun Configuration and Service Tracker agent installs in unattached mode by default, and the agent must be attached to a running Sun Configuration and Service Tracker middleware machine.
The Sun Configuration and Service Tracker attach functionality is designed to ensure a consistent hierarchical structure within the hierarchical view for the multi-domain server supported by its SSP or SC.
Install SUNWcstu on the SSP or SC.
It may take SUNWcstu up to 30 minutes to probe the SSP or SC configuration. During this time, the Sun Configuration and Service Tracker SC software automatically detects the platform, and SSP names and creates the appropriate hierarchy.
Install SUNWcstu on all the existing domains.
Whenever a new domain is added, install SUNWcstu on that domain.
Installing Sun Configuration and Service Tracker on a Sun Cluster is essentially the same as installing Sun Configuration and Service Tracker on its individual nodes. The installation on various nodes can be done in any sequence. No specific setup is required. Sun Configuration and Service Tracker 3.6.0 can track events from Sun Cluster 3.0 and Sun Cluster 3.1.
Proceed to See Sun Configuration and Service Tracker Server Installation.
The following topics are included in this section:
See Attach an Agent to the Sun Configuration and Service Tracker Server
See To Attach a Multi-domain Agent to Sun Configuration and Service Tracker Server
When an agent is installed but has not been previously attached to a middleware system, you must bind the Sun Configuration and Service Tracker agent to the Sun Configuration and Service Tracker middleware system by running either the cstattach utility or the cstattagt utility.
By attaching an agent to Sun Configuration and Service Tracker middleware system, you can do the following:
View the data of the attached agents collected in the repository of the Sun Configuration and Service Tracker server.
View the Sun Configuration and Service Tracker agent data through Sun Configuration and Service Tracker UI. The data includes system events, system configuration, and system availability data.
Annotate an outage event cause code using the GUI or command line interface.
Complete one of the following steps:
Execute the cstattach utility from the Sun Configuration and Service Tracker server.
Execute the cstattagt utility from the host where the agent is running.
Specify the protocol to be used between the agent and the server as input arguments to the attach utilities: TCP or UDP.
The usage format for cstattach is:
cstattach [-h hierarchy] [-m middleware] [-t transport] -a <agentname> -k <agentkey>
The cstattach utility must be run from the server.
The usage format for cstattagt is:
cstattagt [-h hierarchy] [-t transport] <middleware>
The cstattagt utility must be run from the agent.
These guidelines apply to the following Sun system platforms.
Sun Fire? 15K domains and system controller
Sun Enterprise 10000 (E10k) domains and SSP
Other multi-domain systems, including Sun Fire 3800, 4800, 4810, and 6800 domains and system controllers
It is recommended that the domains be grouped together using the following hierarchy guideline. The hierarchy can be specified using the
-h option when using the cstattach command.
[USER_DEFINED_HIERARCHY]/[PLATFORM_NAME]
USER_DEFINED_HIERARCHY is optional. When you use the hierarchy option, the Sun Fire system or E10K platform name should be added at the end of the hierarchy value.
Sun Configuration and Service Tracker provides support for the following tracking on an SSC:
SSC host tracking data (similar to domain systems).
The attach process can be accomplished using cstattach.
Global platform tracking data.
The attach process is a manual procedure and is optional.
To attach an SSC system, the hierarchy should be in the following format:
[USER_DEFINED_HIERARCHY]/[PLATFORM_NAME]/SSC
This differs from the domain in that SSC (the fixed acronym) is added at the end of the platform hierarchy command.
Change to the directory where platform data is stored; type:
Create a compressed (tar) file of the data stored in that directory; type:
This creates a file named ssc.tar .
Transfer the tar file to the Sun Configuration and Service Tracker middleware system and extract the content to the path; type the following command:
[repository_path]/[USER_DEFINED_HIERARCHY]/[PLATFORM_NAME]
Unlock the platform tracking functionality by writing a 0 to the file on the system controller; type: /var/opt/SUNWcst/ssc/comm_lock
Sun Configuration and Service Tracker provides support for the following tracking on an E10K SSP:
SSP host tracking data (similar to domain systems).
The attach process can be accomplished using the cstattach utility.
Global platform tracking data.
The attach process is a manual procedure and is optional.
To attach an SSP system, the hierarchy should be in the following format:
[USER_DEFINED_HIERARCHY]/[PLATFORM_NAME]/SSP
This differs from the domain in that SSP (the fixed acronym) is added at the end of the platform hierarchy command.
Change to the directory where platform data is stored; type:
Create a compressed (tar) file of the data stored in that directory; type:
This creates a file named ssp.tar .
Transfer the tar file to the Sun Configuration and Service Tracker middleware system and extract the content to the path; type:
[repository_path]/[USER_DEFINED_HIERARCHY]/[PLATFORM_NAME]
Unlock the platform tracking functionality by writing a 0 to the file on the E10K service system processor; type:
There are two scenarios when you verify installation:
If the cstd.agt and the csthb.agt processes are running the agent installation is complete. If not, there is something wrong with the agent installation. For more information, check the /var/opt/SUNWcst/cstlog directory.
When the tracking of events is to be stopped on a host, such that availability tracking and reporting for this host can be terminated on the Sun side, the cstdecomm utility must be executed.
Execution of this utility accomplishes the following:
Appends a marker event called "Tracking Ended" to the history file
Moves the data for this host to a separate DECOMMISSIONED_AGENTS directory
Detaches the host from the middleware
For more details on this utility, see See cstdecomm.
This section explains how to uninstall Sun Configuration and Service Tracker 3.6.0 software.
Check that the Sun Configuration and Service Tracker package exists; type:
As you uninstall the software, the following uninstall log is displayed. The following steps provide the required information you need to complete each part of the uninstall to remove the Sun Configuration and Service Tracker installation from your hosts.
To remove the package and uninstall Sun Configuration and Service Tracker software, type: y
To continue removing the package and all associated packages and scripts, type: y
A list of package dependencies and pathnames are listed during the uninstall. When the following information is displayed, the uninstall is complete.
If you want to remove the Sun Configuration and Service Tracker software footprint left on the machine (required if you want to perform a new install of Sun Configuration and Service Tracker), type:
This chapter describes the various features and functions of the Sun Configuration and Service Tracker console. It includes the following sections:
See Global Cause Code Assignment
See Enterprise Hierarchy Section
Sun Configuration and Service Tracker 3.6.0 is installed as a stand-alone application which uses the Sun Configuration and Service Tracker applet for the user interface. The Sun Configuration and Service Tracker 3.6.0 GUI Console supports the following browsers:
Netscape Navigator, version 4 or higher
Any compatible browser version that supports the Java2 plug-in.
Follow these steps to start the Sun Configuration and Service Tracker applet from your Internet browser.
Open your Internet web browser.
In the Address field of your browser, type the following URL:
http://<serverhost.domain>/cst.html
http://<serverhost.domain>/cstj2.html
A Sun Configuration and Service Tracker login window displays as shown in See CST Login.
To log in, complete the following steps:
Type your user name, password.
The Sun Configuration and Service Tracker applet's main window is displayed in the browser (see See Sun Configuration and Service Tracker Console ). The applet displays the hierarchy of the systems monitored on the left side and a history of events of the repository server with other details on the right side.
For further details and use of the applet, see See Console Views.
The console displays all categories of data collected by Sun Configuration and Service Tracker. You can view and annotate events, compare configurations, enter custom information, compute statistics and print reports. The Sun Configuration and Service Tracker Console includes the Hierarchy view, as described in the See Enterprise Hierarchy Section.
The console is divided into three sections; See Console Sections explains each section.
When a system is selected in the Enterprise Hierarchy section, all the sections in the Sun Configuration and Service Tracker console display information about the selected system. The only exception is the Global Cause code function, which is accessed by clicking the Cause Assign button in the System Summary section that displays the information about outage events for all systems tracked by this Sun Configuration and Service Tracker installation.
The System Summary section is located at the top of the Sun Configuration and Service Tracker console. It displays information about the selected system.
See System Summary section describes the elements included in the System Summary section, which is the top section of the window.
Button that updates the System View or Enterprise View information. The Enterprise View refreshes the entire set of data displayed in the Sun Configuration and Service Tracker UI, including the hierarchical information. The refresh can take a prolonged time depending on the size of the enterprise and on the status of the systems in the top level of the hierarchy. The System View refreshes the details of the system whose name is displayed in the Summary section below the Refresh button and which was selected in the Hierarchical section. Refreshing the Enterprise Hierarchical section reverts the display to the top level hierarchy only; the middleware system is selected and can be viewed in the System view. |
|
Button that displays information About Sun Configuration and Service Tracker, as well as details about installing and using Sun Configuration and Service Tracker. |
|
The login ID of the current user as entered in the Login dialog box for this session. The role of the user is displayed within brackets to the right of the user name. |
|
Button that displays the Site Info Dialog that enables you to enter Customer Contact, Sun Contact, and Site Registration information. For details, see See Site Information. |
|
Button that opens the Global Cause Code Update Dialog that enables you to view all system failure or panic events for all systems tracked by the installed middleware, and to assign an event cause code to each individual event or to multiple events For details, see See Global Cause Code Assignment. |
|
Button that opens the Custom Info Dialog where you can enter system management information. Five categories of detailed information can be entered: Business Location, Asset Information, Service Information, System & Usage Information, and User Defined. For details, see See Custom Info. |
|
The name as entered by the customer during Sun Configuration and Service Tracker installation of the selected system is the first system displayed in the list. If other systems have been added during the Sun Configuration and Service Tracker installation, they are available in the drop-down list. |
|
The status of the highlighted system as of the last refresh. The status is either Up or Down. |
|
The status of the Sun Configuration and Service Tracker application on the selected system as of the time the selection was made. The status is either Up or Down. |
The Site Info button (located in the upper left corner of the window) displays the Site Info Dialog. The system administrator should use this form to enter site information that is pertinent to the entire site supported by this middleware.
The Site Info Dialog includes three tabs:
Enables you to provide company and customer contact information. The Data Transfer section is static and indicates whether Sun Configuration and Service Tracker is configured to transfer event and configuration data to Sun Microsystems
Enables you to enter Sun support contact information for the Sun Configuration and Service Tracker installation.
Provides various options and information that must be completed and submitted electronically to register your site.
Complete the following steps to provide required site, contacts, and registration information.
From the Sun Configuration and Service Tracker Console, click the Site Info button.
The Site Info Dialog is displayed (see See Site Info Dialog - Customer Contact Info tab)
In the Customer Contact Info tab, complete the following steps:
In the Company Information section, enter the appropriate information in the fields.
Complete one of the following steps:
If you are entering information for the first time, or need to enter information in additional tabs, proceed to step 3.
If you have finished entering information, click one of the following buttons:
Closes the Site Info Dialog. If you fail to click the Apply button before clicking Close , your changes are discarded. |
Click the Sun Contact Info tab, and complete the following steps:
The Sun Contact Info tab is displayed (see See Site Info Dialog - Sun Contact tab).
In the Primary Sun Contact section, enter the appropriate information in the fields.
In the Secondary Sun Contact section, enter the appropriate information in the fields.
Complete one of the following steps:
If you are entering information for the first time, or need to enter information in additional tabs, proceed to step 4.
If you have finished entering information, click one of the following buttons:
Closes the Site Info Dialog. If you fail to click the Apply button before clicking Close, your changes are discarded. |
Click the Registration Info tab.
The Registration Info tab is displayed (see See .Site Info Dialog - Registration Information tab).
In the Service Selection section, click one of the following options:
SunUp--The Sun team that provides the user ID and registration keys that are used when the Sun Configuration and Service Tracker Server is registered with Sun.
Other--Indicates you are not using SunUp. Enter a short description in the text field of the service you are using.
If you accept the terms of the Sun Service Agreement, click the I accept the terms of the agreement check box.
To auto-register your Sun Configuration and Service Tracker site, click the Auto-register using CST local email account? check box.
Using System Admin Contact email ID entered in the Customer Contact Info tab, a request is emailed to the Primary Contact person entered in the Sun Contact Info tab to notify Sun about the request to process the registration. After approval from the Sun Contact person, the Customer ID and Registration key is generated and provided to the Customer System Admin through email.
To submit the registration and request for activation, click the Submit button.
Click the Close button until you have received your customer ID and Registration key.
Obtain the Customer ID and Registration key. For information, see See Site RegistrationSee Site Registration.
In the Customer ID field, enter your customer ID.
In the Registration Key field, enter the registration key.
Click the Register button to save and send the registration information to Sun, and to then activate the data transfer to Sun:
You can define which events are tracked and reported by Sun Configuration and Service Tracker 3.6.0 by assigning a cause code to events. Assigning a Cause code to an event adds value to the Sun Configuration and Service Tracker data and increases the usability of your Sun Configuration and Service Tracker reports. By assigning the highest level of cause code, you can track which events were planned and which were not and to which category each defined event is assigned. Details in your Cause codes and your comments about the planned event (such as monthly maintenance of hardware, or application upgrade installation requiring system reboot) add value. Details about unplanned outages (such as electrical outages in the greater metropolitan area lasting five minutes, or database corruption requiring system down and backup restoration) can be even more valuable. Reports that include such details result in significantly improved recognition of trends and possible remediation.
A Cause code can be assigned to a single event, or it can be created and then assigned to multiple events.
If multiple outage system events are Undefined, and there is a common Cause behind those events, you can assign a Cause code to multiple events at one time.
From the Sun Configuration and Service Tracker Console, click the Cause Assign button.
The Global Cause Code Update dialog box is displayed (see See Global Cause Code). This dialog box displays all of the system outage events for all systems tracked by this middleware that occurred during the last 24 hours.
To change the time period of displayed events, complete the following steps:
Click the time period drop-down list to display the available time periods.
Select the time period for which you want to view events (such as Last Quarter, and Last 24 Hours).
In the Check column, click the check box of the events to which you want to assign an Event Cause code.
The Event Cause Code Dialog is displayed. For bigger installations it might take several minutes to completely display the window, as each agent data is checked for the outage event for the specified time period
To specify the appropriate Cause code, click the appropriate category tab:
Within the folder, select the appropriate Cause code or define a new code.
Click OK to save the definition of the cause for the selected events.
The Custom Info Dialog enables you to record system management information in five categories. This information is not required by Sun. Recording this information can enhance the internal service level for your systems.
The Custom Info Dialog includes five tabs:
This section contains the following topics:
To record system management information, you need to choose a system with which to work. The system you have selected in the Hierarchy section is the default system and is displayed in the Selected System field. You can work with this system or select a different system.
From the Sun Configuration and Service Tracker console, click the Custom Info button.
The Custom Info Dialog is displayed (see See Custom Info Dialog).
To work with another system, click the name of the system in the Selected System drop-down list.
This functionality is available on all from all five category tabs.
The fields in four of the tab are comprehensive and based on input from many customers. The User Defined tab enables you to define information not included in the other tabs. If you have system management information that does not fit into the defined fields, you can define your own fields and enter your information in the User Defined tab.
From the Sun Configuration and Service Tracker console, click the Custom Info button.
For more information, see See System Selection.
From the Custom Info Dialog, click the User Defined tab (see See User Defined tab - Label function).
Click the Label button at the bottom of the screen to change the Label from "Label 1" to something more descriptive.
Click the Edit button at the bottom of the screen to add the information in the Label.
Type the name of the label for each of the fields want to define.
This saves the label names and returns you to the User Defined tab.
Click the Edit button and type the information for each labeled field.
To save the entered field contents, click the Apply button.
The following sections provide details about entering data into the other tabs.
In the Custom Info Dialog, all fields are initially grayed out to enable you to read all previously applied information. There are three buttons at the bottom of the screen:
From the Sun Configuration and Service Tracker console, click the Custom Info button.
For more information, see See System Selection.
In the Custom Info Dialog, click the tab in which you want to enter or edit information.
Click the Edit button to activate the write function for the tab.
Enter system information into the applicable fields.
When all information has been entered, click the Apply button to save the information in that tab.
To change to another tab, click on that tab and repeat steps 3 through 5.
When you have completed entering and saving all information, click Close .
To enter custom information for another system, repeat steps 1 through 7.
The Enterprise Hierarchy section displays the complete enterprise hierarchy view of the various systems tracked by this Sun Configuration and Service Tracker server. The hierarchical view is a graphical tree structure that can be expanded and collapsed by clicking on the desired system.
The main Sun Configuration and Service Tracker History tab displays present and past system information in its three sub-sections.
The top section of the tab lists the event information, which includes the event number, event description, date/timestamp, whether the event was planned or un-planned, and comments entered by the user.
The events are displayed chronologically and in ascending order (most recent event last). Only the first few words of the comments are displayed in the comment column.
The middle section of the folder displays any assigned event Cause Code and the full text of the comment associated with the current selected event. In addition, you can modify both the Cause code and the comments.
The bottom section displays the configuration changes, if any, associated with the selected event.
The list of events is specific to the selected system. The number for each event is static as the number is assigned when the event is generated and is connected with the history for the selected system. The name of the event comes from a list of standard Sun Configuration and Service Tracker tracked events. The timestamp is attached to the event when the event occurs and is recorded in the database. If Sun Configuration and Service Tracker cannot identify whether the event was planned or unplanned, a question mark is populated into the field by default. You can define the details of the event in the Event Cause Code section. To further define the event, you can enter comments pertaining to the cause, resolution, and other details that would be valuable in current and future event analysis and resolution. For information about entering comments, see See To Add Comments to an Event. |
|
To control the displayed events, click the Get Latest drop-down list. The choices in the drop-down list are: Get Latest, Get Previous 10, and Get All Events. |
This section includes the following topics:
See To View Different EventsSee To View Different Events
See To Assign an Event Cause Code
The events initially displayed when you first bring up the Sun Configuration and Service Tracker console are the most recent events for the selected system. The GET LATEST drop-down list located below the list of events enables you to control which events are listed. To view events, complete the following steps:
From the Sun Configuration and Service Tracker Console, click the main CST History tab.
Click the Get Latest drop-down list, and choose the Get All Events to pull all events from the repository and display them.
You can add value to a single event that is listed with a question mark in the Planned field by assigning an Event Cause Code. To assign an Event Cause code, complete the following steps:
From the Sun Configuration and Service Tracker Console, click the main CST History tab.
Click the Update button in the right side of the Event Cause Code section of the screen.
The Event Cause Code dialog box is displayed (see See Cause Code Assignment Dialog Screens).
Choose the appropriate tab from which to assign an Event Cause Code:
Select the appropriate category and cause for the event from the drop-down list.
You can append a comment to a specific event. To add a comment, complete the following steps:
From the Sun Configuration and Service Tracker Console, click the main CST History tab.
The Comments dialog box is displayed.
Type the comment you wish to add to the event.
The comment displays in the Comment field of the event. The login ID of the session is appended to the comment.
You can create a custom Service Event in the CST History tab. Service engineers or system administrators use the Service Event button to capture any specific action or information about the system that might be useful for future reference. To create a Service Event, complete the following steps:
From the Sun Configuration and Service Tracker Console, click the main CST History tab.
The Service Event section is located in the middle area of the tab.
Click the Service Event button.
In the Comments dialog box, type an event description.
Click the Save button to create a service event.
The Event description will be User's Service.
The new event automatically displays in the event log.
The CST History tab contains the Configuration Changes section that is located at the bottom of the window and contains several tabs. When you select an event, these tabs contain information about configuration changes that were detected at the time the event occurred. The names of the tabs are identical to the name of the associated configuration files:
The fields vary according to the tabs, and their labels are indicated just above each data section (see See Configuration Changes in the History Folder).
To look up configuration changes, complete the following steps:
From the Sun Configuration and Service Tracker Console, click the main CST History tab.
Select the event for which you want to see configuration changes.
In the Configuration Changes section, click the appropriate tab to view the configuration changes associated with the selected event.
The man Configurations tab describes the past and present hardware and software configurations of the system. You can select one of the following configuration options (see See Configurations/System Information Folder):
The Current configuration option shows information that was recorded immediately after the most recent event on the selected system.
The Inception configuration option shows information that was recorded at the time Sun Configuration and Service Tracker was first installed on the selected system.
For each option, there are several tabs that contain different categories of configuration information.
Displays the machine-populated specifications on the selected system, such as ROM type, and Host Name. |
|
Lists all hardware detected by Sun Configuration and Service Tracker including details in the following fields: Label, Description, Part #, Revision #, Serial #, Hierarchy, and Other. A blue dot in the Other field indicates there are other details about the installed hardware not displayed in this tab. |
|
Lists all software packages detected by Sun Configuration and Service Tracker including details in the following fields: Label, Description, and Revision #. The packages are listed in alphabetic order within the Label field. |
|
Lists each software patch installed on the selected system (including details) from inception to the current time. |
|
Lists all the parameters available within your Solaris OS with the assigned values. For example, the size of virtual address cache is listed with its assigned value. |
|
Displays the disk media, disk groups, volumes, plexes and sub disks for systems where volume manager is installed. |
|
Displays the cluster summary information, member status, resource list, resource type, resource group, resource, transport path, and quorum votes for systems that are part of Sun clusters. |
|
Displays custom information you entered pertaining to system management data. For more information, see See Custom Info, for details. |
Application Tab (see See Application tab) enables you to view information tracked on supported applications. The Application tab displays three sub-sections for the selected application. The following table (see See Application tab sections) describes each section of the Application tab.
Sun Configuration and Service Tracker 3.6.0 tracks Sun Java System applications and other classes of applications. Follow these steps to select the application to review.
Select the system name to be reviewed.
The Application tab displays qualifying events for the tracked applications for the selected date range and selected system.
To select a different application, click the SELECT button located in the upper left section of the screen.
A series of drop-down menus allows you to drill down through four layers to select the exact application to be reviewed: Class of application, Name of application and its version number, and the application instance.
To view a different date range of data on the selected application, click the GET LATEST button. Select from the three choices:
The statistics tab, shown in FIGURE 3-17, presents statistics for your review through its two components:
Displays statistics for the selected application on the currently selected system. |
Define the time period for the statistics displayed with the Get Statistics button and by selecting the appropriate time period from the popup window, as in See Statistics tab. The statistics for that date range display in the Statistics folder, with the date range displayed on the left side. |
|
The period, From and To dates display the selected time period for which the displayed statistics apply. The default is This Week. To change, click the Get Statistics button. |
|
Time Up--the accumulative time in days, hours, minutes, and seconds that the system was up. A system is up when one or more of the following events occur: Processes such as the Sun Configuration and Service TrackerCST daemon and CST heartbeat daemon are executing.Interprocess communication is enabled (CST and the CST heartbeat daemons communicate with each other through IPC at regular intervals).Disk access to the system disk is functional as the CST heartbeat writes the timestamp into the system disk at regular intervals. |
|
The time when the system was down. For example, the Solaris OS kernel was not running or not executing processes, or the basic interprocess communication or disk access was not enabled. |
|
The ratio of Time Up to Total Time expressed, as a percentage. |
|
The ratio of Time Down to Total Time expressed, as a percentage. |
To view statistics on the currently selected system, complete the following steps:
Select the system name from the Enterprise Hierarchy Panel.
In the Statistics tab, click the System tab.
The system statistics initially displayed are for This Week. The dates are displayed on the left side of the screen.
To select a different date range, click GET STATISTICS and select from the displayed list.
To view statistics for another system, repeat steps 1 through 4.
Sun Configuration and Service Tracker 3.6.0 tracks up and down events for supported software. To view the statistics for supported applications detected on the selected system, follow these steps.
Select the system name from the Enterprise Hierarchy panel.
Choose the application for which you want to view statistics.
The system statistics initially displayed are for This Week. The dates are displayed on the left side of the screen.
To select a different date range, click GET STATISTICS and select from the displayed list.
The Notification tab enables system administrators to configure different user email addresses for email notifications on selected events:
This section contains the following topics:
See To Add a New Email to Event-list Mapping
See To Delete an Email from Event-list Mapping
See To Modify an Email-to-Event-list Mapping
You can select one or more events for which you want a notification email sent to one or more email addresses. You can email events in the following catagories:
Cluster and Volume Manager Events
From the Sun Configuration and Service Tracker Console, click the main Notification tab.
The Selective Email Dialog is displayed (see See Selective Email Dialog Window).
From the Events lists, click the one or more events.
The selected event is moved to the Selected Events list box.
To add all events to the Selected Events list box, click the Add All button.
In the assign Email field, type one or more email addresses.
Click the Apply button; click OK in the resulting confirmation dialog.
The email-to-event-list mapping is displayed in the main Notification tab.
From the Sun Configuration and Service Tracker Console, click the Notification tab.
In the Email Recipients list, select the email address for which the mapping is to be deleted.
Click the Delete button and the OK button in the resulting confirmation dialog.
Use this function to change events for which notification is sent to an already identified email address.
From the Sun Configuration and Service Tracker Console, click the main Notification tab.
Click the email-to-event-list mapping that you want to modify in the the Events Assigned list.
The Selective Email Dialog with the email address in read-only mode is displayed (see See Event-list Email Modification Window). You can edit only the associated event-list.
From the Print tab you can retrieve, print, and send simple reports based on the system event and configuration for the selected system. The reports are sent to the designated email addresses.
See Print tab - CST History tab sections provides descriptions of the sections found in the CST History tab of the Sun Configuration and Service Tracker Console Print tab.
When you want a report on only one event, highlight that event in the main CST History tab.
Select the CST History tab within the Print tab.
Click either the Selected EVENT or ALL EVENTS option (see See Print tab).
The event report is generated.
Select the Configurations folder within the Print folder.From the main Print tab, click the Configurations tab within the main Print tab.
Select either the CURRENT CONFIGURATION or INCEPTION CONFIGURATION button (see FIGURE 3-26).
Select one of the following categories:
To send the report as an email message, select the EMAIL ADDRESS button and type the desired email recipient.
To send the report to a printer, select the PRINTER button and type the printer name.
To send the report directly to Sun, select the SUN MICROSYSTEMS, INC . radio button
To send the report to a printer or send it as email, after selecting the type of report, click the APPLY button.
To enhance security of your tracked data, you should log out of the Sun Configuration and Service Tracker Console when you are finished working with your data.
In the Sun Configuration and Service Tracker Console, click Log Out in the top bar of the window.
In the drop-down list, click Exit to close the Sun Configuration and Service Tracker session.
This chapter provides an overview of the Sun Configuration and Service Tracker software for version Sun Configuration and Service Tracker 3.6.0. It includes the following sections:
See User and Group ManagementSee User and Group Management
See Tuning Sun Configuration and Service Tracker Trigger Intervals
See Sun Configuration and Service Tracker Detach
See Sun Configuration and Service Tracker Tracking During OS Upgrades
Prior to starting the Sun Configuration and Service Tracker user interface, you must ensure the login user name is added to the appropriate Sun Configuration and Service Tracker group by the Sun Configuration and Service Tracker system administrator for that site. Refer to See User and Group Management for details. Depending on the group to which the user name is added, the user will have specific READ or READ & WRITE privileges through the user interface.
When a user logs in, Sun Configuration and Service Tracker authenticates the login with the assigned Sun Configuration and Service Tracker group. For further explanation, see See User and Group Management.
User and Group Management Access control is implemented to enhance security when viewing and annotating data. This security feature allows only authenticated users to view and annotate the Sun Configuration and Service Tracker data by providing a login session when a user accesses the Sun Configuration and Service Tracker console or applet. The user must have a Unix login account on the middleware host in order to access Sun Configuration and Service Tracker data. When prompted to enter a user name and password, the user logs in to the host through the login Unix command.
Each Sun Configuration and Service Tracker 3.6.0 user is assigned a login and a user access level.
In addition to the user name and password check, Sun Configuration and Service Tracker includes its own access control. Each user belongs to a group: cstadm or cstops.
cstadm users have read and write privileges to Sun Configuration and Service Tracker data
cstops users have read-only privileges to Sun Configuration and Service Tracker data
On the server system, log in as a superuser.
To create the desired group, type one of the following commands:
Open the /etc/group file in a file editor.
Add the user's login name to the cstadmin or cstops group in the /etc/group file.
Save the file and exit the editor.
The following is a sample /etc/group file:
The cstadm and cstops user levels have access to all privileges in the Sun Configuration and Service Tracker console. See See Abilities of Sun Configuration and Service Tracker Access Levels for a complete list of access levels and permitted actions.
The following tables details the tasks that can be performed in Sun Configuration and Service Tracker and indicates which groups are allowed to perform each task.
Sun Configuration and Service Tracker 3.6.0 has a built-in feature to send all collected Sun Configuration and Service Tracker data to a secure database in Sun. The benefit of sending the data to Sun is to enable generation of detailed availability and configuration reports using the data collected. The reports are enriched by the use of normalized data from multiple customer sites and can provide insight into the overall availability of systems in the enterprise. These reports can be obtained with the help and interaction of your local Sun representative. For more details about the benefits of this registration, contact your local Sun representative.
Before this feature can be enabled, you must register the site with Sun and enable data flow from the Sun Configuration and Service Tracker server to Sun. The registration process is completed using the Site Info Dialog.
There are three tabs within the Site Info Dialog window: Customer Contact Info, Sun Contact Info, and Registration Info. All three must be completed to configure your environment. For details about entering your site information into these tabs, see See Site Info Dialog.
You must set up the environment to prepare for registration. The server must have the ability to send email to the outside world.
Ensure that the following steps have been completed before starting the registration process.
Ensure that all fields in the Customer Contact Info and Sun Contact Info tabs of the Site Info Dialog window are completely and accurately completed.
Ensure the system administrator's contact email address is correctly entered in the appropriate field.
Since the registration key will be sent to the system administrator's contact email address, this information must be correct. If the contact email address is incorrect, the key will be lost.
Read the entire agreement and be sure you understand it.
If you have questions, please contact your local Sun representative.
After reading the agreement, check the AGREE TO THE AGREEMENT box.
If setting up an account for Sun Configuration and Service Tracker in the middleware server is acceptable, Sun Configuration and Service Tracker will set up an account and use it as sender to transmit the data from that account. It can also receive email coming in and can be used in future to provide automated reporting and other services.
If setting up a Sun Configuration and Service Tracker account in the middleware server is acceptable, check the SETUP CST ACCOUNT box. (This is optional.)
When a site submission is successful (if all mandatory data fields are completed), an email is sent to the Sun representative identified in the Sun Contact Info tab that includes all the data entered in the Admin dialog box.
The Sun representative confirms that the installation is adequately set up to send data to Sun and that all the mandatory fields have appropriate information. Once confirmed, the Sun representative forwards the email to Sun for a registration key and a customer ID. When granted, the registration key and customer ID are forwarded by email to the address given in system administrator contact email address.
Access this information and enter them in the Register Key panel in the Registration Info tab of the Site Info Dialog.
If the registration is successful, a Sun Configuration and Service Tracker Registered event is created on each of the agents currently reporting into this midddleware server. The Sun Configuration and Service Tracker Registered event, configuration files, and the user data fields for these agents are sent to Sun. On the Admin dialog box, under Customer Contact Info, Transfer Data to Sun is set to ENABLED. If setting up a Sun Configuration and Service Tracker account is selected, a Sun Configuration and Service Tracker account is created on the server.
Sun Configuration and Service Tracker support for TCP protocol between the Sun Configuration and Service Tracker agent and server is introduced with Sun Configuration and Service Tracker 3.6.0. The network transport between the Sun Configuration and Service Tracker agent and the Sun Configuration and Service Tracker server can be either TCP or UDP (RPC). If you want to use TCP protocol, you must specify your selection when the Sun Configuration and Service Tracker agent is first attached to the server. See See Sun Configuration and Service Tracker Utilities for more information.
The default network transport between the Sun Configuration and Service Tracker agent and the Sun Configuration and Service Tracker server is UDP (RPC). This protocol is a full-duplex protocol where the Sun Configuration and Service Tracker agent issues RPC to the Sun Configuration and Service Tracker server and vice versa.
If the selected transport protocol is TCP, the Sun Configuration and Service Tracker server and agents listen on TCP port 3742. You must open port 3742 through the firewall for any traffic to pass in both directions.
If the selected transport protocol is UDP, the RPC program number used by Sun Configuration and Service Tracker is 805306372 (30000004 hex). By default, the system assigns a random port as the UDP port; however, the user can overwrite the random port assignment by setting a range of ports to which the Sun Configuration and Service Tracker process binds. In order to do this, there is a file on both the agent and the server that must be edited:
/var/opt/SUNWcst/files/port_cfg
Check the port_cfg file for the following two lines. Add these two lines if they are not currently in the file.:
minport=<a minimum port number>
maxport=<a maximum port number>
Each user must restart the Sun Configuration and Service Tracker process for the port range to take effect by completing the following steps:
Stop and restart Sun Configuration and Service Tracker by following these steps. At a root prompt, type:
In case of an upgrade from an earlier version of Sun Configuration and Service Tracker to Sun Configuration and Service Tracker 3.6.0, the transport protocol used will be UDP. To force the Sun Configuration and Service Tracker agent to use TCP as the network transport protocol complete the following steps:
Stop the Sun Configuration and Service Tracker agent. Type:
# /opt/SUNWcstv/sbin/cstadm stop
Edit the file, /var/opt/SUNWcst/xprt, with this command:
Restart the Sun Configuration and Service Tracker agent. Type:
# /opt/SUNWcstv/sbin/cstadm start
After you successfully execute these steps, the Sun Configuration and Service Tracker agent and server automatically negotiate to use TCP as the transport protocol.
The network transport between the Sun Configuration and Service Tracker server and the Sun Configuration and Service Tracker client is TCP. By default, a random port is assigned by the system, The user can overwrite it by setting a range of ports for the Sun Configuration and Service Tracker server to bind to. To override the default, edit the file:
/var/opt/SUNWcst/files/port_cfg
Check the port_cfg file for the following two lines. Add these two lines if they are not currently in the file.:
tcpminport=<a minimum port number>
tcpmaxport=<a maximum port number>
Type the following commands to stop and restart Sun Configuration and Service Tracker:
Sun Configuration and Service Tracker automatically decides if a resource is present and when detected, assigns the default tracking interval and invokes the tracking thread for that detected resource. The tracking thread includes detection of dynamic reconfiguration of hardware change and cluster configuration changes. The defaults are preset to keep the load on the system light and still be frequent enough to detect most, if not all, events.
The tracking intervals are tunable to better suit specific system needs. The tuning is achieved by:
Manually editing the cst.conf file in the /var/opt/SUNWcst directory of each system.
Restarting Sun Configuration and Service Tracker by issuing a CST STOP followed by a CST START.
The following table indicates the various entries that control the tracking intervals and their limits. The value must be within the stated limits. Values outside of these limits are automatically reset to the minimum or maximum value.
*These two entries apply to only the listed server platforms.
Some of the event detectors use polling to check for changes. The monitoring frequency of those event detectors can be tuned through the cst.conf file in /var/opt/SUNWcst directory. The format adopted in this file is:
<event detector_interval><tab><value>
For all parameters ending with _INTERVAL, the value indicates the monitoring interval in seconds. Each monitoring entity has a pre-specified maximum, minimum, and a default period. The Sun Configuration and Service Tracker process resets any setting above the maximum or below the minimum to the maximum or minimum periods respectively. The default setting is the one set when Sun Configuration and Service Tracker is installed. A preset value of 0 indicates that the monitoring of that entity has been stopped.
FRUINFO_ENABLE is a binary parameter.
If FRUINFO_ENABLE is set to 1, collection of FRU information is enabled. Otherwise it is disabled. The default value of this parameter is 1.
The following is a sample cst.conf file:
To change a monitoring interval for a specific entity, the value parameter for that entity must be manually edited in the cst.conf file.
To stop and restart the CST daemon use the following commands:
Create an app_event in the agent with event name CST detached; type:
$ /opt/SUNWcstv/bin/app_event "CST detach" "CST detached from <middleware_name>"
Stop Sun Configuration and Service Tracker; type:
Edit the /var/opt/SUNWcst/cst.pref file and remove the value for MIDDLEWARE field.
If Sun Configuration and Service Tracker is to run in a stand-alone mode (without reporting to any middleware), restart Sun Configuration and Service Tracker; type:
Ensure that a copy of Sun Configuration and Service Tracker is running on the systems at all times.
After an OS upgrade on the agent, if the Sun Configuration and Service Tracker data on the agent is lost, the agent must be restored from the copy on the middleware.
Copy all the agent files under the agent hierarchy in the middleware repository to the /var/opt/SUNWcst directory on the agent host.
Run the pkgadd command for the agent package on the agent system.
For the System Service Processors (SSP) and System Controllers (SC) on multi-domain systems, the restore also involves restoring the platform data in addition to the agent data. The platform data under the platform hierarchy must be copied to:
To determine the location of the platform data, consult the guidelines in See To Attach a Multi-domain Agent to Sun Configuration and Service Tracker Server.
While installing Sun Configuration and Service Tracker, remember that the Sun Configuration and Service Tracker software is only `fresh installed' the first time. A fresh installation of Sun Configuration and Service Tracker software means that no Sun Configuration and Service Tracker files or data have ever existed on the agent system nor on its middleware repository. In this manual, this is referred to as a new installation.
Sun Configuration and Service Tracker provides you with the functionality to group your monitored systems for ease of viewing a specific system or a group of systems. By configuring the hierarchy of your monitored nodes in groups, you can browse through the top level group names and drill-down as required. Using the Hierarchy functionality can also help with UI loading performance.
You may want to change the Sun Configuration and Service Tracker hierarchy configuration if you regroup your monitored systems. Upgrading your Sun Configuration and Service Tracker version does not alter the hierarchy. When you want to change the hierarchy of your Sun Configuration and Service Tracker monitored systems, perform the steps in the following section.
Sun Configuration and Service Tracker events are collected on the agent and forwarded to the Sun Configuration and Service Tracker server, middleware, and stored in the server repository. Each monitored agent machine includes a file, cst.pref , where the hierarchy settings are read when events are to be sent to the repository. A copy of that file resides on the middleware under the repository. The location where the agent events are stored in the repository on the middleware must be created so, when the location is read in the cst.pref file, the data can be sent correctly.
These steps include backing up the event data for the agent system being moved and establishing all of the correct links within this structure. The following steps explain how to alter the hierarchy for an agent and move the agent data.
Back up the agent data that resides under the server repository.
The server repository is located on the Sun Configuration and Service Tracker middleware server.
Before you proceed, check that there is no /var/opt/SUNWcst/bkup_events file on the agent system.
If this file exists, it means the agent is still trying to send the backlogged events to the server. Make sure that the middleware server is up and running and wait until bkup_events is no longer present.
Log in to the agent system as superuser.
Stop the CST daemon on the agent system; at the root prompt on the agent machine type:
/opt/SUNWcstv/sbin/cstadm stop
Log in to the middleware server system as superuser and perform hierarchy moving; run these commands at the root prompt:
cat /var/opt/SUNWcst/cst.pref | grep ROOT_PATH
cd <ROOT_PATH value in cst.pref>
These commands find the location of the repository and the cst.pref file on the Sun Configuration and Service Tracker server.
Locate the agent hierarchy and create a directory in the new location to hold agent data.
After you create the new location, move the hierarchy to the new place inside the ROOT_PATH using the mv command.
In this step you create the new location on the middleware under the repository where the agent data will be stored, and you move the existing data for the agent into the new location.
Execute the commands on the middleware at a root prompt as superuser.
Example:
Moving a/b/Agent1.Sun.COM to b/c/Agent1.Sun.COM
On the middleware server, manually edit the cst.pref file to update the HIERARCHY value. The new value must reflect the directory created in the step 7. (For example, b/c/Agent1.Sun.COM/cst.pref )
On the agent system, manually edit the cst.pref file to update the HIERARCHY value. The location of this file is: /var/opt/SUNWcst/cst.pref
Make sure that the HIERARCHY values in both copies of the cst.pref files modified in steps 8 and 9 are identical.
Start the Sun Configuration and Service Tracker agent daemon; at the root prompt on the agent machine, type:
Service Event and Update Cause Code buttons are provided in the CST History tab of the main CST UI console. Service events are used by the service engineers while the system is under maintenance, whereas the Update Cause Code button is used while updating the cause code for the Sun Configuration and Service Tracker history events.
Every event from each of the systems being monitored can and should be annotated with a reason. Click the Cause button and use the Event Cause Code Dialog box as a structured approach for assigning the reason. This is useful for identifying the major and common causes, but its ability to provide details is limited. More meaningful explanations should be provided where appropriate, by using the free-format Comments section. This information can be very useful during periodic discussions, on the availability and other statistics on the systems in the enterprise.
When marking the event cause for an outage, assign the Planned/Unplanned flag to the Shutdown event and not the Reboot event.
Every action performed on the system (other than those automatically detected) should be captured using the Create Service Event feature. It is not necessary to give every action a separate Create Service Event, since the comments can be appended in a single event. However, in order to keep the action timestamps correct, it is important that the actions after a reboot appear in a service event after the reboot.
All actions that took place between a Shutdown and a Reboot should be captured as Comments for the Reboot event.
Service performed while the system is online should be captured through a separate Service Event. A single Service event between a Reboot and a subsequent Shutdown can be used to capture all events during that period.
Report any events that should have been detected, but were not, to your service provider.
Several command-line utilities are included in the SUNWcstu package. These utilities are used to perform various administrative functions. Executing these utilities require root level access to the system where the packages are installed.
cstattach - binds a Sun Configuration and Service Tracker agent to a Sun Configuration and Service Tracker middleware system.
This utility is part of the Sun Configuration and Service Tracker server installation and is to be run on the Sun Configuration and Service Tracker server system. The default location is:
cstattach can be used to attach Sun Configuration and Service Tracker 3.6.0 agents that are installed and running in an unattached mode. The protocol to be used between the agent and the server can also be specified.
By attaching an agent to a Sun Configuration and Service Tracker server system, you can:
View the Sun Configuration and Service Tracker agent data through Sun Configuration and Service Tracker GUI. The data includes system events, system configuration, and system availability data.
Annotate an outage event cause code using GUI or command line interface.
For SunUP customers, it is recommended that you do cstattach for unattached agents as soon as you can. This enables customer benefits from the SunUP? program for attached agents.
cstattach is supported on Solaris 2.6, 2.7, 8, 9 and 10. It is designed to work with Sun Configuration and Service Tracker 3.6.0.
Before you use cstattach, please check the following:
The agent being attached must be up and running when the attachment process is performed. Ensure that there is no scheduled downtime for the agent around the time you want to use this command. cstattach usually takes around 30 seconds per agent.
The middleware Sun Configuration and Service Tracker daemons performing attach process ( cstd.svr and csthb.svr ) must be up and running.
Make sure that the agent version is Sun Configuration and Service Tracker1.5.1 or later.
For a large number of monitored systems, it is recommended that the hierarchy tree is planned ahead to eliminate mistakes that may require moving an agent from one hierarchy to another. (hierarchy is optional) For steps to relocate a Sun Configuration and Service Tracker agent node to another hierarchy, see See Move Agent Data to a Different Hierarchy.
Collect the agent key from each agent. The agent key is the value inside /var/opt/SUNWcst/akey for each monitored agent.
cstattach [-h hierarchy] -a <agentname> -k <agentkey> [-t transport][-m middleware]
The hierarchy parameter is optional. It is used to organize the monitored systems into different groups (hierarchy names). In the case that you have many agent systems, specifying hierarchy will also help in GUI loading performance.
The transport parameter is the IP protocol to be used between the agent and the server and is optional. Valid values are: TCP and UDP. The default protocol is UDP; UDP is used when no transport parameter is manually set.
agentname is the agent name to attach.
agentkey can be obtained from /var/opt/SUNWcst/akey on each agent machine.
middleware parameter is optional, but is required if Sun Configuration and Service Tracker agent and Sun Configuration and Service Tracker middleware are located in different Internet domains. The specified middleware name must be a fully qualified hostname that can be resolved on the agent.
Assuming the middleware hostname is cstserver running in eng.sun.com domain. The agent name being attached is cstnode1.eng.sun.com.
The agent key (/var/opt/SUNWcst/akey) on cstnode1 machine is 123456.
The following attach command can be used:
Same as Example 1 with hierarchy path specified.
# cstattach -h department1/group2 -a cstnode1.eng.sun.com -k 123456
Same as Example 1 except that the agent is located in different domain germany.sun.com.
# cstattach -h europe/germany -a cstnode2.germany.sun.com -k 123456 -m cstserver.eng.sun.com
This locates the agent data in:
[repository_path]/europe/germany/cstnode2.germany.
sun.com
Same as Example 1 except this example enables TCP transport between the Sun Configuration and Service Tracker server and the Sun Configuration and Service Tracker agent:
# cstattach -a cstnode1.eng.sun.com -k 123456 -t TCP
cstattagt - binds a Sun Configuration and Service Tracker agent to a Sun Configuration and Service Tracker middleware system
This utility provides similar functionality to the cstattach utility. The differences between this utility and cstattach are:
cstattagt is present and is to be run on Sun Configuration and Service Tracker agent and not from the middleware server.
No agent key is required for the attach operation.
The transport protocol to be used between the agent and the server can be specified as either TCP or UDP. The default protocol is UDP. The RPC/UDP traffic is only initiated from Sun Configuration and Service Tracker agent to the middleware server (uni-directional) which may be useful for strict firewall setting.
cstattagt provides no options for customizing the agent nodename. The agent nodename which displays under the agent hierarchy on middleware server is the hostname of the agent (as appeared in hostname unix command).
cstattach provides more flexibility than cstattagt in this regard where agent hostname can be explicitly defined either by using fully qualified name or by short hostname.
Before you use cstattagt, please check the following:
The Sun Configuration and Service Tracker agent being attached must be up and running. It can take from a few seconds to 2 minutes for the attach procedure to complete.
The middleware that the agent will attach to must be up and running.
To attach Sun Configuration and Service Tracker 3.6.0 agent, the middleware server must be running Sun Configuration and Service Tracker version 3.0 or later.
For a large number of monitored systems, it is recommended that the hierarchy tree is planned ahead to eliminate mistakes that may require moving an agent from one hierarchy to another.
For details on how to relocate a Sun Configuration and Service Tracker agent data from one hierarchy to another hierarchy, see See Move Agent Data to a Different Hierarchy.
cstattagt [-h hierarchy] [-t transport] <middleware>
Middleware is the middleware hostname to which the agent attaches.
Transport is the transport layer protocol to use. You can select between TCP and UDP. UDP is the default.
Hierarchy is the relative path under middleware repository where the agent directory and its data are maintained.
This parameter is optional. If you have many Sun Configuration and Service Tracker agent systems, it is recommended that the hierarchy is used to organize the monitored systems and to improve UI loading performance.
The cstfind utility searches for a pattern in the probe.current file under each input directory node and returns the list of matching directory nodes.
cstfind should be run only on a machine running Sun Configuration and Service Tracker server.
The following options are supported for cstfind:
To list all the agent nodes configured under this Sun Configuration and Service Tracker server.
The list of nodes will be captured in the file `inputfile'. We use this file in our later examples.
To list all the nodes with OS version Solaris 2.8.
example% cstfind -s os=2.8 -i inputfile -o outputfile
The file inputfile should contain all the directory nodes under which the search has to be done. The outputfile will be created with contents as list of nodes matching OS version "2.8" under "System Information" section of the probe.current file.
To list all the nodes without a patch number ABCD1234.
example% cstfind -x !ABCD1234 -i inputfile
Since the -o option is not specified, the list is printed on stdout.
findevent scans all the nodes in the middleware repository or in the specified hierarchy for the events that are of user-interest. User can specify the criteria of the search including:
It is also possible for user to define multiple rules by creating rule file.
Rule file is useful for advanced event filtering. findevent also supports "extend" format which can be used as the input to other Sun Configuration and Service Tracker utilities i.e. setcause to globally set cause code for shutdown events that match period, weekdays and time specified. Running this program as root is recommended as this guarantees that the Sun Configuration and Service Tracker history files and cause code files can be accessed.
findevent is supported on Solaris 2.6, 7, 8, 9, and 10. It should work with all existing Sun Configuration and Service Tracker versions including Sun Configuration and Service Tracker1.5_AMS, Sun Configuration and Service Tracker1.5.1_AMS, Sun Configuration and Service Tracker2.1_AMS, Sun Configuration and Service Tracker2.1U1_AMS.
Usage: ./findevent [-p PERIOD] [-w WEEKDAY(S)] [-t TIMESTART TIMEEND] [-h HIERARCHY] [-n NODENAME] [-f FORMAT] [-r RULEFILE] [-c] EVENT_TYPE(S) -l USER_COMMENT_LENGTH
EVENT_TYPE can be one or more of the following types:
This field is the only mandatory field. More than one event_type can be specified by separating them with space. The allboot event_type prints all boot-related events.
Sun Configuration and Service Tracker package upgrade events |
|
WEEKDAY can be one or more of the following (Default is any day):
Two or more days can be specified with comma separation and without spaces.
Ex. -weekday SAT,SUN means searching for Saturday and Sunday
FORMAT can be one of the following (Default is txt):
The extend format is also used as an input to setcause utility
HIERARCHY is the relative hierarchy path under Sun Configuration and Service Tracker middleware repository Searching is applied only for the agents in the specified hierarchy.
RULEFILE is useful when more than one set of rules is needed.
For example, if user wants to find events that happen during non-business hours (assuming 6pm - 8am mon-fri, all day sat-sun), user can create a rule file with the following content:
MON,TUE,WED,THU,FRI 00:00:00 08:00:00
MON,TUE,WED,THU,FRI 18:00:00 23:59:59
Rule file can only contain weekday and time period.
The parameters -w and -t are ignored if rule file is specified.
See also: setcause utility which accepts findevent input to set cause code (planned/unplanned) for non-prime time hours.
Find any events that happened during this week; type this command:
Find any PANIC, Shutdown, Reboot events that happened during this week; type this command:
Find any PANIC, Shutdown, Reboot events that happened on Mon-Fri from 8am to 5pm since INCEPTION; type this command:
# findevent -w MON,TUE,WED,THU,FRI -t 08:00:00 17:00:00 allboot
Find all machine names that newly deploys Sun Configuration and Service Tracker this year and let the user comment go up to 200 characters; type this command:
# findevent -p THISYR cstinception |grep -v " "| cut -d ":" -f 1 -l 200
Find software upgrades including Sun Configuration and Service Tracker software upgrade during the weekend and during this year; type this command:
# findevent -p THISYR cstinception
Find any events generated by app_event utility (Not match any category)
The cstlshost utility retrieves the field information specified by -f option from system information of the probe.current file under all nodes or a set of nodes specified in the file by -i option and outputs the result to either standard output or to file specified by -o option.
cstlshost should be run only on a machine running Sun Configuration and Service Tracker server.
The following options are supported for cstlshost:
Specify a field name to be retrieved from the system information section of the probe.current file. The valid field names are:
For details refer to the examples given at the end of this section
Specify an input file, which contains a list of directory nodes. The probe.current file under the specified nodes is searched to retrieve the fields. The input file should contain the directory path under which the probe.current file resides.
For details, refer to the examples given at the end of this section.
Specify an output file, where the retrieved field information is stored.
If the -o option is not specified, the output is defaulted to stdout. For details, refer to the examples given at the end of this section.
To list system information like host name, host id of all the nodes configured under this Sun Configuration and Service Tracker server.
example% cstlshost -f "Host Name" -f "Host ID"
To list host name, serial number, system model, total disks, and hierarchy of all the nodes and output to a file.
example% cstlshost -f "Host Name" -f "Serial Number" -f "System Model" -f "Total Disks" -f "HIERARCHY" -o outputfile
The resulting outputfile contains:
In the output of cstlshost, each field in a record is separated by the tab character. To get more aligned and formatted output, use the cstprint utility.
setcause utility can be used to apply outage reasons (cause code) to certain outage events on a system, a group of systems, or all the systems in the middleware repository.
This utility is supported on middleware:
Sun Configuration and Service Tracker 1.5_AMS
Sun Configuration and Service Tracker 2.1_AMS
Sun Configuration and Service Tracker 2.1U1_AMS
Sun Configuration and Service Tracker 3.0
Sun Configuration and Service Tracker 3.5
Sun Configuration and Service Tracker 3.5.1
There are three patterns of usage below:
./setcause -N HIERARCHY/NODENAME -p EVENT_NUM L1 L2 L3
This usage sets cause code for only certain events on a certain node. HIERARCHY/NODENAME represents a relative path under the middleware repository where the node data is stored.
./setcause [-i INPUTFILE or -G] -p PERIOD -r RULEFILE L1 L2 L3
-i INPUTFILE = set cause code for a list of nodes in INPUTFILE.
INPUTFILE can be created/edited from the setcause -h or -n output
-G = set cause code for all nodes (not recommended)
Cause code will be applied only to shutdown/panic events.
See section "SET CAUSE CODE PROCEDURE (Usage 2)" for more information.
RULEFILE contains a set of rules to indicate the time range for which cause code is applied. Each line in the rule file is in the following format:
<Day(s) of Week> <Time range in 24HRS format>
Example: If user wants to set cause code only for the time period outside business hours, for example, anytime but Mon-Fri 8am-7pm and Sat-Sun 9am-4pm, the rule file would look like:
MON,TUE,WED,THU,FRI 00:00:00 07:59:59
MON,TUE,WED,THU,FRI 19:00:01 23:59:59
The 4 rules above can be translated as:
Monday to Friday morning from 0am to just before 8am
Monday to Friday evening from 7pm to just before midnight
Saturday and Sunday morning from 0am to just before 9am
Saturday and Sunday evening from 4pm to just before midnight
Obtain cause code triplet values (L1 L2 L3) by using setcause -c
Use the findevent utility to list all outage events, e.g., shutdown and panic.
Use setcause -N hierarchy/nodename -p event_number L1 L2 L3 for a selected outage.
This usage can be useful for the following cases:
In the case of Test or non-production machines, the nature of downtime is not critical and is often planned. This usage can be used to mark outages for a group of machines as planned outages.
A planned cause code can also be applied to outages that occurred during non-important hours (outside business hour or non prime-time hour).
Obtain cause code triplet values (L1 L2 L3) by using setcause -c
Setting cause code for a certain list of nodes requires an input file with the node list. To create an input file:
Change directories to the repository directory; type:
To discover the repository location, type:
grep ROOT_PATH /var/opt/SUNWcst/cst.pref
Find the systems to be included in the file; type:
find . -type d |cut -b3- |grep -v Applications \
| grep -v CLUSTER_PLATFORM > mynodelist
Edit the mynodelist file as needed to remove any machines to which no cause codes are assigned.
Find the events to be included in the file; type:
find . -type d |cut -b3- > mynodelist
Optionally, you can sort the node list.
To remove some machines from the list; type:
Specify time PERIOD where cause code will be applied. For example, the value of THISMTH will narrow down the event range to events happened within this month.
Create a Rule file. See RULE FILE section for more information. Rule file is used as a filter where user can specify daytime on specific weekday(s) that cause code will be applied.
app_event command is used to create an application-specific Sun Configuration and Service Tracker event which will be recorded in the CST history log file in the directory /var/opt/SUNWcst .
event-type is defined by the user to specify the characteristics of the event.
Recommended format: "<word list><space><verb>"
<word list> could be the name of the application or entity to which a user can relate, potentially whose availability measurement would be useful.
<verb> would be a verb (preferably in the past tense). Possible verbs are:
User comment about the application event.
Recommended format: <name>=<value>;<name>=<value>
It is a good practice to avoid white space around the = token. The name-value pairs should be separated by a semicolon (;) delimiter. For example, Comment=<comment>;Cause Code=<cause code>;Application Type=<application type>
The following example adds the machine password change as a Sun Configuration and Service Tracker event to cst history log.
# /opt/SUNWcstu/bin/app_event "password changed" "admin=xyz"
If you want to track the password change automatically, you can add the following script to your crontab file, and run it at your desired time, for example, every hour or every day.
# This script is used for creating a cst application event of
# event type string "Password Change" by calling cst command
# app_event. You need to add this script to your crontab file.
for i in SUNWcstu SUNWcst SUNWcstv SUNWcstve
pkginfo $i 2> /dev/null 1> /dev/null
instbase=`pkginfo -r $packname`
# Set the full path to app_event
app_event=$instbase"/"$packname"/bin/app_event"
# Get the time info of the file: /etc/passwd
if test -f /tmp/cst_app_passwd
ls -l /etc/passwd | awk '{print $6, $7, $8}' > /tmp/cst_app_passwd_new
# Compare the time stamp of the passwd file, to see if there
diff /tmp/cst_app_passwd /tmp/cst_app_passwd_new > /tmp/cst_result
result=`ls -l /tmp/cst_result | awk '{print $5}'`
cp /tmp/cst_app_passwd_new /tmp/cst_app_passwd
# Call cst_app_event to register event
$app_event "Password Changed" "Changed by owner" 1> /dev/null
ls -l /etc/passwd | awk '{print $6, $7, $8}' > /tmp/cst_app_passwd
addsunfire - configures Sun Configuration and Service Tracker to track a SunFire system controller.
The addsunfire command is provided as part of the Sun Configuration and Service Tracker middleware package and is to be run from the Sun Configuration and Service Tracker middleware system. The default location is:
The command is used to configure Sun Configuration and Service Tracker to track data from a SunFire system controller. On successful execution, the command updates the cst.conf file with the configuration information.
The command can be used to set up Sun Configuration and Service Tracker tracking for SunFire 3800, 4800, 4810, and 6800.
addsunfire is an interactive command and accepts the inputs described in the following table. Most of the data for the inputs can be gathered by running the showplatform (-v option) command on the Sun Fire system controller. Consult the Sun Fire system administration documentation for details on showplatform and setupplatform commands.
The cst.conf file has a property specification defined for Sun Fire platform tracking.
SUNFIRE<tab><platform>|<sc-name>|<sc-hostid>|<snmp-port>|<snmp-comm
Assuming the Platform name of the Sun Fire system to be sunfire1 and that the Sun Fire platform is configured with a logical hostname, sf1-sc.sun.com
Platform name (not the hostname, no white-space): sunfire1 SC Hostname (if a virtual hostname is configured, then it must be provided, otherwise use the main SC hostname) : sf1-sc.sun.com
SC (main) Hostid (check showplatform -v on the main SC): 8308fcd3
Is SNMP agent enabled on the SC ? [y/n]: y
SNMP agent port (check SNMP settings the SC): 161
SNMP agent community (SNMP public community): public-comm
Hierarchy (Relative to CST repository, consult CST docs/faq): lab1/sunfires
Polling Interval (in seconds) (min 900, recommended default [1800]): 1800
Setting polling interval to 1800s.
The purpose of the cstdecomm utility is to notify AMS that no further data for this host will be transmitted, and that the data on this system is stale. A system may be decommissioned from a server when the system is no longer going to remain operational or when the system is being moved out of that environment and AMS is to no longer consider it in the availability calculations.
This utility should be executed from the server where the repository resides and requires root permission for execution.
The utility is designed to do the following:
Create the following event in the history file on the server for that monitored host:
Tracking Ended <timestamp> WEF:<dd:mm:yyyy hh:mm:ss>
Move the directory containing the agent data on the server to:
<cst db_root>/DECOMMISSIONED_AGENTS
An event is registered in the event history file on the server indicating "Tracking Ended" (from this server context). This event will be sent to AMS.
On the server hosting the repository, the directory containing the monitored system's data will be moved under a directory named "DECOMMISSIONED_HOSTS" so that no new updates can be made to this data.
The Summary email on the night of the event decommission will detect the change in the list of active hosts and notify AMS.
Sun Configuration and Service Tracker tracking of a monitored host is designed for and recommended to continue until the end of life (EOL) of that system. It should not be stopped even if it is moved to a different environment, except for specific short term Sun Configuration and Service Tracker software upgrade or a similar maintenance occurrence.
The date-time stamp can be added as an optional comment if the agent is already non-operational.
The relative path after the repository that was created to store the agent information. This option must be omitted if there is no hierarchy available.
agentname is the name of the agent as stored in the repository. This is a mandatory parameter, and agentname cannot refer to a Sun Configuration and Service Tracker server.
cstdecomm is supported on Solaris 2.6, 7, 8 9, and 10.
It is designed to work with Sun Configuration and Service Tracker 3.5.2 and Sun Configuration and Service Tracker 3.6.0. This utility does not work with versions below Sun Configuration and Service Tracker 3.0.
Sun Configuration and Service Tracker decommission utility must be run only when the agent machine is going to be in a non-operational state. Running this utility is not advised otherwise. Using this utility to do agent migration will result in unpredictable results.
The agent will not be reported to the AMS once decommissioned. Please, use the command, pkgrm SUNWcstu , in the agent before using the cstdecomm utility.
The process for decommissioning specific hosts of a multi-node/ domain platform is to use the utility mentioned above for those specific hosts. Ending tracking for the entire platform requires ending tracking on all the domains as well as the main and spare system controllers/service processors (SCs/SSPs). The Decommission utility has to be used iteratively on each of the domains and the SCs and SSPs until all the directories are moved to:
Not running a pkgrm SUNWcstu in the agent machine before decommissioning it from the Sun Configuration and Service Tracker server leads to unpredictable results.
The middleware or the platform in multi-domain systems cannot be decommissioned.
Because Sun Configuration and Service Tracker is a client-server application, the communication between the applet, the server, and the agent on the host being tracked can be unstable. This may be because either the host or the server or the Sun Configuration and Service Tracker daemon processes in them may be down momentarily. This chapter lists error messages and possible solutions.
Send comments to the Sun Configuration and Service Tracker Development Team by clicking on the Comments button at the bottom of the Sun Configuration and Service Tracker GUI.
This section contains information about the following error messages:
See Error, cannot set up TCP connection
See Wrong Component (Agent vs Server) Selected During Install
See Sun Configuration and Service Tracker Package Install Fails - Repository is a Sub-folder in /var/opt/SUNWcst
See Error in Compiling Statistics
See Site Registration Fails With Customer ID and Key
See Cannot View FRUI Data on SF15K SC
See Missing FRU Data for Mid-frame Sun Fire System Controllers
See Sun Configuration and Service Tracker Platform Data Missing on Sun Fire 15K Main SC
Problem: This might happen when a user clicks the GUI console whereas the Sun Configuration and Service Tracker Server has been restarted.
There are two possible causes of this error:
Sun Configuration and Service Tracker server daemon (cstd.svr) is down on the server machine.
Suggested action: Make sure cstd.svr is running on the machine and it has not been restarted since the GUI was invoked; type:
There is a firewall running on the server machine.
Suggested action: Consult the system administrator who owns the server. If a firewall is present, the firewall must be configured with a range of TCP ports through which Sun Configuration and Service Tracker can pass.
After the firewall is configured, enter the TCP port range into the Sun Configuration and Service Tracker file on the Sun Configuration and Service Tracker agent:/var/opt/SUNWcst/files/port_cfg
Refer to the details in See Network Protocols.
Problem: The agent component was selected during the installation.
Suggested action: To get the Server/Agent option back into the installation, you must remove the existing Sun Configuration and Service Tracker package using pkgrm. Then manually clean up the /var/opt/SUNWcst directory, and reinstall the Sun Configuration and Service Tracker package.
Problem: The Sun Configuration and Service Tracker package install fails when the database repository is a sub-folder in /var/opt/SUNWcst.
Suggested action: Create the folder for the database repository outside of /var/opt/SUNWcst. If one or more of the Sun Configuration and Service Tracker agents are attached to this agent, the move could affect the functioning of the attached agents.
Problem : In the statistics folder, the Total Time prints out an Error message like the following one:
ERROR: Time stamp incorrect on event #25
Suggested action: To fix the offending event details, call your local Sun service provider.
Problem: Registration fails when the provided customer ID and registration key is used in the Sun Configuration and Service Tracker console.
Suggested action: This can happen if the registration key is used on a system that is different from the one that sent out the registration request. Request a new registration key from the system generating the error.
Problem: Sometimes the FRU data on the SF15K system controller is not available to view.
Suggested action: Sun Configuration and Service Tracker might still be collecting FRU data. This process can take 10-15 minutes to complete.
You can turn off this feature. In the cst.conf file, set the SF15K_FRU_INTERVAL parameter to 0 and restart Sun Configuration and Service Tracker. For more details and the syntax of the cst.conf file, refer to See Tuning Sun Configuration and Service Tracker Trigger Intervals.
Problem : This might happen if the required library libfrurmi.so and other related files are not in the paths searched by Sun Configuration and Service Tracker.
Sun Fire mid-frame systems are Sun Fire 3800, 4800, 4810, and 6800.
Suggested action : Locate the library libfrurmi.so and related files, and modify the script in /opt/SUNWcstve/bin/cstrfru_start.sh. Remember that this applies only to the SUNWcstve package files.
For example, if the libfrurmi.so and related files are in the /opt/SUNWfrusg/lib directory, change the script as shown:
Problem : Sun Configuration and Service Tracker platform data is missing on Sun Fire 15K MAIN system controller. This might be because the root user is not in any of the platform groups, such as platadmn, platoper, and platsvc.
Suggested action: Modify /etc/group and add root user to one of the platform groups. This can be verified by running the showfailover -r command as root. The command should return either MAIN or SPARE. It should not return any errors about insufficient platform privileges.
See Sun Configuration and Service Tracker Console lists the folders, buttons, and other features found in the Sun Configuration and Service Tracker console..
See Event Cause Codes shows the hierarchy of Event Cause Codes for the
Why?
button
Power Sybsystem UPgrade/Maintenance |
||
Network Hardware Upgrade/Maint. |
||
Resource Group Information 1-15
Resource Type Information 1-15
Cluster & Volume Manager Events 7-2
server platforms, 4d- & 4u-based 1-12
SRS Net Connect, transport 1-24
SSP 1-13, 2-21, 2-24, 2-25, 2-26
Sun Enterprise 10000 1-12, 1-13