The procedure for replacing the PCI card can vary depending on whether the PCI card is only connected to the cluster interconnect or connected to the cluster interconnect and GLS Public LAN.
Save hardware configuration information in the file before replacing the cluster interconnect.
# /usr/sbin/prtpicl -v > pre_prtpicl.log
Check the location of the PCI slot on which the PCI card is installed. Check the PCI slot by blinking the ALARM LED of the PCI slot. Stop the blinking LED after the slot is checked.
# cftool -d Number Device Type Speed Mtu State Configured Address 1 /dev/fjgi1 4 100 1432 UP YES 00.00.0e.25.1a.38 2 /dev/fjgi7 4 100 1432 UP YES 00.00.0e.25.1a.38 # /usr/sbin/FJSVmadm/inst2comp fjgi7 pcipsy8:R0B00-PCI#slot05 # cfgadm -x led=fault,mode=blink pcipsy8:R0B00-PCI#slot05 # cfgadm -x led=fault,mode=off pcipsy8:R0B00-PCI#slot05
Disconnect the device from the cluster interconnect. Then, check if "Receptacle" is "disconnected" and "Occupant" is "unconfigured" respectively.
# cfrecon -d /dev/fjgi7 Delete Cluster Interconnect: device "/dev/fjgi7" successfully removed from node configuration # cfgadm -c disconnect pcipsy8:R0B00-PCI#slot05 # cfgadm pcipsy8:R0B00-PCI#slot05 Ap_Id Type Receptacle Occupant Condition pcipsy8:R0B00-PCI#slot05 unknown disconnected unconfigured unknown
CE removes the PCI card that is installed on the PCI slot.
CE installs a new PCI card on the PCI slot.
Determine the value that indicates the PCI slot location.
See the "ap_id" format described in "1.3.1 Displaying the PCI card" of the "Oracle Solaris Administration: Devices and File Systems.".
Enable the PCI card on the Solaris OE. Specify the value at step 6 after "cfgadm -c configure". Then, check if "Receptacle" is "connected" and "Occupant" is "configured" respectively.
# cfgadm -c configure pcipsy18:R0B02-PCI#slot02 # cfgadm pcipsy18:R0B02-PCI#slot02
Ap_Id Type Receptacle Occupant Condition pcipsy18:R0B02-PCI#slot02 bridge/hp connected configured ok
Save hardware configuration information in a different file than that previously used.
# /usr/sbin/prtpicl -v > post_prtpicl.log
Compare the files and specify the interface name and number of the PCI card.
# diff -c pre_prtpicl.log post_prtpicl.log | more
(snip)
! :devfs-path /pci@9c,4000/SUNW,hme@3,1
! :driver-name hme
! :binding-name SUNW,hme
! :bus-addr 3,1
! :instance 9
! :_class obp-device
! :name SUNW,hme
(The rest is omitted)
Add the PCI card in the cluster interconnect using the interface name and number.
# cfrecon -a /dev/hme9
Add Cluster Interconnect:
device "/dev/hme9" successfully added to node configuration
Check that the following message is output to the console of each node.
cf:eventlog CF: Route recovery on /dev/hme9 to node node0. (#0000 1 2 2 2)
Confirm that the PCI card has successfully been added in the cluster interconnect.
# cftool -d
Number Device Type Speed Mtu State Configured Address
1 /dev/fjgi1 4 100 1432 UP YES 00.00.0e.25.1a.38
2 /dev/hme9 4 100 1432 UP YES 00.00.0e.25.1a.38
Note
In this section, the cluster interconnect and GLS public LAN are connected to each port of the PCI card.
You cannot use a different device name before or after the PCI card replacement with PCI Hot Plug. Be sure to install the same PCI card into the same PCI slot as before its replacement.
Delete the GLS physical interface using the following command. Change the interface name in the arguments of the following command according to a GLS configuration.
Fast switching mode
# /opt/FJSVhanet/usr/sbin/hanetnic delete -n sha0 -i fjgi6 # /usr/sbin/ifconfig fjgi6 unplumb
NIC switching mode
# /opt/FJSVhanet/usr/sbin/hanetpoll off # /opt/FJSVhanet/usr/sbin/stpptl -n sha1 # /opt/FJSVhanet/usr/sbin/hanetnic change -n sha0
Check the location of the PCI slot on which the PCI card is installed. Check the PCI slot by blinking the ALARM LED of the PCI slot (*1). Stop the blinking LED (*2) after the slot is checked.
# cftool -d Number Device Type Speed Mtu State Configured Address 1 /dev/fjgi1 4 100 1432 UP YES 00.00.0e.25.1a.38 2 /dev/fjgi7 4 100 1432 UP YES 00.00.0e.25.1a.38 # /usr/sbin/FJSVmadm/inst2comp fjgi7 pcipsy8:R0B00-PCI#slot05 # cfgadm -x led=fault,mode=blink pcipsy8:R0B00-PCI#slot05 (*1) # cfgadm -x led=fault,mode=off pcipsy8:R0B00-PCI#slot05 (*2)
Disconnect the device from the cluster interconnect by using the device name and PCI slot number checked in step 2 . Then, check if "Receptacle" is "disconnected" and "Occupant" is "unconfigured" respectively.
# cfrecon -d /dev/fjgi7 Delete Cluster Interconnect: device "/dev/fjgi7" successfully removed from node configuration # cfgadm -c disconnect pcipsy8:R0B00-PCI#slot05 # cfgadm pcipsy8:R0B00-PCI#slot05 Ap_Id Type Receptacle Occupant Condition pcipsy8:R0B00-PCI#slot05 unknown disconnected unconfigured unknown
CE replaces the PCI card that is installed on the PCI slot.
Enable the replaced PCI card on the Solaris OE. Check if "Receptacle" is "connected" and "Occupant" is "configured" respectively.
# cfgadm -c configure pcipsy8:R0B00-PCI#slot05 # cfgadm pcipsy8:R0B00-PCI#slot05 Ap_Id Type Receptacle Occupant Condition pcipsy8:R0B00-PCI#slot05 bridge/hp connected configured ok
Add the PCI card to the GLS settings using the following command. Change the interface name and IP address in the arguments of the following command according to a GLS configuration.
Fast switching mode
# /usr/sbin/ifconfig fjgi6 plumb # /usr/sbin/ifconfig fjgi6 192.168.10.10 netmask + broadcast + -trailers up # /opt/FJSVhanet/usr/sbin/hanetnic add -n sha0 -i fjgi6
NIC switching mode
# /opt/FJSVhanet/usr/sbin/hanetnic change -n sha0 # /opt/FJSVhanet/usr/sbin/strptl -n sha1 # /opt/FJSVhanet/usr/sbin/hanetpoll on
Add the replaced PCI card to the cluster interconnect.
# cfrecon -a /dev/fjgi7
Add Cluster Interconnect:
device "/dev/fjgi7" successfully added to node configuration
Check that the following message is output to the console of each node
cf:eventlog CF: Route recovery on /dev/fjgi7 to node node0. (#0000 1 2 2 2)
Confirm that the PCI card has successfully been added in the cluster interconnect.
# cftool -d
Number Device Type Speed Mtu State Configured Address
1 /dev/fjgi1 4 100 1432 UP YES 00.00.0e.25.1a.38
2 /dev/fjgi7 4 100 1432 UP YES 00.00.0e.25.1a.38