Which two methods would you use to safely and cleanly shut down dbzone and all of its applications?

dbzone is currently running on your server.
Which two methods would you use to safely and cleanly shut down dbzone and all of its
applications?

dbzone is currently running on your server.
Which two methods would you use to safely and cleanly shut down dbzone and all of its
applications?

A.
zlogin –z dbzone halt

B.
zoneadm –z dbzone shutdown –i0

C.
zoneadm –z dbzone shutdown

D.
zoneadm –z dbzone halt

E.
zlogin dbzone shutdown –i0

Explanation:
D: zoneadm halt command halts the specified zones. halt bypasses running the
shutdown scripts inside the zone. It also removes run time resources of the zone.
E: Use: zlogin zone shutdown
to cleanly shutdown the zone by running the shutdown scripts.

Use this procedure to cleanly shut down a zone.
1. Become superuser, or assume the Primary Administrator role.
2. Log in to the zone to be shut down, for example, my-zone, and specify shutdown as the name
of the utility and init 0 as the state global# zlogin my-zone shutdown -y -g0 -i 0
Reference: System Administration Guide: Oracle Solaris Containers-Resource Management and
Oracle Solaris Zones, How to Use zlogin to Shut Down a Zone
Reference: man zoneadm



Leave a Reply 4

Your email address will not be published. Required fields are marked *

three × two =


Mir

Mir

DE is correct.

andy

andy

C & E

shutdown [-r [– boot_options]]

Cleanly shut down the zone (equivalent to running
/usr/sbin/init 0 in the zone). The shutdown subcommand
waits until the zone is successfully shut down; a
zoneadm halt can be used to forcibly halt the zone, if
the shutdown process takes a long time.

AHMED

AHMED

from the man page of zoneadm

shutdown [-r [– boot_options]]

Cleanly shut down the zone (equivalent to running
/usr/sbin/init 0 in the zone)

so C&E is correct