Main Menu

Search

Exalogic: OVS: Command To Check The Health Status of OVS Dom0 Compute Node In Exalogic Virtual Racks (How To Doc)

In Exalogic Engineered Systems with Exalogic Virtual PSU running, there may be a need to validate the health status of Dom0 Compute Nodes.

For Exalogic Virtual racks, following has to be validated in terms of Dom0 HealthCheck perspective.
  1. Both the IB Ports are UP
  2. /OVS/Repositories OVM repo is mounted.
  3. Poolfs file system is mounted.
  4. All the OVS services - ovs-agent, xend, o2cb, ocfs2 are UP and running.
  5. There are no D State processes running on the dom0 compute node.
For validating Dom0 compute node healthcheck following command can be executed on the Dom0 compute node. This one command will validate the health status of Dom0 compute node.


echo "";echo "";echo "====== df -H Output ======";echo "";df -H;echo "";echo "====== D State Processes ======";echo "";ps -elfy ww | grep ^D; echo "";echo "====== ovs-agent status ======";echo "";service ovs-agent status;echo "";echo "====== O2CB Status ======";echo "";service o2cb status;echo "";echo "====== XEND Status ======";echo "";service xend status;echo "";echo "====== OCFS2 Status";echo "";service ocfs2 status;echo "";echo "====== IB PORTS Status ======";echo "";ibstat


Below is snippet of above command.


Filesystem             Size   Used  Avail Use% Mounted on
/dev/sda5              3.2G   2.7G   318M  90% /
/dev/sda3              379G   205M   359G   1% /ssd
/dev/sda2              4.3G   310M   4.0G   8% /OVS
/dev/sda1              104M    41M    58M  42% /boot
tmpfs                  3.3G   4.1k   3.3G   1% /dev/shm
none                   3.3G   148k   3.3G   1% /var/lib/xenstored
192.168.21.5:/export/ExalogicPool1
                        68T   155M    68T   1% /nfsmnt/XXYYZZ-9294-XXYYZZ-a29e-7cd46bdb71be
/dev/mapper/ovspoolfs
                        11G   276M    11G   3% /poolfsmnt/0004fbZZZZZZZZZZZZ3d44a7fa647
192.168.21.5:/export/ExalogicRepo
                        69T   793G    68T   2% /OVS/Repositories/0004ZZZZZZZZZ6b369c095

====== D State Processes ======


====== ovs-agent status ======

log server (pid 11750) is running...
notification server (pid 12034) is running...
remaster server (pid 12050) is running...
monitor server (pid 12052) is running...
ha server (pid 12053) is running...
stats server (pid 12056) is running...
xmlrpc server (pid 12058) is running...

====== O2CB Status ======

Driver for "configfs": Loaded
Filesystem "configfs": Mounted
Stack glue driver: Loaded
Stack plugin "o2cb": Loaded
Driver for "ocfs2_dlmfs": Loaded
Filesystem "ocfs2_dlmfs": Mounted
Checking O2CB cluster "3fXXXXXXXXX375": Online
  Heartbeat dead threshold: 43201
  Network idle timeout: 150000
  Network keepalive delay: 2000
  Network reconnect delay: 2000
  Heartbeat mode: Global
Checking O2CB heartbeat: Active
  0004FB00XXXXXXXXXXA7FA647 /dev/dm-0
Nodes in O2CB cluster: 0 1 2 3
Active userdlm domains:  ovm
Debug file system at /sys/kernel/debug: mounted

====== XEND Status ======

xend daemon (pid 11262) is running...

====== OCFS2 Status

Configured OCFS2 mountpoints:  /OVS
Active OCFS2 mountpoints:  /OVS /poolfsmnt/0004fbXXXXXXXXXXXXXXX3d44a7fa647

====== IB PORTS Status ======

CA 'mlx4_0'
        CA type: MT4099
        Number of ports: 2
        Firmware version: 2.11.3030
        Hardware version: 0
        Node GUID: 0x00TTTTTTTTTTTfd0
        System image GUID: 0x00TTTTTTTTTTTfd3
        Port 1:
                State: Active
                Physical state: LinkUp
                Rate: 40
                Base lid: 19
                LMC: 0
                SM lid: 27
                Capability mask: 0x02514868
                Port GUID: 0x00TTTTTTTTTTTfd1
                Link layer: IB
        Port 2:
                State: Active
                Physical state: LinkUp
                Rate: 40
                Base lid: 20
                LMC: 0
                SM lid: 27
                Capability mask: 0x02514868
                Port GUID: 0x00TTTTTTTTTTTfd2
                Link layer: IB


Products to which Article Applies

Exalogic Engineered Systems running Exalogic Virtual releases.



tarun boyella

No comments:

Post a Comment