- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Re-Configure a HP/UX11i network config after m...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2013 04:02 AM
08-12-2013 04:02 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2013 05:41 AM - edited 08-12-2013 05:52 AM
08-12-2013 05:41 AM - edited 08-12-2013 05:52 AM
Re: Re-Configure a HP/UX11i network config after moving from one site to another
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).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2013 10:35 AM
08-12-2013 10:35 AM
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 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2013 05:52 PM
08-12-2013 05:52 PM
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).
Bill Hassell, sysadmin