Created 12-26-2021 02:50 AM
Hi,
what changes we need to be made if we need to change the ip address of the master and worker servers?
Thanks
Created 12-27-2021 12:37 AM
@ronys From CDSW Function perspective you need to adjust some Configuration as per new IP and the most important thing is forward and reverse DNS lookups MUST work.
Apart from that you can follow fe simple steps.
tar cvzf cdsw.tar.gz /var/lib/cdsw/*
Beneath CM > CDSW > Configuration > search for "IP" and set MASTER_IP to correct IP address for CDSW master host
/opt/cloudera/parcels/CDSW/cni/bin/weave reset
Beneath CM > CDSW > Instances > Select All Instances > Prepare Node
iptables-save | awk '/^[*]/ { print $1 }
/^:[A-Z]+ [^-]/ { print $1 " ACCEPT" ; }
/COMMIT/ { print $0; }' | iptables-restore
/opt/cloudera/parcels/CDSW/cni/bin/weave reset
Created 12-27-2021 12:37 AM
@ronys From CDSW Function perspective you need to adjust some Configuration as per new IP and the most important thing is forward and reverse DNS lookups MUST work.
Apart from that you can follow fe simple steps.
tar cvzf cdsw.tar.gz /var/lib/cdsw/*
Beneath CM > CDSW > Configuration > search for "IP" and set MASTER_IP to correct IP address for CDSW master host
/opt/cloudera/parcels/CDSW/cni/bin/weave reset
Beneath CM > CDSW > Instances > Select All Instances > Prepare Node
iptables-save | awk '/^[*]/ { print $1 }
/^:[A-Z]+ [^-]/ { print $1 " ACCEPT" ; }
/COMMIT/ { print $0; }' | iptables-restore
/opt/cloudera/parcels/CDSW/cni/bin/weave reset
Created 12-27-2021 02:52 AM
Hi GangWar,
Can you send me the instructions for HDP cluster ?
Thanks
Rony
Created 12-27-2021 05:18 AM
@ronys There is no logical difference in CDSW on HDP. You just have to run same instructions from command line just the path for that will change to /etc/cdsw/scripts instead of /opt/cloudera/parcels/CDSW/scripts.
Created 12-27-2021 10:54 PM