- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Change the 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
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-06-2009 10:19 PM
тАО02-06-2009 10:19 PM
How i can change the hostname for UX server rp8420.
i am using this command
#hostname "newname"
#uname -S "newname"
#update /etc/hosts and /etc/rc.config.d/netconf
but still i can't ping on the new hostname from output server.
and the old nam it is still appeared in the MP menu.
and i am try with this command set_parms but it is not working.
ruxapp01#set_parms ruxapp04
Error: set_parms: Invalid dialog name: ruxapp04
Usage: set_parms
Where
hostname
timezone
date_time
root_passwd
ip_address
addl_netwrk
or initial (for entire initial boot-time dialog sequence)
how i can to solve this problem.
thanks and best regards
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2009 11:03 PM
тАО02-06-2009 11:03 PM
Re: Change the Hostname
any response please to my first questions.
and i am reboot my server after execute this command
#hostname "newname"
#uname -S "newname"
#update /etc/hosts and /etc/rc.config.d/netconf
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2009 11:49 PM
тАО02-06-2009 11:49 PM
Solutionruxapp01#set_parms ruxapp04
Error: set_parms: Invalid dialog name: ruxapp04
Usage: set_parms
Where
hostname
timezone
date_time
root_passwd
ip_address
addl_netwrk
=====================
you have to use this command as below
#set_parms hostname
then it will ask for actual name then you have to give the actual host name .but be careful it require reboot
----------------------------------------
also whatever u mention in ur second post is also correct. it will not require rebbot
Regards
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2009 11:58 PM
тАО02-06-2009 11:58 PM
Re: Change the Hostname
i am trying to use this command
ruxapp01#set_parms ruxapp04(new hostname)
and ruxapp01(old hostname) i am added in .profile file to i see before #
but the same problem
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2009 01:08 AM
тАО02-07-2009 01:08 AM
Re: Change the Hostname
You don't want to change any .profile file to change the hostname.
Unless you are talking about the prompt, PS1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2009 01:12 AM
тАО02-07-2009 01:12 AM
Re: Change the Hostname
yes now i am changing the hostname by set_parms hostname command.
but i can't ping on a server from my pc and another server.
and still the old hostname in MP
how i can solve this two problem.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2009 09:28 AM
тАО02-07-2009 09:28 AM
Re: Change the Hostname
but i can't ping on a server from my pc and another server.
and still the old hostname in MP
how i can solve this two problem.
1.Have you updates you /etc/hosts file ..?
put fully qualified name in /etc/hosts file like
192.168.2.242 warid01.domain.com warid01
2. Also please check with Your DNS Server has been updated the newly Changed hostname
and change nsswitch.conf like
hosts files[NOTFOUND=continue] dns
Hope this Helps,
Thanks,
Johnson