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

The Geek Diary

CONCEPTS | BASICS | HOWTO

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • Linux Services
    • VCS
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
    • Data Guard
  • DevOps
    • Docker
    • Shell Scripting
  • Interview Questions
  • 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 ‘zpool split’ to Split rpool in solaris 11 (x86/x64)
  2. Examples of adding static routes in Solaris
  3. Solaris 11.3 – Changing from iSCSI SendTargets Discovery to Static Discovery
  4. How to configure link based IPMP in Solaris 11
  5. How to setup a chroot ssh/sftp in Solaris 10
  6. Solaris ZFS : How to Offline / Online / Detach / Replace device in a storage pool
  7. How to configure NTP client in Solaris 8,9,10 and non-global zones
  8. Solaris ZFS : How to replace a failed disk in rpool (x86)
  9. How to configure rsyslog on Solaris 11.1 to send messages to a remote host using TCP
  10. Complete Hardware Reference : SPARC T4-1 / T4-2 / T4-4

You May Also Like

Primary Sidebar

Recent Posts

  • How to disable ICMP redirects on CentOS/RHEL
  • What are Oracle Key Vault Roles
  • What Is Oracle Key Vault
  • Auditing with Oracle Database Vault Reports
  • Archives
  • Contact Us
  • Copyright

© 2021 · The Geek Diary