- Topic ID: id_18718047
- Version: 1.1
- Date: Jul 13, 2020 2:43:21 AM
IG Node Command List
1 Overview
This module describes how to verify communication between the IG Node and the DARC Node..After verifying that communication exists between the IG Node and the DARC Node, RAC diagnostics for each IG Node may be performed. Memory size is important and may be checked; however, exact memory values expected are not discussed as this memory size value may change over time and with different types of IG Nodes offered. It is currently (July, 2006) around 2 GBytes for Main memory. Application software can be started to verify that Image Generation is running, which assists in determining if the IG Node(s) is up (as we determine up and ready for recon). Refer to the System Diagrams (block diagrams) to understand connections between Nodes. Refer to the Command List to determine which commands can be performed. Additional information has been supplied for specific command outputs.
All IG Nodes must be power cycled with the DARC Node running and booted up (rsh is successful on DARC). This is performed with Apps down. The IG Node should be successfully able to perform the rsh command. If this fails, reinitialize (power cycle) the specific IG Node. To determine issues with IG Nodes, refer to the Command List and at the DARC Node perform cd /var/log and then more messages. Before replacing any IG Node, copy the DARC Node var log (relevant date and time) and include this log with the defective part.
For All-In-One Console, There is no DARC node presence. CDIP card and scan data disks are mounted in Host computer. All the commands ran on DARC node will be ran on Host computer.
For AIO console, maximum one IG is supported.
For AIO console, we can telnet to IG from Host Computer with the same command.
2 Command List
3 Usage Examples
3.1 ipmitool
{ctuser@ hostname } su -
Password: #bigguy
[root@ hostname ]# rsh darc
Last login: Mon Aug 6 19:35:00 from oc
You have new mail.
[root@darc ~]# ipmitool -I lan -H ig1 -A NONE chassis power status
Chassis Power is on
[root@darc ~]# ipmitool -I lan -H ig1 -A NONE chassis power status
Chassis Power is off
[root@darc ~]# service igpower1 start
Starting ig1: [ OK ]
To remove power to the chassis, perform the following command:
[root@darc ~]# service igpower1 stop
Stopping ig1: [ OK ]
3.2 image_generation (Apps Up)
ctuser@ig1: ps –leaf | grep –v grep | grep image_generation
4 S ctuser 767 766 0 81 0 - 1143 rt_sig 14:52 ? 00:00:00 csh -c
image_generation -bp 0 -host darc -node 1 -vrac 0
0 S ctuser 785 767 0 75 0 - 48692 - 14:52 ? 00:00:00
image_generation -bp 0 -ho st darc -node 1 -vrac 0
4 IG Node dpcproxy cliservice Verification
{ctuser@hostname} su -
Password: <password>
[root@hostname]# telnet localhost 623
Trying 127.0.0.1...
Failed to connect to localhost.
[root@hostname]# rsh darc
Last login: Mon Aug 6 19:35:00 from oc
You have new mail.
[root@darc ~]# ps -aef |grep dpcproxy
root 3836 3817 0 15:07 pts/10 00:00:00 grep dpcproxy
If the /usr/local/cli/dpcproxy information is not displayed then restart the cliservice. .
Alternate command: ps -aef | grep –v grep | grep dpcproxy
When this command is performed (ignore grep) then there will not be any output at all if the dpcproxy server is not running
[root@darc ~]# /etc/rc.d/init.d/cliservice
[root@darc ~]# service cliservice start
The dpcproxy is running
dpcproxy cliservice has been restarted
[root@darc ~]# ps -aef |grep dpcproxy
root 2891 1 0 14:51 ? 00:00:00 /usr/local/cli/dpcproxy
root 3836 3817 0 15:07 pts/10 00:00:00 grep dpcproxy
5 IG Node Ping and Remote Shell
This subsection will verify the IG Node can be communicated too or pinged via the DARC Node. After verifying the ping communication line exists between the specific IG Node and the DARC Node a remote shell will be invoked to determine if the specific IG Node is up. This can be performed as ctuser or as root (not insight).
Open a Unix Shell and type the following:
{ctuser@hostname} su -
Password: <password>
[root@hostname]# rsh darc
Last login: Mon Aug 6 19:35:00 from oc
You have new mail.
[root@darc ~]# ping ig1 (or ig2 or ig3 as applicable)
PING ig1 (10.0.1.2) from (10.0.1.1): 56(84) bytes of data.
64 bytes from ig1 (10.0.1.2) icmp_seq=1 ttl=64 time=0.157 ms
64 bytes from ig1 (10.0.1.2) icmp_seq=2 ttl=64 time=0.209 ms
64 bytes from ig1 (10.0.1.2) icmp_seq=3 ttl=64 time=0.175 ms
64 bytes from ig1 (10.0.1.2) icmp_seq=4 ttl=64 time=0.134 ms
Select: Control-C to stop the ping
--- ig1 ping statistics ---
4 packets transmitted, 4 received, 0% loss, time 3000ms
rtt min/avg/max/mdev = 0.134/0.168/0.209/0.031 ms
[root@darc ~]$ rsh ig1
(ignore the following messages)
connect to address 10.0.1.2: Connection refused
Trying krb4 rlogin...
connect to address 10.0.1.2: Connection refused
trying normal rlogin (/usr/bin/rlogin)
Last login: Mon Aug 6 19:35:00 from darc
[root@ig1 ~] exit
logout
rlogin: connection closed.
[root@darc ~] exit
logout
rlogin: connection closed.
[root@hostname]#
6 DARC Node ifconfig Verification
This subsection will confirm the DARC Node address and the DARC Node Subnet address. Specific sites may require changing the DARC Subnet to a 169 base address due to a Hospital Backbone conflict with the 172.16.0.x base address. This 172 base address is the default. It is loaded onto the Host and DARC Node during the Load From Cold software installation process unless the DARC Subnet box is selected and the alternate address supplied is inserted.
Remember to resave the System State Reconfig Info File whenever the DARC Subnet address is modified.
DEFAULT DARC Subnet address: inet addr: 172 16.0.2 Bcast: 172.16.0.255 Mast: 255.255.255.0
ALTERNATE DARC Subnet address:
inet addr: 169.254.0.2 Bcast: 169.254.0.255 Mast: 255.255.255.0
7 DARC Node ifconfig Running and Address Verification
{ctuser@hostname} su -
Password: <password>
[root@hostname]# rsh darc
Last login: Mon Aug 6 19:35:00 from oc
You have new mail.
[root@darc ~]# ifconfig
The eth2 inet addr and Bcast may be different for specific sites that have experienced a 172.16.0.x HOSPITAL Backbone conflict. These specific sites will have a specific 169.254.0.2 address.
eth0 Link encap:Ethernet HWaddr 00:04:23:CA:7E:B8
eth0 inet addr:10.0.2.1 Bcast:10.0.2.255 Mask:255.255.255.0
IG2 inet6 addr: fe80::204:23ff:feca:7eb8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:166057 errors:0 dropped:0 overruns:0 frame:0
TX packets:146124 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:32397595 (30.8 Mb) TX bytes:91184965 (86.9 Mb)
Base address:0xc400 Memory:cfe80000-cfea0000
eth1 Link encap:Ethernet HWaddr 00:04:23:CA:7E:B9
IG1 inet addr:10.0.1.1 Bcast:10.0.1.255 Mask:255.255.255.0
inet6 addr: fe80::204:23ff:feca:7eb9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:164105 errors:0 dropped:0 overruns:0 frame:0
TX packets:141147 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:31762737 (30.2 Mb) TX bytes:84167297 (80.2 Mb)
Base address:0xc480 Memory:cfea0000-cfec0000
eth2 Link encap:Ethernet HWaddr 00:04:23:BB:DB:EC
eth2 inet addr:172.16.0.2 Bcast:172.16.0.255 Mask:255.255.255.0
DARC inet6 addr: fe80::204:23ff:febb:dbec/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:89484 errors:0 dropped:0 overruns:0 frame:0
TX packets:121201 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:15385255 (14.6 Mb) TX bytes:13943296 (13.2 Mb)
Base address:0xdc00 Memory:cffa0000-cffc0000
eth3 Link encap:Ethernet HWaddr 00:04:23:BB:DB:ED
IG3 inet addr:10.0.3.1 Bcast:10.0.3.255 Mask:255.255.255.0
inet6 addr: fe80::204:23ff:febb:dbed/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:152621 errors:0 dropped:0 overruns:0 frame:0
TX packets:118265 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:28314323 (27.0 Mb) TX bytes:55007399 (52.4 Mb)
Base address:0xdc80 Memory:cffe0000-d0000000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:101274 errors:0 dropped:0 overruns:0 frame:0
TX packets:101274 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5267464 (5.0 Mb) TX bytes:5267464 (5.0 Mb)
Following is an example output of ifconfig ran on Host computer of All-in-one Console. For AIO console, IG node is connected to Host Computer.
{ctuser@hostname}ifconfig
eth0 Link encap:Ethernet HWaddr 00:1B:21:02:18:E4
(IG Node) inet addr:10.0.1.1 Bcast:10.0.1.255 Mask:255.255.255.0
inet6 addr: fe80::21b:21ff:fe02:18e4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:425 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:27200 (26.5 KiB) TX bytes:492 (492.0 b)
Base address:0x2400 Memory:f2180000-f21a0000
eth1 Link encap:Ethernet HWaddr 00:1B:21:02:18:E5
inet addr:192.9.220.1 Bcast:192.9.220.255 Mask:255.255.255.0
inet6 addr: fe80::21b:21ff:fe02:18e5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3788 errors:0 dropped:0 overruns:0 frame:0
TX packets:3758 errors:0 dropped:0 overruns:0 carrier:0
collisions:36 txqueuelen:10
RX bytes:646931 (631.7 KiB) TX bytes:492127 (480.5 KiB)
Base address:0x2440 Memory:f21a0000-f21c0000
eth2 Link encap:Ethernet HWaddr 00:0E:0C:AA:52:4E
inet addr:3.36.231.122 Bcast:3.36.231.255 Mask:255.255.252.0
inet6 addr: fe80::20e:cff:feaa:524e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:11874 errors:0 dropped:0 overruns:0 frame:0
TX packets:2090 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:3014106 (2.8 MiB) TX bytes:234499 (229.0 KiB)
Base address:0x2480 Memory:f21c0000-f21e0000
eth3 Link encap:Ethernet HWaddr 00:0E:0C:AA:52:4F
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Base address:0x24c0 Memory:f21e0000-f2200000
eth4 Link encap:Ethernet HWaddr 00:1A:4B:54:94:9D
inet addr:10.44.22.20 Bcast:10.44.22.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:177
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:103607 errors:0 dropped:0 overruns:0 frame:0
TX packets:103607 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:101229370 (96.5 MiB) TX bytes:101229370 (96.5 MiB)
8 dpccli Help Menu
dpccli> help
alarm -q { -g <id> [ -o <id> ] [-a <id> ] } | { -l <severity> } | -p
alarm -s -a <id> -l <severity>
alarm -c { -g <id> [ -o <id> ] [-a <id> ] } | { -l <severity> } | all
boot -s normal | service [-f] [-console]
clear
clearlog
commit
console
displaylog [-F csv|hex|dsv] [-O filename] [-n <num>]
exit
quit
get -T <target> <options>
help [-C <command>]
id
identify [-on [<seconds>]] [-off]
identify -s
interrupt -i nonmask [-console]
power { -on [-console] } | -off
power -state
reset [-console]
sensors [-v] [-F csv|dsv] [-f ok|nc|cr|nr|us] [-T volt|temp|power|fan]
service { console | exit | ftp { start | stop } }
set -T <target> <options>
shutdown [-f] [-r]
version