• 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. Solaris : Non-root user can’t run prtdiag command
  2. Oracle Solaris 11 Zones : New Features
  3. Solaris zones : How to set netmasks
  4. Solaris 11 : How to configure VLAN tagging on a network interface
  5. Solaris Resource Manager Basics : Understanding Resource Pools
  6. How to configure an IP address in Solaris 11
  7. How to prevent SSH connections from disconnecting due to inactivity when using MobaXterm
  8. How to remove a failed disk using luxadm and cfgadm
  9. Solaris 11 : Increasing the size of a vdisk in LDom ( with backend device as ZFS volume )
  10. SVM : How to set boot device at OBP for mirrored root disk

You May Also Like

Primary Sidebar

Recent Posts

  • qm Command Examples in Linux
  • qm wait Command Examples in Linux
  • qm start Command Examples in Linux
  • qm snapshot Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright