- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Change IP & Hostname
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
Forums
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
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
10-21-2002 10:20 PM
10-21-2002 10:20 PM
I have a rp7400 with HP-UX 11.11, and I need to change IP and hostname....
the best procedure to do it is SAM, /sbin/set_parms,....????
THANKS.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2002 10:25 PM
10-21-2002 10:25 PM
Re: Change IP & Hostname
set_parms is the easiest way, although I have never had problems with this, I have seen in the forum some remarks that not all files are updated correctly.
Sam will do as well ! I never use it.
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2002 10:25 PM
10-21-2002 10:25 PM
Re: Change IP & Hostname
Things to check afterwards:
software distributer still works.
apps (such as omniback) still work (i.e. apps tied to the hostname or IP address).
DCE endpoint still works (if you use it).
NTP (if it's authenticated).
machine knows its own hostname (may need to change /etc/hosts).
etc...
SDUX is the main one I check for, if that works, you can be pretty sure most other things will.
Omniback is another one to check for as well....
Scott.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2002 10:30 PM
10-21-2002 10:30 PM
Re: Change IP & Hostname
#set_parms hostname
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2002 10:33 PM
10-21-2002 10:33 PM
Re: Change IP & Hostname
Yes set_parms is the best way to do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2002 03:39 AM
10-22-2002 03:39 AM
Re: Change IP & Hostname
-- Change it in /etc/hosts
Reboot the box OR
/usr/sbin/init.d/net stop
/usr/sbin/init.d/net start
This is my best way to accomplish it. 'cause set_parms or sam does not update hosts file at times , no idea Y ?.
kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2002 03:52 AM
10-22-2002 03:52 AM
SolutionI'm sorry, but I have to disagree with the use of set_parms.
I find vi to be about 100 times faster and safer than set_parms. Maybe it's because I can manuever in vi rather well. Isn't it just:
vi /etc/hosts /etc/rc.config.d/netconf
and maybe
vi /etc/resolv.conf /etc/nsswitch.conf
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2002 04:00 AM
10-22-2002 04:00 AM
Re: Change IP & Hostname
Harry that's why this forum is great, for every question there are ton's of answers/possibilties.
You are absolutely right !!
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2002 04:04 AM
10-22-2002 04:04 AM
Re: Change IP & Hostname
I just recently had to change six systems IP's, subnet masks, gateway, dns, ...
And the winner was "vi" I tried set_parms, but all it did was screw my /etc/rc.config.d/netconf file to hell. It works fine when you have one nic card, but when you have 9 lan ports it goes crazy.
And you are right, the forums is a great place to learn something new everyday!
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2002 01:07 AM
10-23-2002 01:07 AM
Re: Change IP & Hostname
As you say set_parms is the easiest way;
#set_parms ip_address
#set_parms hostname
or
/etc/host &
/etc/rc.config.d/netconf.
Regards,
Hamdy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2002 01:15 AM
10-23-2002 01:15 AM
Re: Change IP & Hostname
As all the answers are there the only thing we need to do is assign points.
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2002 01:37 AM
10-23-2002 01:37 AM
Re: Change IP & Hostname
This nigth I go to change IP and hostname, and I assign points.
THANKS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2002 06:20 AM
10-23-2002 06:20 AM
Re: Change IP & Hostname
For someone who is well-conversant with vi maybe files will be a better alternative.
Otherwise, it much easier to use set_parms and equally SAM.
I prefer to use SAM for most operations.
Regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2002 11:00 AM
10-23-2002 11:00 AM
Re: Change IP & Hostname
Do this
set_parms hostname
finish off with the change.
Change your ip address by
vi /etc/rc.config.d/netconf
Scroll down to your ip address.
Replace the ip address with the new ipaddress. Are you sure that the subnet and gateway will still remain the same. If yes, then be sure to change them too.
You will have to reboot after this, as the hostname change won't be effected with the stopping & restarting of network services.
Regards,
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2002 11:34 AM
10-23-2002 11:34 AM
Re: Change IP & Hostname
HTH
Marty