The onstat -g cmsm command displays Connection Manager information. and replicate sets on each of the servers within the domain. If a replicated table is undergoing an alter operation, the onstat -g cat command shows that it is in alter mode. This command can be used to determine:
The example below is from onstat -g cac ed, most of the options have a similar format and detail the same information
Unified Connection Manager: ucm1 Hostname: frodo CLUSTER cluster1 LOCAL SLA Connections Service/Protocol Rule cm_primary1 0 9050/onsoctcp DBSERVERS=primary cm_sds1 0 9051/onsoctcp DBSERVERS=SDS cm_hdr1 0 9052/onsoctcp DBSERVERS=HDR cm_rss1 0 9053/onsoctcp DBSERVERS=RSS Failover Arbitrator: Active Arbitrator, Primary is up TIMEOUT=10 ORDER=SDS RETRY=1 PRIORITY=1 Unified Connection Manager: ucm2 Hostname: frodo CLUSTER cluster1 LOCAL SLA Connections Service/Protocol Rule cm_primary2 0 9060/onsoctcp DBSERVERS=primary cm_sds2 0 9061/onsoctcp DBSERVERS=SDS cm_hdr2 0 9062/onsoctcp DBSERVERS=HDR cm_rss2 0 9063/onsoctcp DBSERVERS=RSS Failover Arbitrator: Active Arbitrator, Primary is up ORDER=SDS,HDR,RSS TIMEOUT=10 RETRY=1 PRIORITY=2
The output of the onstat -g cmsm command is divided into several sections. The first section displays the Connection Manager instance name and host name. The rest of the sections display service level agreements and failover configurations for each connection unit.
Field | Description |
---|---|
Connection Manager Name | The name of the Connection Manager instance. |
Hostname | The name of the host. |
SLA | The name of the service level agreement. |
Connections | The number of connections that are processed with the service level agreement. |
Service/Protocol | The port number or service name associated with the Service Level Agreement, followed by the protocol (onsoctcp, drsoctcp, onsocssl, drsocssl). |
Rule | The service level agreement definition which can include server types (Primary, SDS, RSS, HDR) or server names. |
Failover Configuration | |
Connection Manager Name | The name of the Connection Manager instance. |
Rule | The failover configuration. |
Timeout | The timeout value, in seconds, for the failover configuration. |
State | An indicator of the status of the primary server. Also indicates the Connection Manager instance serving as the failover arbitrator. |
To discuss how Oninit ® can assist please call on +1-913-674-0360 or alternatively just send an email specifying your requirements.