Main Menu

Search

Showing posts with label Linker Article Exalogic. Show all posts
Showing posts with label Linker Article Exalogic. Show all posts

Exalogic EMOC: How to Enable Cacao Debugs On Proxy Controller PC1 & PC2 VMs

To enable Cacao debugs Login to Proxy Controller VMs as root user and execute below command.

/opt/sun/xvm/bin/proxy_set_cacao_levels.pl d

To disable above cacao debugs, run below command again as root user.

/opt/sun/xvm/bin/proxy_set_cacao_levels.pl p

EXALOGIC: INFINIBAND: Command to Check Symbol Errors on IB Ports on Compute Nodes (How To Doc)

Below command can be used on Exalogic Compute nodes to check for Symbol Errors on IB Ports on Compute Nodes.
cat /sys/class/infiniband/mlx4_0/ports/*/counters/symbol_error
Below is example snippet of above command. In this case there are zero symbol errors on both the IB ports.
# cat /sys/class/infiniband/mlx4_0/ports/*/counters/symbol_error 
0 
0 

Products to which Article Applies
Exalogic racks using Infiniband Switches
Article Author: Tarun Boyella

EXALOGIC: INFINIBAND: "perfquery" command to check Symbol Errors and Other details of Compute Nodes Ports (How To Doc)

Following perfquery command can be executed on Compute node to check the Symbol Errors and Other details of Compute Nodes Ports.
perfquery <Baselid> <Port>
We can get Base lid and Port details from "ibstat" command of the Compute Node. Below is example snippet of "ibstat" command.
CA 'mlx4_0' 
CA type: MT26428 
Number of ports: 2 
Firmware version: 2.11.2010 
Hardware version: b0 
Node GUID: XXXXXXXXXXXXX 
System image GUID: XXXXXXXXXXXXX 

Port 1: 
State: Active 
Physical state: LinkUp 
Rate: 40 
Base lid: 7 
LMC: 0 
SM lid: 41 
Capability mask: 0x02510868 
Port GUID: XXXXXXXXXXXXX 
Link layer: IB 

Port 2: 
State: Active 
Physical state: LinkUp 
Rate: 40 
Base lid: 9 
LMC: 0 
]SM lid: 41 
Capability mask: 0x02510868 
Port GUID: XXXXXXXXXXXXX 
Link layer: IB 
From above output we can see Base lid for Ports 1 and 2 of Compute Nodes. Now if we want to run perfquery on Port 1 on lid 7 command will look as follows:

perfquery 7 1
Below is example snippet of above command. If we notice Symbol Errors increasing in above command output, then it indicates that there is an issue with Compute node IB Port (bad cable, loose cable or other issues).
 # Port counters: Lid 7 port 1 (CapMask: 0x1400) 
PortSelect:......................1 
CounterSelect:...................0x0000 
SymbolErrorCounter:..............0 
LinkErrorRecoveryCounter:........0 
LinkDownedCounter:...............0 
PortRcvErrors:...................0 
PortRcvRemotePhysicalErrors:.....0 
PortRcvSwitchRelayErrors:........0 
PortXmitDiscards:................2 
PortXmitConstraintErrors:........0 
PortRcvConstraintErrors:.........0 
CounterSelect2:..................0x00 
LocalLinkIntegrityErrors:........0 
ExcessiveBufferOverrunErrors:....0 
VL15Dropped:.....................0 
PortXmitData:....................4294967295 
PortRcvData:.....................4294967295 
PortXmitPkts:....................4294967295 
PortRcvPkts:.....................1088593887 
PortXmitWait:....................65418428 

Products to which Article Applies
Exalogic racks using Infiniband Switches

Article Author: Tarun Boyella

EXALOGIC: INFINIBAND: How to correlate which Physical Connector Ports of IB Switch are connected to which Compute Nodes?

On IB Switches typically Switch ports will have physical name for connector ports which is different than the Switch Port numbers seen in "ibnetdiscover" command. Names for Switch Ports will be 1A, 1B ... 14A, 14B ... etc. These names can be mapped to Switch Port numbers by looking at "listlinkup" command output.

For e.g. if you want to track the Switch connector port 13A below is how we can do it.

Run "listlinkup" command to see to which Switch Port the Switch Connector port 13A maps to. For e.g. from listlinkup command example output below we see as follows that connector port 13A corresponds to Switch Port 9.
 Connector 13A Present <-> Switch Port 9 up (Enabled) 
Now run "ibnetdiscover" command. From ibnetdiscover output we see switch Port 9 of both Switches is connected to Compute node 6 as seen in below example output. 

 Ca 2 "H-XXXXXXXXX" # "el01cn06 EL-C  XX.XX.XX.XX HCA-1" 
[2](ZZZZZZZZZZZZZZ) "S-00XXXXXXXXXX0a0"[9] # lid 25 lmc 0 "SUN IB QDR GW switch el01gw02 XX.XX.XX.XX leaf:2" lid 11 4xQDR 
[1](ZZZZZZZZZZZZZZ) "S-00XXXXXXXXXX0a0"[9] # lid 24 lmc 0 "SUN IB QDR GW switch el01gw01 XX.XX.XX.XX leaf:1" lid 41 4xQDR  



Products to which Article Applies
Infiniband Switches

Article Author: Tarun Boyella

EXALOGIC INFINIBAND: Steps for rebooting the Infiniband NM2-GW Switches Leaf Switches in Exalogic (How To Doc)


Below are steps for rebooting NM2-GW Infiniband Leaf switches in Exalogic rack.

1. Login to one of the NM2-GW Switches and run below “getmaster”, which will return either GW01, GW02. In this case lets assume GW01 is running the master.

getmaster

Below is example output of above command.

# getmaster
Local SM enabled and running, state MASTER
2015XXX2 YY:XX:27 Master SubnetManager on sm lid 15 sm guid ZZZZZZZZZZZZZZZZ : SUN IB QDR GW switch GW01 10.10.XX.XX 

2. Login to the switch NOT returned by getmaster and which is NOT running the Master. In this case lets assume GW02. Reboot GW02 switch using below "reboot" command.


reboot

Wait for the switch to come back up. When the Switch comes back up, verify that SM is running and GW02 is in STAND BY be executing below “getmaster”.
getmaster

Below is example output of above command.
# getmaster
Local SM enabled and running, state STAND BY
201XXX2 YY:XX:27 Master SubnetManager on sm lid 15 sm guid ZZZZZZZZZZZZZZZZ : SUN IB QDR GW switch GW01 10.10.XX.XX 

If SM is not enabled on the switch, enable back the SM by running below command.

enablesm

3. Login to SM master switch. In this case, GW01. Execute below “disablesm” command.
disablesm

Verify that master moves to GW02. This can be verified by again running below "getmaster" command.


4. Reboot the switch (GW01) using below "reboot" command.
reboot

Wait for the switch to come back up. Once the switch comes back up verify that SM is running on it and it is the standby Switch. To verify whether SM is running on GW01 and if it standby Switch we can run below "getmaster" command on GW01.
getmaster

If SM is not enabled on the switch, enable back the SM by running below command.
enablesm

Products to which Article Applies

Exalogic rack Infiniband Switches (Applies to both Exalogic Physical and Virtual racks)


EXALOGIC: System Administrator's Guide Documentation Links For Managing Exalogic Virtual Racks


Main Exalogic Cloud Administrators Documentation Link

https://docs.oracle.com/cd/E18476_01/doc.220/e25258/toc.htm

Create Cloud Admin and Users from EMOC

http://docs.oracle.com/cd/E18476_01/doc.220/e25258/roles.htm

Create Client Access EoIB Networks from EMOC

http://docs.oracle.com/cd/E18476_01/doc.220/e25258/proc.htm

Create vServer Types from EMOC

http://docs.oracle.com/cd/E18476_01/doc.220/e25258/proc.htm

Create vDC Account from EMOC(Cloud Resource Quotas/User Assignment/Tenancies)

http://docs.oracle.com/cd/E18476_01/doc.220/e25258/advproc.htm

Uploading vServer template from EMOC

http://docs.oracle.com/cd/E18476_01/doc.220/e25258/app_vdc_cli.htm

Create Private vNets from EMOC

http://docs.oracle.com/cd/E18476_01/doc.220/e25258/proc.htm#BABEJCJD

Create Distribution Groups from EMOC

http://docs.oracle.com/cd/E18476_01/doc.220/e25258/proc.htm#BABDDFED

Create vServers from EMOC

http://docs.oracle.com/cd/E18476_01/doc.220/e25258/proc.htm#CHDIHDEI


_________________________________________________________

Products to which Article Applies


Exalogic Virtual Racks.

Additional References


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.