Use the following procedures to change the network addresses of the Cell Manager or the Cell Members:
Please make sure networks port are open in the network firewall as detailed in Setup a Cell Environment.
Change Cell Manager's Internal Address
On the cell manager
Change the cell manager’s internal address:
For Appliance mode, find the correct interface name using the following command and run steps 1-4 on Change Appliance Network Address.
ip a | grep '<Old Manager's Internal IP Address>' | awk '{print $7}'
For Non-Appliance mode, please consult with your network admin and linux admin how to change the network interface address.
Update hosts file:
sed -i "3,1000 s/<Old Manager's Internal IP Address>/<New Manager's Internal IP Address>/" /etc/hosts
Run the following SQL using “ij” utility (using CLI on DPOD’s server):
update node set esip='<New Manager's Internal IP Address>' where esip='<Old Manager's Internal IP Address>'; quit;
On each of cell members
Update hosts file:
sed -i "3,1000 s/<Old Manager's Internal IP Address>/<New Manager's Internal IP Address>/" /etc/hosts
Restart the application on the cell manager and all the cell members
Stop all the application services using app-util.sh → option 2 (stop all)
Start all the application services using app-util.sh → option 3 (start all)
For Appliance mode, or when Kibana is installed, restart Kibana service:
systemctl restart kibana
Change Cell Manager's External Address
On the cell manager
Change the cell manager’s external address:
For Appliance mode, find the correct interface name using the following command and run steps 1-4 on Change Appliance Network Address
ip a | grep '<Old Manager's External IP Address>' | awk '{print $7}'
For Non-Appliance mode, please consult with your network admin and linux admin how to change the network interface address.
Update hosts file:
sed -i "3,1000 s/<Old Manager's External IP Address>/<New Manager's External IP Address>/" /etc/hosts
Run the following SQL using “ij” utility (using CLI on DPOD’s server):
update node set agentsIp='<New Manager's External IP Address>' where agentsIp='<Old Manager's External IP Address>'; update node set restClientAddress='http://<New Manager's External IP Address>:8190' where restClientAddress='http://<Old Manager's External IP Address>:8190'; update systemparameter set value='<New Manager's External IP Address>' where value='<Old Manager's External IP Address>'; quit;
On each cell member
Update hosts file:
sed -i "3,1000 s/<Old Manager's External IP Address>/<New Manager's External IP Address>/" /etc/hosts
Restart the application on the cell manager and all the cell members
Stop all the application services using app-util.sh → option 2 (stop all)
Start all the application services using app-util.sh → option 3 (start all)
Change Cell Member's Internal Address
On the cell member
Change the cell member’s internal address:
For Appliance mode, find the correct interface name using the following command and run steps 1-4 on Change Appliance Network Address
ip a | grep '<Old Member's Internal IP Address>' | awk '{print $7}'
For Non-Appliance mode, please consult with your network admin and linux admin how to change the network interface address.
Update hosts file:
sed -i "3,1000 s/<Old Member's Internal IP Address>/<New Member's Internal IP Address>/" /etc/hosts
Stop all the application services using app-util.sh → option 2 (stop all)
Start all the application services using app-util.sh → option 3 (start all)
Change Cell Member's External Address
On the cell member
Change the cell member’s external address:
For Appliance mode, find the correct interface name using the following command and run steps 1-4 on Change Appliance Network Address
ip a | grep '<Old Members's External IP Address>' | awk '{print $7}'
For Non-Appliance mode, please consult with your network admin and linux admin how to change the network interface address.
Update hosts file:
sed -i "3,1000 s/<Old Members's External IP Address>/<New Members's External IP Address>/" /etc/hosts
On the cell manager
Run the following SQL using “ij” utility (using CLI on DPOD’s server):
update node set agentsIp='<New Member's External IP Address>' where agentsIp='<Old Member's External IP Address>'; update node set restClientAddress='https://<New Member's External IP Address>' where restClientAddress='https://<Old Member's External IP Address>'; UPDATE HatsRecurringTask SET isEnabled = true where tasktype = 'POST_UPGRADE'; quit;
Restart the application on the cell manager and the cell members
Stop all the application services using app-util.sh → option 2 (stop all)
Start all the application services using app-util.sh → option 3 (start all)