This post is to provide steps from changing iSCSI Static Discovery to SendTargets Discovery. If zones are configured, zones need to be halted before changing the iSCSI discovery method then boot afterward. If zpool is configured, zpool needs to be exported before changing the iSCSI discovery method then import afterward. Below are high level steps: […]
Zones
How to Set the TimeZone in Solaris 10,11
The Ask In Solaris Operating System (OS), where is the default timezone set, and how can it be changed? Solaris 11 OS and above 1. The default timezone is defined as a property of the “svc:/system/timezone:default” SMF service: # svcs timezone STATE STIME FMRI online Aug_22 svc:/system/timezone:default # svcprop timezone:default |grep localtime timezone/localtime astring US/Eastern […]
Solaris Zone Install Fails With Cpio Error
The Problem Error when trying to install full root zone ERROR: cannot install zone: cannot access [/usr/bin/cpio] (exec failure) NOTE: Sparse root install was successful. The Solution 1. Check the permissions of the cpio executable on the problematic system first. # ls -al /usr/bin/cpio -rwxrwxrwx 1 root bin 85924 Sept 9 2018 /usr/bin/cpio Correct permissions […]
Oracle Solaris 11 Zones : New Features
With Solaris 11, Oracle has introduced many new features. This is true with the Solaris zones as well. This post tries to list out the new features introduced in Solaris 11 zones. Oracle Solaris Zones is an OS virtualization feature in Oracle Solaris with a long and distinguished pedigree. One of the most highly adopted, […]
How to Create a Datalink in Non-Global Zone from the Global Zone in Solaris 11
Network virtualization is the process of combining hardware network resources and software network resources into a single administrative unit. The goal of network virtualization is to provide systems and users with efficient, controlled, and secure sharing of the networking resources. The end product of network virtualization is the virtual network. Starting from Oracle Solaris 11.2, […]
How to configure a vnic on top of a Vlan Tagged Interface and assign the vnic to a Solaris 11 Zone
This post discusses how to assign a vnic created on a vlan tagged interface and assign the vnic to an exclusive-ip zone in Solaris 11. If you want a vnic on a vlan, you need to set the vlan option when you create the vnic. Note that the physical does not have to be on […]
Solaris 11 : How to verify whether I’m logged into a Kernel Zone?
What is a Solaris Kernel Zone The solaris-kz brand uses the branded zones framework to run zones with a separate kernel and OS installation from that used by the global zone. A solaris-kz installation is independent of that of the global zone; it is not a pkg linked image and can be modified regardless of […]
Solaris 11 : How to Verify Kernel Zone Support on a Host
What is a Solaris Kernel Zone The solaris-kz brand uses the branded zones framework to run zones with a separate kernel and OS installation from that used by the global zone. A solaris-kz installation is independent of that of the global zone; it is not a pkg linked image and can be modified regardless of […]
Solaris zones : How to set netmasks
Question : How to set certain netmask for a non global zone ? Answer : To define a certain netmask for a non global zone, use zonecfg command. The network address is one of: a valid IPv4 address, optionally followed by “/” and a prefix length. a valid IPv6 address, which must be followed by […]
Solaris 11.2 : Adding new resources to a running zone online
Solaris 11.2 provides a supported way to add new resources to a running zone online. Prior to this version, a reboot of the non-global zone was required to make the changes effective. The post describes an example of adding a raw disk device online to a non-global zone. Example: 1. Check the Solaris OS version. […]