Re-Configure a HP/UX11i network config after moving from one site to another (351 Views)
Reply
Frequent Advisor
gunners
Posts: 67
Registered: ‎06-27-2011
Message 1 of 4 (351 Views)

Re-Configure a HP/UX11i network config after moving from one site to another

Hi Guys,

I have to move an old hpRP4410 Server running HP/UX 11.11 from one site to another and configure it on the new site.

Just in terms of what I have to do in networking , apart from modifying the /etc/hosts with the new ip address are there any other files I need to modify? I havent done this in years and cant recall what I did initially.

Any help or pointers appreciated. Thanks.

Honored Contributor
Bill Hassell
Posts: 14,205
Registered: ‎05-29-2000
Message 2 of 4 (333 Views)

Re: Re-Configure a HP/UX11i network config after moving from one site to another

[ Edited ]

The simplest way is to run set_parms *BEFORE* you shutdown the machine and move it. If you do it before connecting to the new network, you'll avoid networking conflicts at the new site. Run set_parms twice:


# /sbin/set_parms ip_address
# /sbin/set_parms addl_network

 

The first changes the IP address and the second changes the subnet mask, router/gateway, DNS server and other network services. I a assuming that the hostname does *NOT* change. If so, then run set_parms hostname also.

 

NOTE: There can be other (poorly designed) programs and tools that have IP addresses hard coded into config files. So just in case, I would run a find/grep on the entire /etc, /usr and /var directories looking for the old IP, just in case:

 

# find /etc /usr /var -type f  -exec grep '10.11.12.13'  {} \+

 

(where 10.11.12.13 is your old IP address)

Ignore log files with the old IP (such as resmon logs). 

 

Frequent Advisor
gunners
Posts: 67
Registered: ‎06-27-2011
Message 3 of 4 (320 Views)

Re: Re-Configure a HP/UX11i network config after moving from one site to another

Cheers Bill , that looks good to me.

Just something else related I thought of after my initial post that you may know - obviously the MP port's (ie where we login as Admin to access logs , console etc) will ALSO need a new ip address - you dont know where that is set by any chance ? is it somewhere on the console menu or something ?

Honored Contributor
Bill Hassell
Posts: 14,205
Registered: ‎05-29-2000
Message 4 of 4 (309 Views)

Re: Re-Configure a HP/UX11i network config after moving from one site to another

>> console etc) will ALSO need a new ip address

 

Good catch.

 

Yes, the console must be changed too.

 

You telnet to the current console (you can do this even when the main server is shutdown) and type CTRL-B. That will give you the MP login prompt. Once you have the login menu, you'll see CM as an option. Type CM (or cm) and then LC to set the new IP addresses (and subnet mask, gateway, etc). Then to return back to the main menu, type MA (or ma).

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.