Operating System - HP-UX
1834811 Members
2422 Online
110070 Solutions
New Discussion

Re: IP and Host Name changes

 
P.J. Cruz
Advisor

IP and Host Name changes

I have to change the IP and host name to our L2000 and Rp7400. What is the safest way to do that?
6 REPLIES 6
RAC_1
Honored Contributor

Re: IP and Host Name changes

set_parms ip
set_parms hostname

Anil
There is no substitute to HARDWORK
Steven E. Protter
Exalted Contributor

Re: IP and Host Name changes

manually, edit

/etc/rc.config.d/netconf

Then restart the server or

/sbin/init.d/net stop
/sbin/init.d/net start

Note that if you have omniback,openspool or oracle running on these servers and the configuration is hostname based, these products will break and need configuration changes to continue running.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sundar_7
Honored Contributor

Re: IP and Host Name changes

/sbin/set_parms is the suggested method.

also make sure the entries for the server in your DNS server is modified accordingly.
Learn What to do ,How to do and more importantly When to do ?
Victor Fridyev
Honored Contributor

Re: IP and Host Name changes

Hi,

/etc/set_parms initial

or edit two following files:

/etc/hosts and /etc/rc.config.d/netconf

/sbin/init.d/net stop
/sbin/init.d/net start

hostname new_host_name

Good luck


Entities are not to be multiplied beyond necessity - RTFM
Alzhy
Honored Contributor

Re: IP and Host Name changes

cp -p /usr/newconfig/etc/rc.config.d/netconf /etc/rc.config.d
cp -p /usr/newconfig/etc/*lan* /etc/rc.config.d

Reboot.

Of course if you have a multi-home system (multiple NIC's) or APA.. then you need to be aware of their conf files as well.
Hakuna Matata.
P.J. Cruz
Advisor

Re: IP and Host Name changes

Thank you all for your suggestions. I am coordinating the DNS changes with our Network Administrator .