Removal of hostname and IP configuration from NRS nodes

You can remove hostname and IP configuration from NRS nodes if you no longer want them with NRS nodes.

About this task

The following procedure considers eXnY as the NRS node with external IP and hostname. Replace X with your enclosure value and Y with your node value throughout the procedure.

Procedure

  1. Restore original hostnames by running the following command on each NRS node.
    e1n1# ssh eXnY hostnamectl set-hostname eXnY
  2. Remove and reload network configuration by running the following commands on each node that is being reverted. Replace <vlan> with the vlan configured for the node.
    1. e1n1# ssh eXnY
    2. eXnY# nmcli con down fbond.<vlan>
    3. # rm -rf /etc/sysconfig/network-scripts/ifcfg-fbond.<vlan>
    4. # rm -rf /etc/sysconfig/network-scripts/route-fbond.<vlan>
    5. # nmcli conn reload
    6. # exit
  3. Remove special_purpose_nodes group from the inventory file (/opt/ibm/appliance/platform/apos-comms/ansible/<house-config>.yml) on e1n1 by running:
    e1n1#  vim /opt/ibm/appliance/platform/apos-comms/ansible/<house-config>.ym
  4. Remove customer.yml from each NRS node by running:
    e1n1# ssh eXnY rm -rf /opt/ibm/appliance/platform/apos-comms/customer_network_config/ansible/<house-config>.yml