cancel
Showing results for 
Search instead for 
Did you mean: 

Change the Hostname

 
SOLVED
Go to solution
Mousa55
Super Advisor

Change the Hostname

Hi All,

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 can be:
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
6 REPLIES
Mousa55
Super Advisor

Re: Change the Hostname

Hi All,

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
Prashanth Waugh
Esteemed Contributor
Solution

Re: Change the Hostname

Hi Nejad,
ruxapp01#set_parms ruxapp04
Error: set_parms: Invalid dialog name: ruxapp04
Usage: set_parms
Where can be:
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
For success, attitude is equally as important as ability
Mousa55
Super Advisor

Re: Change the Hostname

Hi all,

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

Re: Change the Hostname

>i am added in .profile file

You don't want to change any .profile file to change the hostname.
Unless you are talking about the prompt, PS1.
Mousa55
Super Advisor

Re: Change the Hostname

Hi All,

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
Johnson Punniyalingam
Honored Contributor

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.

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
Problems are common to all, but attitude makes the difference