• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How to provide unique hostid for a non global zone

by admin

Question : How to set a unique hostid for non-global zone ?

Answer:

Per default, a non global zone in Solaris gets the same hostid as global zone. Starting from Solaris 10 update 9, It is allowed to set unique hostid for a non-global zone using zonecfg command.

Procedure to set unique hostid

1. Shtidown the non-global zone (in our case zone01).

# zlogin zone01 shutdown

2. Set the hostid of your choice using zonecfg command.

# zonecfg -z zone01
zonecfg:zone01> set hostid=80f0c086        (HOSTID of your choice)
zonecfg:zone01> exit

3. Boot the zone for the changes to take effect.

# zoneadm -z zone01 boot
Minimum Kernel Patch 142909-17 (s10_u9 9/10) is required to assign unique hostid for each non-global zone.

Filed Under: Solaris, Solaris 11, Zones

Some more articles you might also be interested in …

  1. How to Use the Oracle Solaris Fast Crash Dump Feature
  2. 17 Examples of using Solaris boot command
  3. Solaris : How to Troubleshoot “Unable to mount NFS mount point”
  4. Solaris : How to include date and timestamp in bash shell command history
  5. How to assign a static IPv6 address on Solaris 8,9,10 (persistently)
  6. Howto Verify If a Bootblk is Installed on the Boot Disk (SPARC)
  7. Solaris 11 IPS hand-on LAB – Creating IPS repository
  8. SVM : How to set boot device at OBP for mirrored root disk
  9. Solaris Snoop : 15 Awesome practical examples for packet sniffing
  10. How to create Solaris 8 & 9 Branded Zones in Solaris 10

You May Also Like

Primary Sidebar

Recent Posts

  • vgextend Command Examples in Linux
  • setpci command – configure PCI device
  • db_load command – generate db database
  • bsdtar command – Read and write tape archive files

© 2022 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright