Sun Cluster 3.0 Data Services Installation and Configuration Guide

Example-Removing a Node from a Resource Group

This example shows how to remove a node (phys-schost-3) from a resource group (rg-1), which contains a logical host name resource (schost-1).


# scrgadm -pvv -g rg-1 | grep -i nodelist
(rg-1) Res Group Nodelist:       phys-schost-1 phys-schost-2 phys-schost-3
# scrgadm -c -g rg-1 -h phys-schost-1,phys-schost-2
# scrgadm -pvv -g rg-1 | grep -i netiflist
(rg-1:schost-1) Res property name: NetIfList(rg-1:schost-1:NetIfList) Res property class: extension(rg-1:schost-1:NetIfList) List of NAFO interfaces on each node(rg-1:schost-1:NetIfList) Res property type: stringarray(rg-1:schost-1:NetIfList) Res property value: nafo0@1 nafo0@2 nafo0@3

(nafo0@3 is the NAFO group to be removed.)

# scrgadm -c -j schost-1 -x netiflist=nafo0@1,nafo0@2
# scrgadm -pvv -g rg-1 | grep -i nodelist
(rg-1) Res Group Nodelist:       phys-schost-1 phys-schost-2
# scrgadm -pvv -g rg-1 | grep -i netiflist
(rg-1:schost-1:NetIfList) Res property value: nafo0@1 nafo0@2