- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to change hostname/ip documentation?
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
08-12-2004 09:54 PM
08-12-2004 09:54 PM
Thanks in advance for the replies.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 10:01 PM
08-12-2004 10:01 PM
Re: How to change hostname/ip documentation?
You could use the
# set_parms
Usage: set_parms
Where
hostname
timezone
date_time
root_passwd
ip_address
addl_netwrk
or initial (for entire initial boot-time dialog sequence)
After you run the command, check the
/etc/hosts and the /etc/rc.config.d/netconf files and reboot your server.
Hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 10:02 PM
08-12-2004 10:02 PM
Re: How to change hostname/ip documentation?
1) use the set_parms script
2) Change the /etc/hosts file and the /etc/rc.config.d/netconf file and either reboot or shutdown from the console to run level two and restart that run level.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 10:14 PM
08-12-2004 10:14 PM
Re: How to change hostname/ip documentation?
I am not sure why you have awarded points when the suggestion we have given are the correct methods. The only other method is using SAM if you wish and then reboot your server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 10:24 PM
08-12-2004 10:24 PM
Re: How to change hostname/ip documentation?
Permanent:
1. set_parms hostname
set_parms ipaddress
2. /etc/rc.config/netconfig file
Temporary:
hostname
wmtp files you have use,
uname -S
IP-Address:
ifconfig
You can use SAM too to do this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 10:37 PM
08-12-2004 10:37 PM
Re: How to change hostname/ip documentation?
you can do in two ways
1. use the command "set_parms hostname" and "set_parms ip"
2. by editing the files
a. vi /etc/hosts
change the IP and hostname of the machine
b. vi /etc/rc.config.d/netconf
in this file also change hostname, IP
In the first method system will ask you to reboot. New hostname,IP comes into effect after reboot.
whereas in second method, you need to reboot for the changes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 10:50 PM
08-12-2004 10:50 PM
Solutiondo a search: "changing hostname"
Result:
"Managing Systems and Workgroups" document.
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/5187-2216/5187-2216_top.html&con=/hpux/onlinedocs/5187-2216/00/00/34-con.html&toc=/hpux/onlinedocs/5187-2216/00/00/34-toc.html&searchterms=hostname%7cchanging&queryid=20040813-044457
set_parms hostname
set_parms ip_address
reboot
Regards,
Sergejs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 11:26 PM
08-12-2004 11:26 PM
Re: How to change hostname/ip documentation?
Thanx for the suggestions and solutions. I think this will be fine to do the task at hand.