![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||||
Solution Type Technical Instruction Sure Solution 1507056.1 : Resolving SPARC SuperCluster guest domains which have non-unique hostids
In this Document
Applies to:SPARC SuperCluster T4-4 - Version All Versions to All Versions [Release All Releases]Oracle Solaris on SPARC (64-bit) GoalAll SPARC SuperCluster systems that were deployed by Oracle Advanced Customer Services prior to the 1st December 2012 are effected by Bug 15799001 - "SUNBT7178081 SSC guest ldoms hostids are not unique guest domains" which causes all SuperCluster guest domains to have the same hostid of 0x84b31095. Although this is a minor issue it may cause confusion with applications which use a licence tied to a hostid or sending in data to Oracle for support issues. All SPARC SuperCluster installations after this time will use automatically generated mac addresses / hostids during guest domain creation and are not effected by Bug 15799001. FixIt's quite easy to identify if a SPARC SuperCluster platform is effected by this issue by logging into the primary logical domain and running the following command:
# ldm ls -l | awk '/HOSTID/ {print; getline; print}' HOSTID 0x85f50454 HOSTID 0x84b31095 HOSTID 0x84b31095 If you see multiple domains with the hostid of 0x84b31095 then your system was installed prior to 1st December 2012 and you'd be advised to apply the workaround below to avoid this issue. As documented in the Oracle VM Server for SPARC 2.2 Administration Guide we use the mac address range 00:14:4F:FC:00:00 - 00:14:4F:FF:FF:FF for manual mac address allocation. We can use the following python script to randomly pick an address from that range so we can use with a guest:
#!/usr/bin/python import sys import random def printf(format, *args): sys.stdout.write(format % args) addr1=random.randint(0xfc, 0xff) addr2=random.randint(0x00, 0xff) addr3=random.randint(0x00, 0xff) printf ('New mac address is: 00:14:4f:%x:%x:%x\n', addr1, addr2, addr3) # ldm list NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME primary active -n-cv- UART 128 523776M 0.2% 16h 47m s10u10-EIS2-2 active -t---- 5002 64 256G 1.2% 13s s11-sru5-1 active -n--v- 5003 64 256G 0.2% 19m # ldm ls -l | awk '/HOSTID/ {print; getline; print}' HOSTID 0x85f50454 HOSTID 0x84b31095 HOSTID 0x84b31095 Ensure that all applications running on the general purpose domains have been cleanly shutdown or failed over to another general purpose domain if using Oracle Solaris Cluster.
# ./mac.py New mac address is: 00:14:4f:fd:5c:6d # ./mac.py New mac address is: 00:14:4f:fd:a0:57 # ldm stop s11-sru5-1 # ldm stop s10u10-EIS2-2 # ldm set-domain mac-addr=00:14:4f:fd:5c:6d s10u10-EIS2-2 # ldm set-domain mac-addr=00:14:4f:fd:a0:57 s11-sru5-1 Confirm that all MAC addresses have been set and all domains are now unique:
# ldm ls -l | awk '/HOSTID/ {print; getline; print}' HOSTID 0x85f50454 HOSTID 0x84fd5c6d HOSTID 0x84fda057 Restart domains
# ldm start s11-sru5-1 # ldm start s10u10-EIS2-2
Community DiscussionsStill have questions? Use the communities window below to search for similar discussions or start a new discussion on this subject. (Window is the live community not a screenshot) Click here to open in main browser window
References<BUG:15799001> - SUNBT7178081 SSC GUEST LDOMS HOSTIDS ARE NOT UNIQUEAttachments This solution has no attachment |
||||||||||||||||||
|