Non-Global Zones in Solaris 11.1 (Part – 4)

Continuing from Previous post ( Flexible configuration is more like the sparse non-global zone in Solaris 10.

Step 1 : Checked the status of zone.

root@solaris11:~# zoneadm list -p

Step 2 : Set file-mac-profile property to flexible-configuration and performed the reboot of zone.

root@solaris11:~# zonecfg -z testzone1 set file-mac-profile=flexible-configuration

root@solaris11:~# zoneadm -z testzone1 reboot

Step 3 : Compare the below output with Step 1.

root@solaris11:~# zoneadm list -p

Step 4 : Verification time. We are able to touch files in /etc/ and /root file systems but /export and /opt are still in read only mode.

root@testzone1:~# touch /export/file1
touch: cannot create /export/file1: Read-only file system

root@testzone1:~# touch /etc/file1
root@testzone1:~# touch /var/file1

Service status persist across the reboots in non-global zone now compared to strict and fixed-configuration.

root@testzone1:~# svcs -a | grep -i ssh
online 16:35:58 svc:/network/ssh:default
root@testzone1:~# svcadm disable ssh
root@testzone1:~# logout

[Connection to zone ‘testzone1’ pts/2 closed]
root@solaris11:~# zoneadm -z testzone1 reboot

root@solaris11:~# zlogin testzone1
[Connected to zone ‘testzone1’ pts/2]
Oracle Corporation SunOS 5.11 11.1 September 2012

root@testzone1:~# svcs -a | grep -i ssh
disabled 16:39:21 svc:/network/ssh:default



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s