HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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

HTH

Duncan
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