OpenSolaris

Printable Version Enter a New Search
Bug ID 6580939
Synopsis RFE: provide unique hostid for each non-global zone
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:zones
Keywords
Responsible Engineer Jordan Vaughan
Reported Against 5.10 , s10u5_fcs
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_108
Fixed In snv_108
Release Fixed solaris_nevada(snv_108)
Related Bugs 6792955 , 6799201 , 6799203 , 6799206 , 6799207 , 6799208
Submit Date 16-July-2007
Last Update Date 27-May-2009
Description
The hostid is defined as the hardware serial number of the running machine and is unique for each host. All zones on that host (global and all non-global zones) share the same hostid as they are sharing the same kernel and the same hardware.

Unfortunatly several third party software solutions use the hostid for licence checking (e.g. flexlm which is also used by some Sun products). This causes problems as the same hostid suddenly appears from multiple originating instances (non-global zones in this case). The correct fix would be to change the licencing software to use the zone uuid instead of the hostid but customer has no control over these legacy applications.

It would be helpful to (optionally?) make the hostid unique per zone. This would ease adoption of the zones feature. Right now some software can't be used inside non-global zones due to this restriction of equal hostids for each non-global zone. This particular customer reports problems with BMC Remedy but other applications are most likely affected, too.
Work Around
Run destructive dtrace script to intercept the sysinfo(SI_HW_SERIAL) call and return manually configured hostids for each zone.
Alternatively, use an LD_PRELOAD that intercepts sysinfo().
Comments
N/A