{"id":431,"date":"2017-08-01T11:15:32","date_gmt":"2017-08-01T16:15:32","guid":{"rendered":"http:\/\/www.hpux.ws\/?p=431"},"modified":"2017-08-01T11:15:32","modified_gmt":"2017-08-01T16:15:32","slug":"need-a-longer-hostname-8-dont-forget-the-kernel-parameter","status":"publish","type":"post","link":"http:\/\/www.hpux.ws\/?p=431","title":{"rendered":"Need a longer hostname 8+ Don&#8217;t forget the kernel parameter"},"content":{"rendered":"<p>Host names need to be descriptive. The trend toward longer names has been going on for years.<\/p>\n<p>&nbsp;<\/p>\n<p>As a legacy Unix, HP-UX CAN keep up.<\/p>\n<p><!--StartFragment --><span style=\"color: #000000; font-family: 'Segoe UI'; font-size: small;\">kctune -v expanded_node_host_names<\/span><!--EndFragment --><\/p>\n<p>mygush0:root &gt; kctune -v expanded_node_host_names<br \/>\nTunable expanded_node_host_names<br \/>\nDescription Enables expanded node and host names (read manpage for warnings)<br \/>\nModule sysconfig<br \/>\nCurrent Value 0 [Default]<br \/>\nValue at Next Boot 0 [Default]<br \/>\nValue at Last Boot 0<br \/>\nDefault Value 0<br \/>\nConstraints expanded_node_host_names &gt;= 0<br \/>\nexpanded_node_host_names &lt;= 1<br \/>\nCan Change Immediately or at Next Boot<\/p>\n<p>hostname is set in \/etc\/rc.config.d\/netconf<\/p>\n<p>But to make the system fully compatible the kernel needs to be set.<\/p>\n<p>mygush0:root &gt; kctune expanded_node_host_names=1<br \/>\n==&gt; Update the automatic &#8216;backup&#8217; configuration first? y<br \/>\n* The automatic &#8216;backup&#8217; configuration has been updated.<br \/>\n* Future operations will update the backup without prompting.<br \/>\nWARNING: Setting the expanded_node_host_names parameter to 1 will allow<br \/>\nadministrators to set node and host names larger than 8 and 64<br \/>\ncharacters\/bytes, respectively. It is strongly recommended<br \/>\nthat all related manpages and documentation be understood<br \/>\nbefore setting larger names. Larger names can cause some<br \/>\napplications which use those names to behave incorrectly or<br \/>\nfail.<br \/>\n* The requested changes have been applied to the currently<br \/>\nrunning configuration.<br \/>\nTunable Value Expression Changes<br \/>\nexpanded_node_host_names (before) 0 Default Immed<br \/>\n(now) 1 1<br \/>\nmygush0:root &gt; kctune -v expanded_node_host_names<br \/>\nTunable expanded_node_host_names<br \/>\nDescription Enables expanded node and host names (read manpage for warnings)<br \/>\nModule sysconfig<br \/>\nCurrent Value 1<br \/>\nValue at Next Boot 1<br \/>\nValue at Last Boot 0<br \/>\nDefault Value 0<br \/>\nConstraints expanded_node_host_names &gt;= 0<br \/>\nexpanded_node_host_names &lt;= 1<br \/>\nCan Change Immediately or at Next Boot<\/p>\n<p>Good to go.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Host names need to be descriptive. The trend toward longer names has been going on for years. &nbsp; As a legacy Unix, HP-UX CAN keep up. kctune -v expanded_node_host_names mygush0:root &gt; kctune -v expanded_node_host_names Tunable expanded_node_host_names Description Enables expanded node and host names (read manpage for warnings) Module sysconfig Current Value 0 [Default] Value at [&hellip;]<\/p>\n","protected":false},"author":1318,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_kadence_starter_templates_imported_post":false,"footnotes":""},"categories":[52,8],"tags":[155],"class_list":["post-431","post","type-post","status-publish","format-standard","hentry","category-ignite-ux-2","category-sysadmin","tag-hp-ux-long-hostnames"],"_links":{"self":[{"href":"http:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts\/431"}],"collection":[{"href":"http:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/users\/1318"}],"replies":[{"embeddable":true,"href":"http:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=431"}],"version-history":[{"count":1,"href":"http:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts\/431\/revisions"}],"predecessor-version":[{"id":432,"href":"http:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts\/431\/revisions\/432"}],"wp:attachment":[{"href":"http:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=431"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}