1854677 Members
8270 Online
104102 Solutions
New Discussion

Re: Hostname/IP change?

 
ben_43
Frequent Advisor

Hostname/IP change?

Team:

We are Planning to move two machines(N-Class)(out of 4) from New York to St.louis as a part of our Disaster Recovery solution. Once in st.louis, the hostname and ipaddress would change. Also the timezone. Current configurations
4(A,B,C &D) nclass servers running 11.0 64 bit.
Mc/Sg (Individual nodes)


Servers C&D would be moved to St.louis(1 hour behind)
1.Please advise me the best way to implement this move and all the aspects to consider.

2. What would be the best way to implement the hostname chage and ip change?

All the other factors? Also does HP Move the equipments?

Please Advise.

Thanks
Ben J.
8 REPLIES 8
Ken Hubnik_2
Honored Contributor

Re: Hostname/IP change?

The best way is to use set_parms command right before you ship it.
Paul Sperry
Honored Contributor

Re: Hostname/IP change?

edit /etc/rc/config.d/netconf and /etc/hosts
just before you ship it. Also run the date command to change the time
Patrick Wallek
Honored Contributor

Re: Hostname/IP change?

The best way to move the equipment is to contact HP Relocation services. They do this type of thing on a regular basis.

As far as changing the IP address and hostname, I would use the 'set_parms' to do this.

# /sbin/set_parms ip_address

# /sbin/set_parms hostname

# /sbin/set_parms addl_network

# /sbin/set_parms timezone

# /sbin/set_parms -?

will give you all the possibilities.
Sridhar Bhaskarla
Honored Contributor

Re: Hostname/IP change?

Hi Ben,

You can run the servers with the same time zone. I have seen some customers running with GMT as their timezone irrespective of where they are.

Before you shutdown the servers. Do the following.

1. edit /etc/TIMEZONE and change the TZ variable to CST6CDT. This will make the default timezone for all the users as CST.

2. edit /etc/rc.config.d/netconf and add the new IPs, netmasks and routes.

3. Change the references in /etc/hosts file.

4. If you need to change DNS configuration, you will need to modify /etc/resolv.conf file.

Shutdown the servers and move them. When you bring up the boxes, you should get the new configuration in place.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Christopher McCray_1
Honored Contributor

Re: Hostname/IP change?

Hello,

First thing to do would be to remove the two nodes out of the cluster. There are great docs covering this on the Technical Knowledge Base using the keyword "uxsg" or "umcsg".

Yes, I believe HP does move servers (for a fee). I would contact them for sure and for pricing. If not, they can at least get them ready for shipping.

When you get the servers to St.Louis, just simply run:

# set_parms initial

This will take you through everything, including hostname, ip and timezone.

I assume you are going to want to have a MCSG cluster at STL as well, so you can go and create a new 2-node cluster with nodes C & D once you are set up and ready. Going one further, you may want to look into Continental Clusters, if you have the money and resources.

Hope this helps

Chris
It wasn't me!!!!
Vince Inman
Frequent Advisor

Re: Hostname/IP change?

The set_parms command will allow you to alter the ip address, netmask, default g/w, timezone and hostname before shipping to the new site. Doing this will allow you to preconfigure the parms, plug in at the new site and fire up the servers. Of course, this data will need to be known prior to the move in order to facilitate this.

If the servers to be relocated are in an existing mc/sg cluster, you will want to remove these servers from the existing cluster they are in. You will want to create a new cluster at the new site once the machines are in place with the newly named/addressed machines.

HP will move the equipment for a fee. However, they wil contract the move out to a third party.
Christopher McCray_1
Honored Contributor

Re: Hostname/IP change?

Just in case I misunderstood, if the 4 current nodes are single node clusters, disregard my first comment. If it is one, 4-node cluster, then you have deconfigurations/re-configurations to perform.

Chris
It wasn't me!!!!
Brian Watkins
Frequent Advisor

Re: Hostname/IP change?

I would agree with Patrick's earlier post. HP's professional services is the best way to go.

I used them recently for a building relocation, and I was completely satisfied with the results. All I had to do (aside from the pre-move paperwork and planning with HP, and a couple of full backups, that is) was let them in the building and they took care of everything from server shutdown to the de-cable/re-cable and post-installation verification.

Best move I've ever had...completely stress-free :)