- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- Change the Hostname
-
- Forums
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- OEM Solutions
- Servers: The Right Compute
- Shifting to Software-Defined
- Telecom IQ
- Transforming IT
- Infrastructure Solutions German
- L’Avenir de l’IT
- IT e Trasformazione Digitale
- Enterprise Topics
- ИТ для нового стиля бизнеса
- Blogs
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Forums
-
Blogs
-
InformationEnglish
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2019 Hewlett Packard Enterprise Development LP