- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HOST ID
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2003 01:02 PM
тАО11-14-2003 01:02 PM
HOST ID
I am not sure if we should use the "uname -i" command to find the host ID of the hp-ux box. Is there any other command to find the host ID of the hp-ux system (with Sun Solaris there is "hostid" command available).
Thanks in advance,
Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2003 01:07 PM
тАО11-14-2003 01:07 PM
Re: HOST ID
Yes. It is "hostname".
Jorge
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2003 01:09 PM
тАО11-14-2003 01:09 PM
Re: HOST ID
-Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2003 01:29 PM
тАО11-14-2003 01:29 PM
Re: HOST ID
To create a separate UUCP and hostname, edit the /etc/rc.config.d/netconf file and add the undocumented variable: NODENAME to set UUCP (uname -i) separately. For example:
HOSTNAME=reallylongname
NODENAME=reallyln
and in /etc/hosts:
12.34.56.78 reallylongname reallyln
Noe name resolution will succeed for reallylongname as well as reallyln.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2003 02:14 PM
тАО11-14-2003 02:14 PM
Re: HOST ID
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2003 02:21 PM
тАО11-14-2003 02:21 PM
Re: HOST ID
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2003 02:54 PM
тАО11-14-2003 02:54 PM
Re: HOST ID
#uname -i ( is the command to view the Host identification number).
The ss_config utility is used to change the Host ID which can be used only by HP engineers, customers are not allowed to use this utility, since you can fake alot of hardware information.
Our Production server use to crash all the time and guess what, the Host ID wasn't the correct one after HP has replaced the system board they forgot to change the Host ID!
Now, it's OK.
Hope this help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2003 05:31 PM
тАО11-14-2003 05:31 PM
Re: HOST ID
On a HP-UX system, run the command "/bin/hostname" to display the hostname. Run the command "uname -i". This will display a string of characters (e.g. 123AB456). You need to add a "#" character to the beginning of this string. For example, if the "uname -i" command returns "123AB456", then your Host ID is "#123AB456".
Source:
http://www.intel.com/software/products/support/hostinfo.htm
HTH.
Regards,
Hemanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2003 10:33 PM
тАО11-14-2003 10:33 PM
Re: HOST ID
I don't know if this will help, but anyway take a look at this link:
http://h21007.www2.hp.com/dspp/tech/tech_TechSingleTipDetailPage_IDX/1,2366,1171,00.html
Kind regards,
Zigor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2003 10:11 AM
тАО11-15-2003 10:11 AM
Re: HOST ID
will get all the info that you need as well
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2003 06:36 AM
тАО11-16-2003 06:36 AM
Re: HOST ID
One of the diffs between Sun & HP is that Sun tends to use the MAC id of the built-in NIC or a variation thereof as it's primary ID. HP doesn't as a rule.
There are diff HP SW licensing schemes - flex comes to mind that do use this schema.
So the question becomes - Why do you need HostID?
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2003 11:47 AM
тАО11-16-2003 11:47 AM
Re: HOST ID
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2004 07:43 PM
тАО06-07-2004 07:43 PM
Re: HOST ID
You can give "echo `uname -i` 16op | dc" to get the hostid of the system.
Note : Do not give the double quotes,while executing it.
Regards
Jai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2004 08:19 PM
тАО06-07-2004 08:19 PM
Re: HOST ID
I know the only way i can get the hostid is thr'
# uname -i
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2004 04:54 AM
тАО06-08-2004 04:54 AM
Re: HOST ID
Your command sure does return some number :-)) .. but is there any document that says this is the way to retrieve the host ID??
Thanks Bharat ..
-Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2004 05:13 AM
тАО06-08-2004 05:13 AM
Re: HOST ID
all Unixes. Evidently on Solaris they
define it like this:
"host ID": (noun) the value returned
by the "hostid" command
HP-UX does not have such a definition.
You need to ask your application vendor
what number they're looking for.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2004 05:20 AM
тАО06-08-2004 05:20 AM
Re: HOST ID
Of course looking at the mans you would see for solaris:
hostid - print the numeric identifier of the current host
SYNOPSIS
/usr/bin/hostid
DESCRIPTION
The hostid command prints the identifier of the current host
in hexadecimal. This numeric value is likely to differ when
hostid is run on a different machine.
I like the "likely to differ"...
on HP man uname...
-i Display the machine identification number (or the
node name, if the machine identification number
cannot be determined). This option cannot display
the unique machine identification number. For
getting the unique machine identification number
refer to the getconf command or confstr call. See
getconf(1)) and confstr(3C).
Now I havent yet found a difference between uname -i and getconf MACHINE_IDENT:
octant # getconf MACHINE_IDENT
168921511
octant # uname -i
168921511
So as far as SAS institute are happy with the output of uname -i to generate theyr licence key I suppose its good enough
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2004 05:35 AM
тАО06-08-2004 05:35 AM
Re: HOST ID
# /usr/sam/lbin/samx -C /usr/sam/lib/C/mo.ui
If you look shows a field as Machine Identification:<
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2004 06:02 AM
тАО06-08-2004 06:02 AM
Re: HOST ID
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2004 10:40 AM
тАО06-08-2004 10:40 AM
Re: HOST ID
Also have a look at i4target
# /opt/ifor/ls/bin/i4target -v
Sundar