Many of us known to boot the Solaris global zone in single user mode.But have you ever tried to boot Solaris non-global zone in single user mode ?.In SPARC based machines we have an “OK” prompt to boot the OS in single user mode and using grub menu, we can to boot on X86 machines in single user mode.So how can we boot these virtual servers in single user mode ? how to see the booting messages ? Here we go.
Soalris non-global zones aslo having console like global zone.You can get this by using zlogin -C zone_name
1 .Use zoneadm list on the global zone server to show status of zones:
On the global zone, use the zoneadm list -vi to show current status of all installed zones.
Soalris non-global zones aslo having console like global zone.You can get this by using zlogin -C zone_name
1 .Use zoneadm list on the global zone server to show status of zones:
On the global zone, use the zoneadm list -vi to show current status of all installed zones.
2.Halting the zone:
3.Use zoneadm -z with the boot -s option to start an installed zone.On the global zone, Boot the new zone by issuing “zoneadm -z boot”.
You can bring down the local zone to single user mode,by just issuing “init 1″ command from local zone’s OS console.
4. Use zlogin -C to log into the zone and see that it is indeed in single use mode.
# zlogin -C One a zone is in single user mode, it can only be accessed from its console using the zlogin -c from the global zone.
4. Use zlogin -C to log into the zone and see that it is indeed in single use mode.
# zlogin -C One a zone is in single user mode, it can only be accessed from its console using the zlogin -c from the global zone.
No comments:
Post a Comment