- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How is the hostid (uname -i) determined
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
Forums
Discussions
Discussions
Discussions
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
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
04-12-2002 10:21 AM
04-12-2002 10:21 AM
How is the hostid (uname -i) determined
How is this determined on HP-UX? My guess is that this comes from some firmware value. Below is my host's information.
Here is my hostid: 287814301
Here are my interfaces with MAC Addresses:
8/12/2/0 0x0060B0597E44 2 UP lan2 UP 4 ETHER Yes 76
8/8/1/0 0x00306E04517C 3 UP lan3 UP 5 ETHER Yes 77
10/12/6 0x080009DAB4E9 0 UP lan0 UP 6 ETHER Yes 52
8/12/1/0 0x0060B0597E43 1 UP lan1 UP 7 ETHER Yes 76
Here are the ip address (if needed):
167.233.160.210 - lan0
167.233.168.210 - lan1
167.233.152.210 - lan2
167.233.11.210 - lan3
Any help would be greatly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2002 10:33 AM
04-12-2002 10:33 AM
Re: How is the hostid (uname -i) determined
I believe the hostid is set in the hardware probably on the motherboard and is not changeable like the Sun hostid.
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2002 10:40 AM
04-12-2002 10:40 AM
Re: How is the hostid (uname -i) determined
Appears that HP also uses the MAC address to generate the hostid - see the following doc:
http://dsportal.eservices.hp.com/dspp/tech/tech_TechSingleTipDetailPage_IDX/1,2366,1171,00.html
Appears they cut chars 12-23 from the address.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2002 10:46 AM
04-12-2002 10:46 AM
Re: How is the hostid (uname -i) determined
See the following thread:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xfcad4e49c5cdd5118ff40090279cd0f9,00.html
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2002 11:48 AM
04-12-2002 11:48 AM
Re: How is the hostid (uname -i) determined
such confusion on a hpux box doing a man on uname says the -i Displays the machine Identification number which is the SPU ID on a Sun box its also a machine identification number just generated a different way.
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2002 04:18 AM
04-13-2002 04:18 AM
Re: How is the hostid (uname -i) determined
I believe you need the hostid for software licensing purpose.
Some software is bound to a hostid established by a utility called Flexlm (www.globetrotter.com)- you have to first install flexlm and then run the lmhostid command.
Usually the sw vendor should be however able to bound sw to a so called HW address which is acquired by the lanscan command and it is in fact the ethernet card address.
Hope this helps.
maros
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2002 04:24 AM
04-13-2002 04:24 AM
Re: How is the hostid (uname -i) determined
sorry - I overlooked your hostid first - I would bet the hostid you put in your question was established by the Flexlm utility - see my message above.
maros
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2002 06:09 PM
04-13-2002 06:09 PM
Re: How is the hostid (uname -i) determined
Bill Hassell, sysadmin