Remove all resources related to the public Ethernet adapter device on a host in the cluster domain
You can remove Ethernet adapter resources from the cluster domain of an HADR Db2 instance that is running on a Pacemaker-managed Linux cluster. Removal is done by using the Db2 Cluster Manager (db2cm) utility.
About this task
The following placeholders are used in the command statements throughout this procedure. These
represent values that you can change to suit your organization:
- <host1> is the host in your Pacemaker-managed Mutual Failover Db2 instance where the partition resides.
- <network_interface_name> is the name of the Ethernet adapter in the cluster domain.
Procedure
Examples
The following example shows the command syntax and output from removing the resources associated
with the public ethernet adapter
eth1 on the host
ignited1:[root@ignited1 ~]# sqllib/bin/db2cm -delete -publicEthernet eth1 -host ignited1
Public Ethernet resource deleted successfully.The following example shows the command syntax and output from verifying that the
eth1 adapter is removed from the
cluster:[root@ignited1 ~]# crm status
Stack: corosync
Current DC: ignited1 (version 2.0.1-4.el8-0eb7991564) - partition with quorum
Last updated: Mon Dec 30 11:18:07 2019
Last change: Mon Dec 30 11:18:03 2019 by root via cibadmin on ignited1
2 nodes configured
1 resource configured
Online: [ cuisses1 ignited1 ]
Full list of resources:
db2_cuisses1_eth0 (ocf::heartbeat:db2ethmon): Started cuisses1