Operating System - HP-UX
1752572 Members
4550 Online
108788 Solutions
New Discussion юеВ

Re: Change the hostname of a server from MP.

 
SOLVED
Go to solution
Mousa55
Super Advisor

Change the hostname of a server from MP.

Hi All,

I have a HP UX 11.11 (rp8420) system, when i changed the hostname of npar server and everything is fine. But when i connecte with the management console (MP), it shows me the old hostname. Can anyone help me how to change the name of server for management console. and i see the new hostname of my server when i log in through any terminal.
and i am try to Connect to the MP port, then type CM, then LC. but also is not working.
becuase all question about the MP IP address and hostname, ....

Tanks
4 REPLIES 4
Solution

Re: Change the hostname of a server from MP.

So you don't want to change the systems *hostname* you want to change a nPar's "Partition Name" yes?

So get the partition number in question from

parstatus -P

then change it using:

parmodify -p n -P "new name"

where n = the partition number and "new name" is the new partition name in quotes if it contains a space. You can give this partition name the same name as your hostname, but it can also be something different (remember a nPar partition cvan contain may vPars so in that case giving it the same name as a hostname of one of the partitions can be confusing)

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Steven E. Protter
Exalted Contributor

Re: Change the hostname of a server from MP.

Shalom,

Hostname needs to be changed in the vpar and /etc/rc.config.d/netconf

Was both done?

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Mousa55
Super Advisor

Re: Change the hostname of a server from MP.

Hi All,

this the output parstatus -P after change

Num Status Cells Chassis Core cell Partition Name (first 30 chars)
=== ============ ===== ======== ========== ===============================
0 Active 1 1 cab0,cell0 Partition 1 - RUXDB02
1 Active 1 1 cab0,cell1 ruxpost
2 Active 1 1 cab0,cell2 Partition 3 - RUXTSTDB
3 Active 1 1 cab0,cell3 Partition 4 - RUXERP01

but how i can change the Partition Name? to be in this form
Partition 1 - RUXPOST

thanks
Mousa55
Super Advisor

Re: Change the hostname of a server from MP.

Hi All,

thanks i soved my problem