Operating System - HP-UX
1833330 Members
2909 Online
110051 Solutions
New Discussion

parmgr to change hostname ?

 
SOLVED
Go to solution
Jerry_109
Super Advisor

parmgr to change hostname ?

Hello HP,

I have changed my hostname from "hohp101" to
"hohp201". From my gsp it still shows "hohp101". I was told I could use "parmgr" to change this name. What commands do I enter to make this change ?

HP-UX B.11.11 U 9000/800/rp7410
################################

MP> co

Partitions available:

Part# Name
----- ----
0) hohp101
Q) Quit

Please select partition number:
2 REPLIES 2
Dave Hutton
Honored Contributor
Solution

Re: parmgr to change hostname ?

You can change it using /opt/parmgr/bin/parmgr it is a xwindows motif. I know you can do it at the boot handler prompt also, but I'm not as familiar with that.

Basically you select the partition you want to change. Click "Partition" then "Modify" and change what it says to what you want and click okay.

DCE
Honored Contributor

Re: parmgr to change hostname ?

The parmodify command will work. I have used it to do exactly what you are looking for:

parmodify -p <#> -P new_name

where <#> is the partion number you wish to rename


See the man page for further details