- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- changing server name and IP addess on hp-ux 11.23
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
Discussions
Forums
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
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
тАО02-04-2009 02:42 PM
тАО02-04-2009 02:42 PM
changing server name and IP addess on hp-ux 11.23
actually there are two questions:
1) change the name and ip address of the server.
2) change the ip address of the mc.
can I change these addresses before I bring the server down, so I can move the server and bring it up at the new location?
what steps will I need to be concerned about?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2009 02:53 PM
тАО02-04-2009 02:53 PM
Re: changing server name and IP addess on hp-ux 11.23
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2009 03:21 PM
тАО02-04-2009 03:21 PM
Re: changing server name and IP addess on hp-ux 11.23
change it to new value and reboot.
MP console : go to CM (Command menu) and then choose LC option , Change IP address of MP console and reset console by choosing XD option.
While changing IP address also take look at your Subnet mask and Gateway address
-USA.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2009 06:33 AM
тАО02-06-2009 06:33 AM
Re: changing server name and IP addess on hp-ux 11.23
After my host rename had to manually edit
- /etc/mail/sendmail.cw
- /opt/hpws/ ... various apache, tomcat and webmin conf and html files
- ssh_host_xxx files (still rationalizing this)
- various ignite files
- /var/opt/swm/ssl.cnf - (still checking this)
In short renaming/IP'ing a box is simple. Correcting all various apps that embeded the hostname inot it's files are a pain.
That's my experience. Perhaps someone else can shed some light on this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2009 07:03 AM
тАО02-06-2009 07:03 AM
Re: changing server name and IP addess on hp-ux 11.23
There are few ways you can change the ip and hostname.
One is by using the below commands
#set_params hostname
#set_params ip_address
second one is by manually editing /etc/rc.config.d/netconf file
Third one is by using SAM. If you use sam it will automatically update netconf file for you.
Other than this changes related to operating system, you have to take care of application changes wherever hostname/ip required as Norman mentioned.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2009 07:06 AM
тАО02-06-2009 07:06 AM
Re: changing server name and IP addess on hp-ux 11.23
do have a talk with the database and/or application teams to take into account this IP address and the hostname change and ask them to make the corresponding modifications in the Database and/or Application side also.
change the IP address of mc ... what is mc can you tell more about that?
Regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2009 10:44 AM
тАО02-07-2009 10:44 AM
Re: changing server name and IP addess on hp-ux 11.23
Below command are used for changing hostname and IP without rebooting
#set_params hostname
#set_params ip_address
using SAM. will help you , IF you are not comfortable in edting the /etc/rc.config.d/netconf
Hence you are going to Bring down the Server down
Before Shutting down,
step1:- Have you heard of the nickle.script
run the script it will help collect some very usefull Infomartion, prior to moveing the server to new location,
Thanks,
johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2009 09:36 PM
тАО02-07-2009 09:36 PM
Re: changing server name and IP addess on hp-ux 11.23
I belive you can change and update the hostname by below procedure with out rebooting the box.
Note :- IF YOU HAVE ENOUGH DOWNTIME WINDOW AND THIS IS NOT A PRODUCTION BOX THEN PLEASE FOLLOW THE ABOVE EXPERTS SUGGESTIONS.
Changing HOSTNAME
a) hostname newhostname
b) uname -S newhostname
c) edit /etc/rc.config.d/netconf
change the below hostname string on line no 16
HOSTNAME="newhostname"
d) update /etc/hosts
e) /sbin/init.d/hostname start
Changing the IP address :-
Login through the MP console and make the changes .
Thanks,
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2009 06:13 PM
тАО02-08-2009 06:13 PM
Re: changing server name and IP addess on hp-ux 11.23
Move the server to the new location
Start the server
# set_parms hostname
# set_parms ip_address
Edit hostname and IP address in /etc/hosts
If in your application script, if we have embedded hostname or IP address, then please change that
You could get help from application team for the same incase you have host/IP entry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2009 03:28 PM
тАО02-19-2009 03:28 PM
Re: changing server name and IP addess on hp-ux 11.23
set_parms hostname
and
set_parms ip_address
but I did not see how to reset the gateway or netmask, so I edited the /etc/rc.config.d/netconf file.
also did edit the /etc/hosts file.
systems did require rebooting to take effect.
Thanks for the assistance.