ASR and IP Addresses on PCA/OVCA

How to determine OVCA or PCA Management Node, Compute Node, and ILOM service processor IP addresses

The asr command has various switches that give information on the assets; however, the assets are generally list by ILOM address.  So how do you get the asset listing and how do you map it back to the primary IP of the Compute node?

 

[root@ovcamn06r1 bin]# ./asr list_asset

        Usage: list_asset [-i ip] [-h host] [-s subnet] [-c Display assets list in csv format] [-?]

-s subnet

--subnet=subnet

List activation and ASR status by subnet. Subnet value can be a comma delimited list.

[root@ovcamn06r1 bin]# ./asr list_asset -s 192.168.4

IP_ADDRESS    HOST_NAME           SERIAL_NUMBER PARENT_SERIAL ASR PROTOCOL SOURCE LAST_HEARTBEAT PRODUCT_NAME                  

----------    ---------           ------------- ------------- --- -------- ------ -------------- ------------                  

192.168.4.114 ORACLESP-1527NM10F6 1527NM10F6                  Y   SNMP     ILOM   NA             ORACLE SERVER X5-2            

192.168.4.105 ORACLESP-1534NM1011 1534NM1011                  Y   SNMP     ILOM   NA             ORACLE SERVER X5-2            

192.168.4.103 ilom-ovcamn05r1     1534NM1024                  Y   SNMP     ILOM   NA             ORACLE SERVER X5-2            

192.168.4.116 ORACLESP-1534NM102A 1534NM102A                  Y   SNMP     ILOM   NA             ORACLE SERVER X5-2            

192.168.4.120 ORACLESP-1534NM103A 1534NM103A                  Y   SNMP     ILOM   NA             ORACLE SERVER X5-2            

192.168.4.106 ORACLESP-1534NM103C 1534NM103C                  Y   SNMP     ILOM   NA             ORACLE SERVER X5-2            

192.168.4.109 ORACLESP-1534NM103X 1534NM103X                  Y   SNMP     ILOM   NA             ORACLE SERVER X5-2             

192.168.4.125 ORACLESP-1534NM1043 1534NM1043                  Y   SNMP     ILOM   NA             ORACLE SERVER X5-2            

192.168.4.108 ORACLESP-1534NM1047 1534NM1047                  Y   SNMP     ILOM   NA             ORACLE SERVER X5-2             

192.168.4.110 ORACLESP-1534NM104A 1534NM104A                  Y   SNMP     ILOM   NA             ORACLE SERVER X5-2            

192.168.4.115 ORACLESP-1534NM104D 1534NM104D                  Y   SNMP     ILOM   NA             ORACLE SERVER X5-2             

192.168.4.122 ORACLESP-1546NM10JR 1546NM10JR                  Y   SNMP     ILOM   NA             ORACLE SERVER X5-2            

192.168.4.117 ORACLESP-1546NM10JV 1546NM10JV                  Y   SNMP     ILOM   NA             ORACLE SERVER X5-2             

192.168.4.118 ORACLESP-1546NM10K0 1546NM10K0                  Y   SNMP     ILOM   NA             ORACLE SERVER X5-2            

192.168.4.119 ORACLESP-1546NM10K3 1546NM10K3                  Y   SNMP     ILOM   NA             ORACLE SERVER X5-2             

192.168.4.121 ORACLESP-1546NM10K7 1546NM10K7                  Y   SNMP     ILOM   NA             ORACLE SERVER X5-2            

192.168.4.124 ORACLESP-1546NM10K8 1546NM10K8                  Y   SNMP     ILOM   NA             ORACLE SERVER X5-2             

192.168.4.112 ORACLESP-1546NM10KA 1546NM10KA                  Y   SNMP     ILOM   NA             ORACLE SERVER X5-2            

192.168.4.113 ORACLESP-1546NM10KB 1546NM10KB                  Y   SNMP     ILOM   NA             ORACLE SERVER X5-2            

192.168.4.111 ORACLESP-1546NM10KD 1546NM10KD                  Y   SNMP     ILOM   NA             ORACLE SERVER X5-2            

192.168.4.107 ORACLESP-1546NM10KE 1546NM10KE                  Y   SNMP     ILOM   NA             ORACLE SERVER X5-2            

192.168.4.104 ilom-ovcamn06r1     1546NM10KL                  Y   SNMP     ILOM   NA             ORACLE SERVER X5-2            

192.168.4.200 ovcasw21ar1         AK00335296                  Y   SNMP     ILOM   NA             Oracle Switch ES1-24          

192.168.4.201 ovcasw21br1         AK00335297                  Y   SNMP     ILOM   NA             Oracle Switch ES1-24          

192.168.4.203 ovcasw20r1          AK00335855                  Y   SNMP     ILOM   NA             Sun Datacenter InfiniBand Switch 36

192.168.4.202 ovcasw19r1          AK00335857                  Y   SNMP     ILOM   NA             Sun Datacenter InfiniBand Switch 36

 

Once you have the asset list, you can get the individual asset lists per host (using ILOM hostname) or IP (using -i).

[root@ovcamn06r1 bin]# ./asr list_asset -h ORACLESP-1546NM10K8

IP_ADDRESS    HOST_NAME           SERIAL_NUMBER PARENT_SERIAL ASR PROTOCOL SOURCE LAST_HEARTBEAT PRODUCT_NAME

----------    ---------           ------------- ------------- --- -------- ------ -------------- ------------

192.168.4.124 ORACLESP-1546NM10K8 1546NM10K8                  Y   SNMP     ILOM   NA             ORACLE SERVER X5-2


-i ip

--ipaddress=ip

List activation and ASR status by ipaddress. IP value can be a comma delimited list.

[root@ovcamn06r1 bin]# ./asr list_asset -i 192.168.4.108

IP_ADDRESS    HOST_NAME           SERIAL_NUMBER PARENT_SERIAL ASR PROTOCOL SOURCE LAST_HEARTBEAT PRODUCT_NAME

----------    ---------           ------------- ------------- --- -------- ------ -------------- ------------

192.168.4.108 ORACLESP-1534NM1047 1534NM1047                  Y   SNMP     ILOM   NA             ORACLE SERVER X5-2


If you want to map the Server hostname back to the ILOM hostname, you can execute the following.  The ilom suffix will pre-pend the actual Server hostname.

 

[root@ovcamn06r1 bin]# cat /etc/dhcp/dhcpd_dynamic.conf |grep ilom

host ilom-ovcacn10r1 { hardware ethernet 00:xx:xx:x0:17:37; fixed-address 192.168.4.105;default-lease-time 600;}

host ilom-ovcacn26r1 { hardware ethernet 00:xx:xx:xd:a0:cb; fixed-address 192.168.4.106;default-lease-time 600;}

host ilom-ovcacn33r1 { hardware ethernet 00:xx:xx:xe:2f:cd; fixed-address 192.168.4.107;default-lease-time 600;}

host ilom-ovcacn14r1 { hardware ethernet 00:xx:xx:xd:5d:4b; fixed-address 192.168.4.108;default-lease-time 600;}

host ilom-ovcacn11r1 { hardware ethernet 00:xx:xx:xd:67:a1; fixed-address 192.168.4.109;default-lease-time 600;}

host ilom-ovcacn29r1 { hardware ethernet 00:xx:xx:xd:6f:7b; fixed-address 192.168.4.110;default-lease-time 600;}

host ilom-ovcacn07r1 { hardware ethernet 00:xx:xx:xe:2f:4f; fixed-address 192.168.4.111;default-lease-time 600;}

host ilom-ovcacn36r1 { hardware ethernet 00:xx:xx:xe:30:69; fixed-address 192.168.4.112;default-lease-time 600;}

host ilom-ovcacn35r1 { hardware ethernet 00:xx:xx:xe:68:13; fixed-address 192.168.4.113;default-lease-time 600;}

host ilom-ovcacn30r1 { hardware ethernet 00:xx:xx:xa:e1:89; fixed-address 192.168.4.114;default-lease-time 600;}

host ilom-ovcacn12r1 { hardware ethernet 00:xx:xx:xd:4d:a3; fixed-address 192.168.4.115;default-lease-time 600;}

host ilom-ovcacn28r1 { hardware ethernet 00:xx:xx:xd:a0:47; fixed-address 192.168.4.116;default-lease-time 600;}

host ilom-ovcacn37r1 { hardware ethernet 00:xx:xx:xe:5f:4f; fixed-address 192.168.4.117;default-lease-time 600;}

host ilom-ovcacn34r1 { hardware ethernet 00:xx:xx:xe:5f:a9; fixed-address 192.168.4.118;default-lease-time 600;}

host ilom-ovcacn31r1 { hardware ethernet 00:xx:xx:xe:61:53; fixed-address 192.168.4.119;default-lease-time 600;}

host ilom-ovcacn13r1 { hardware ethernet 00:xx:xx:xd:4e:39; fixed-address 192.168.4.120;default-lease-time 600;}

host ilom-ovcacn32r1 { hardware ethernet 00:xx:xx:xe:2f:55; fixed-address 192.168.4.121;default-lease-time 600;}

host ilom-ovcacn08r1 { hardware ethernet 00:xx:xx:xe:60:db; fixed-address 192.168.4.122;default-lease-time 600;}

host ilom-ovcacn09r1 { hardware ethernet 00:xx:xx:xd:8c:fd; fixed-address 192.168.4.124;default-lease-time 600;}

host ilom-ovcacn27r1 { hardware ethernet 00:xx:xx:xd:66:6f; fixed-address 192.168.4.125;default-lease-time 600;}

host ilom-ovcamn06r1 { hardware ethernet 00:xx:xx:xe:5f:b5; fixed-address 192.168.4.104; default-lease-time 600;}

host ilom-ovcamn05r1 { hardware ethernet 00:xx:xx:xd:a1:55; fixed-address 192.168.4.103; default-lease-time 600;}


Note, the IP address is ILOM IP, to get Server IP subtract the last octet by 100;eg, 105 -100 = 5, this 192.168.4.5 is the Server IP.  To validate, execute:

 

PCA> list compute-node

 

Compute_Node  IP_Address    Provisioning_Status  ILOM_MAC            Provisioning_State

————  ———-    ——————-  ——–            ——————

ovcacn34r1    192.168.4.18  RUNNING              00:xx:xx:xe:5f:a9   running

ovcacn37r1    192.168.4.17  RUNNING              00:xx:xx:xe:5f:4f   running

ovcacn29r1    192.168.4.10  RUNNING              00:xx:xx:xd:6f:7b   running

ovcacn36r1    192.168.4.12  RUNNING              00:xx:xx:xe:30:69   running

ovcacn11r1    192.168.4.9   RUNNING              00:xx:xx:xd:67:a1   running

ovcacn26r1    192.168.4.6   RUNNING              00:xx:xx:xd:a0:cb   running

ovcacn07r1    192.168.4.11  RUNNING              00:xx:xx:xe:2f:4f   running

ovcacn30r1    192.168.4.14  RUNNING              00:xx:xx:xa:e1:89   running

ovcacn35r1    192.168.4.13  RUNNING              00:xx:xx:xe:68:13   running

ovcacn33r1    192.168.4.7   RUNNING              00:xx:xx:xe:2f:cd   running

ovcacn10r1    192.168.4.5   RUNNING              00:xx:xx:x0:17:37   running

ovcacn28r1    192.168.4.16  RUNNING              00:xx:xx:xd:a0:47   running

ovcacn12r1    192.168.4.15  RUNNING              00:xx:xx:xd:4d:a3   running

ovcacn08r1    192.168.4.22  RUNNING              00:xx:xx:xe:60:db   running

ovcacn14r1    192.168.4.8   RUNNING              00:xx:xx:xd:5d:4b   running

ovcacn32r1    192.168.4.21  RUNNING              00:xx:xx:xe:2f:55   running

ovcacn31r1    192.168.4.19  RUNNING              00:xx:xx:xe:61:53   running

ovcacn09r1    192.168.4.24  RUNNING              00:xx:xx:xd:8c:fd   running

ovcacn27r1    192.168.4.25  RUNNING              00:xx:xx:xd:66:6f   running

ovcacn13r1    192.168.4.20  RUNNING              00:xx:xx:xd:4e:39   running

 

PCA> list compute-node

 

Compute_Node  IP_Address    Provisioning_Status  ILOM_MAC            Provisioning_State

————  ———-    ——————-  ——–            ——————

ovcacn34r1    192.168.4.18  RUNNING              00:xx:xx:xe:5f:a9   running

ovcacn37r1    192.168.4.17  RUNNING              00:xx:xx:xe:5f:4f   running

ovcacn29r1    192.168.4.10  RUNNING              00:xx:xx:xd:6f:7b   running

ovcacn36r1    192.168.4.12  RUNNING              00:xx:xx:xe:30:69   running

ovcacn11r1    192.168.4.9   RUNNING              00:xx:xx:xd:67:a1   running

ovcacn26r1    192.168.4.6   RUNNING              00:xx:xx:xd:a0:cb   running

ovcacn07r1    192.168.4.11  RUNNING              00:xx:xx:xe:2f:4f   running

ovcacn30r1    192.168.4.14  RUNNING              00:xx:xx:xa:e1:89   running

ovcacn35r1    192.168.4.13  RUNNING              00:xx:xx:xe:68:13   running

ovcacn33r1    192.168.4.7   RUNNING              00:xx:xx:xe:2f:cd   running

ovcacn10r1    192.168.4.5   RUNNING              00:xx:xx:x0:17:37   running

ovcacn28r1    192.168.4.16  RUNNING              00:xx:xx:xd:a0:47   running

ovcacn12r1    192.168.4.15  RUNNING              00:xx:xx:xd:4d:a3   running

ovcacn08r1    192.168.4.22  RUNNING              00:xx:xx:xe:60:db   running

ovcacn14r1    192.168.4.8   RUNNING              00:xx:xx:xd:5d:4b   running

ovcacn32r1    192.168.4.21  RUNNING              00:xx:xx:xe:2f:55   running

ovcacn31r1    192.168.4.19  RUNNING              00:xx:xx:xe:61:53   running

ovcacn09r1    192.168.4.24  RUNNING              00:xx:xx:xd:8c:fd   running

ovcacn27r1    192.168.4.25  RUNNING              00:xx:xx:xd:66:6f   running

ovcacn13r1    192.168.4.20  RUNNING              00:xx:xx:xd:4e:39   running

 

I generally do a asset list generation via a csv

Display asset list to csv format. Please run “list_asset -c > asr_assets.csv” to copy the list_asset output into a csv file.

./asr list_asset –c >$HOME/asr_assets_all.csv