Use the following procedure to remove a public network interface from a cluster.
If you have an OPS configuration, no action is required within the cluster to remove a network interface. However, if you want to remove the network adapters from the cluster nodes, perform the following procedure.
If you have an HA configuration, you will need to use this procedure to unconfigure and reconfigure any logical host that uses the network interface to be removed. This requires that all data services will be inaccessible for a short period of time during the procedure.
While all nodes are participating in the cluster, perform the following steps on one node only.
Identify which logical hosts must be reconfigured to exclude the network interface.
All of these logical hosts will need to be unconfigured then reconfigured. Run the scconf -p command to print out a list of logical hosts in the current configuration; save this list for later use. You do not need to run the scconf -p command on all cluster nodes. You can run it on any node that is an active cluster member.
Run the pnmset(1M) command to display the current PNM configuration.
Remove the controller from a backup group, if necessary.
If the controller to be removed is part of a backup group, remove the controller from all logical hosts, then run the pnmset(1M) command to remove the controller from the backup group.
Notify users that any data services on the affected logical hosts will be unavailable for a short period.
Turn off the data services.
phys-hahost# hareg -n dataservice |
Unregister the data services.
phys-hahost# hareg -u dataservice |
Remove the logical host from the cluster.
To unconfigure and reconfigure the logical host (Step 7 and Step 8), you can either run the scconf(1M) command as shown, or run the scinstall(1M) command as described in "Adding and Removing Cluster Nodes".
You can run this command on any node that is an active cluster member. You do not need to run it on all cluster nodes.
phys-hahost# scconf clustername -L logicalhost -r |
Reconfigure the logical host to include the new interface.
You can run this command on any node that is an active cluster member. You do not need to run it on all cluster nodes.
phys-hahost# scconf clustername -L logicalhost -n nodelist -g dglist -i logaddrinfo |
The logaddrinfo field is where you define the new interface name. Refer to the listing taken from the scconf -p command output to reconstruct each logical host.
If the controller being removed was part of a backup group, rerun the pnmset(1M) command.
Rerun the pnmset(1M) command and exclude the controller being removed.
(Optional) If you are removing the network adapter from the nodes, perform the following steps on each affected node:
Stop the cluster software.
phys-hahost# scadmin stopnode |
Halt the node and remove the interface card.
Boot the node.
Perform the Solaris system administration tasks you would normally perform to remove a network interface (remove hostname.if file, update /etc/hosts, etc).
Restart the cluster software. If all nodes were brought down, start the first node using the scadmin startcluster command. If at least one node is still running the cluster software, restart the other nodes.
phys-hahost# scadmin startnode |
Register the data services.
phys-hahost# hareg -r dataservice |
Turn on the data services.
phys-hahost# hareg -y dataservice |
Check access to the data services.
Notify users that the data services are once again available.