Operating System - HP-UX
1834208 Members
2181 Online
110066 Solutions
New Discussion

Moving cluster setup from one locn to another

 
SOLVED
Go to solution
dattu_1
Regular Advisor

Moving cluster setup from one locn to another

Hi ,
I have a setup of 2 nodes rx4640 in cluster with hpux 11iv2 on it ,itanium processor.
I m suppose to move this setup from one locn to another.
What changes i will have to make can u please let me know?
Like :

1]Chnges n /etc/rc.config.d/netconf
2]changing of ips,subnet in pkg.conf,pkg.cntl,pkg.ascii

Can u tell me the order 2 follow and then cmcheckconf,cmapplyconf.

htanx in advance

9 REPLIES 9
Mridul Shrivastava
Honored Contributor

Re: Moving cluster setup from one locn to another

Could you please elaborate.. what do u mean by moving the setup from on location to other.. what impact is this gonna have if u r moving both servers physically to another location....

If this is going to change the IP addresses. then you have to change the IP addresses in netconf and cluster.ascii file...you have to populate the /etc/hosts file with the new ip addresses and then run chcheckconf >>> cmapplyconf

If this is not the case then please explain what do u really mean by moving the setup....
Time has a wonderful way of weeding out the trivial
dattu_1
Regular Advisor

Re: Moving cluster setup from one locn to another

Hi Mridul,
Thanx for ur quick response...
What i mean is
Currently the servers are kept at locn A and data centre is on rental basis and now we have built our own data centre at locn2.
and so i have to move this entire setup from locn A to locn 2.
Also i forgot to mention we have SAN storage attached with it of 2TB,what should be done with that?is it ok 2 just shutdown storage here and then power it on locn2 in my case.

I have 2 nodes node A with 2 packages and
node B with one package.
Mridul Shrivastava
Honored Contributor

Re: Moving cluster setup from one locn to another

ok.. things are more clear now...
So I already discussed about the IP address things if they are changing...

You can safely shutdonw the storage after halting the packages and cluster.. and then both the nodes....

One issue you may face is that when u connect the storage at the new data centre, there is a possibility that disk devices get changed ( IF they are connected to the different SAN Switch ports) so would suggest to make a note of the connectivity and replicate it there.. Else the other owrk around is to create a map file for each VG using -s option so it will have the VGID as well so you can import the vg there in case of device files chage using the map file....

Time has a wonderful way of weeding out the trivial
dattu_1
Regular Advisor

Re: Moving cluster setup from one locn to another

Hi Mridul,
Tht means shutdown both nodes at locn A and carry out same connectivity at locn 2.
1]After reaching locn 2 power on the storage
and then the 2 nodes.
2]Change the ip in node 1 and node 2
3]Correspondingly change th eentries in .ascii,.cntl,.conf file rcp it to another node.
run cmcheckconf and then cmapplyconf
4]Coresponding entry in /etc/hosts and ip would be changed thro sam only.
5]then rum cmruncl -v right.
Mridul Shrivastava
Honored Contributor
Solution

Re: Moving cluster setup from one locn to another

Correct, I will summaries the activities again:

Loc A:
1. Halt all the packages on both nodes and then halt the cluster.
2. Shutdown both the nodes.
3. Power off the storage connected.
4. Make a connectivity diagram so we can connect the cables at Loc B inthe same way.

Move the devices to Loc B
1. Connect all the cables as per the diagram.
2. Power On the Storage.
3. Power on the nodes ( don't start the cluster automatically, need to change the CMCLD=0 in cluster.ascii file).
4. Make the changes in netconf for the IPs if required, check the disks availability and VG's visibility.
5. change the package IPs if required ( it shouldn't be required normally).
6. run cmcheckconf and cmapplyconf
7. If there are no errors then proceed with cmruncl...

Hope this helps... Cheers
Time has a wonderful way of weeding out the trivial

Re: Moving cluster setup from one locn to another

You could try the following

Before moving

1. cmgetconf -C -p CLUSTERNAME
2. Take vgconfig map file for all VGs
#vgexport -p -s -v -m /tmp/VGXX.map VGXX
2. Halt the cluster

Move server to new location

AT new location.

1. Assign new IP address/Gateway/Subnet( /etc/rc.config.d/netconf)
2. Get new IP address for packages
3. Run ioscan , and if the Disk paths are changed export the VG and import from the config saved earlier
#mkdir /dev/VGXX
#mknod /dev/VGXX/group c 63 0xXX000
#vgimport -s -v -m /tmp/VGXX.map VGXX
run that on both systems
3. Edith teh cluster & PAckage configuration files and make changes to the IP Address , and if needed cluster lock disk( if disk path is changed)
4. check the conf using cmcheckconf
5. Apply conf using cmapplyconf

dattu_1
Regular Advisor

Re: Moving cluster setup from one locn to another

Hi Mridul and Ajai,
Thanx for ur suggestions....the activity is scheduled after 10 days..i would definitely let u know the status of it....

thanx again....
dattu_1
Regular Advisor

Re: Moving cluster setup from one locn to another

Hi mridul and ajai,
since my whole network is changing..my package ip's should also be changing right....i.e. from 10.a.b.c. to 10.e.f.g.

it wont create any problem right....

regards,
Tejas.
Vasu Viswanadha
Advisor

Re: Moving cluster setup from one locn to another


Hi Tejas,

If you make correct changes to your
/etc/rc.config.d/netconf ; cluster.ascii; pkg.conf; pkg.cntl, it won't create any problem.



In Cluster.ascii

1) HB IP Address
2) Stationary IP


In pkg.conf

1) subnet

In pkg.cntl

1) IP

2) subnet


All the best.

BR

Vasu