1834462 Members
2666 Online
110067 Solutions
New Discussion

Hostname Expansion

 
Sridhar R
Regular Advisor

Hostname Expansion


Hi,

I have installed the bundle NodeHostNameXpnd in one of my system. And i am able to expand the hostname.

cdbap101#swlist | grep -i node
NodeHostNameXpnd B.11.23.01 Nodename, Hostname expansion enhancement
cdbap101#

cdbap101#uname -a
HP-UX cdbap101 B.11.23 U ia64 0173588834 unlimited-user license


When i tried, expanding the hostname on a different system which doesn't have this bundle, i was able to expand the hostname after #set_parms and giving a reboot.

The system on which i expanded without the bundle is:

hrpap101#uname -a
HP-UX hrpap101 B.11.23 U 9000/800 675008885 unlimited-user license
hrpap101#


Both of them being HP-UX 11.23 servers.

Then what this bundle makes the difference.?

Can anyone explain properly.


4 REPLIES 4
Rasheed Tamton
Honored Contributor

Re: Hostname Expansion

Hi,

Please look the below doc which would give you detailed info.

http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=NodeHostNameXpnd

Rasheed Tamton
Honored Contributor

Re: Hostname Expansion

The nodename (uname) is used for UUCP related programs

Look for man uname, man setuname, man sethostname & man hostname
Jeeshan
Honored Contributor

Re: Hostname Expansion

exapand more than 8 character and check.
a warrior never quits
Sridhar R
Regular Advisor

Re: Hostname Expansion

HI,

Look at the below comparison:


hrpap101#set_parms hostname
_______________________________________________________________________________
For the system to operate correctly, you must assign it a unique
system name or "hostname". The hostname can be a simple name
(example: widget) or an Internet fully-qualified domain name
(example: widget.region.mycorp.com).

A simple name, or each dot (.) separated component of a domain name, must:

* Start and end with a letter or number.
* Contain no more than 8 characters per component.
* Contain no more than 63 total characters.
* Contain only letters, numbers, underscore (_), or dash (-).
The underscore (_) is not recommended.

NOTE: The first or only component of a hostname should contain no more
than 8 characters and the full hostname should contain no more
than 63 characters for maximum compatibility with HP-UX software.

The current hostname is hrpap101.
_______________________________________________________________________________

Enter the system name, then press [Enter] or simply press [Enter]
to retain the current host name (hrpap101):


------------------------------------------



cdbap101#set_parms hostname
_______________________________________________________________________________
For the system to operate correctly, you must assign it a unique
system name or "hostname". The hostname can be a simple name
(example: widget) or an Internet fully-qualified domain name
(example: widget.region.mycorp.com).

A simple name, or each dot (.) separated component of a domain name, must:

* Start and end with a letter or number.
* Contain no more than 63 characters per component.
* Contain no more than 255 total characters.
* Contain only letters, numbers, underscore (_), or dash (-).
The underscore (_) is not recommended.

NOTE: The first or only component of a hostname should contain no more
than 8 characters and the full hostname should contain no more
than 63 characters for maximum compatibility with HP-UX software.

The current hostname is cdbap101.
_______________________________________________________________________________

Enter the system name, then press [Enter] or simply press [Enter]
to retain the current host name (cdbap101):




I think the only way of testing this is to expand for more than 63 characters.

Can anyone suggest by giving any other example hostnames for testing purpose other than expanding 63 characters.



Thanks
Sridhar