Feb 8, 2009
Changing Nodename in HP-UX
Below are the steps to change the nodename in HP-UX: HP-UX ap21cnedc101 # uname -a HP-UX ap21cned B.11.23 U ia64 2222362797 unlimited-user license HP-UX ap21cnedc101 # kctune expanded_node_host_names=1 WARNING: The automatic 'backup' configuration currently contains the configuration that was in use before the last reboot of this system. ==> Do you wish to update it to contain the current configuration before making the requested change? y * The automatic 'backup' configuration has been updated. WARNING: Setting the expanded_node_host_names parameter to 1 will allow administrators to set node and host names larger than 8 and 64 characters/bytes, respectively. It is strongly recommended that all the documentation included with the NodeHostNameXpnd product bundle be understood before setting larger names. Larger names can cause some applications which use those names to exhibit anomalous or incorrect behavior. * The requested changes have been applied to the currently running system. Tunable Value Expression Changes expanded_node_host_names (before) 0 Default Immed (now) 1 1 HP-UX ap21cnedc101 # /sbin/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 ap21cnedc101. _______________________________________________________________________________ Enter the system name, then press [Enter] or simply press [Enter] to retain the current host name (ap21cnedc101): The hostname (or first component of the hostname) "ap21cnedc101" contains more than 63 characters. This is valid, but the system name as reported by `uname' will be truncated to "ap21cnedc101 ". Press [Enter] to continue... You have chosen ap21cnedc101 as the name for this system. Is this correct? Press [y] for yes or [n] for no, then press [Enter] y _______________________________________________________________________________ Working... _______________________________________________________________________________ HP-UX ap21cnedc101 # uname -a HP-UX ap21cnedc101 B.11.23 U ia64 2222362797 unlimited-user license |
Post a Comment