S11 nodes running VCS and HA S11 zone

Kartik Vashishta <[email protected]> Mon, 20 May 2013 14:57:30 -0500
Newsgroups gmane.os.solaris.managers
Message-ID <CAJFC5W29m-tuh02XCfSqOGgq-A_MJ2v_XpWqjtCe0L4bM-8o3Q@mail.gmail.com>
This question may have a lot to do with S11 zones and zpools, hence in this
forum.

I have a two node cluster, both nodes running S11.1 and a S11 zone therein.
The zone comes up fine on one of the cluster nodes, but when I execute the
VCS command -switch to fail it to the other node, I get an error suggesting
that z4root/rpool is not mounted whereas zfs list shows it as mounted.

Both nodes have identical z5.xml files.

Here is my main.cf:
-bash-4.1# more main.cf
include "OracleASMTypes.cf"
include "types.cf"
include "Db2udbTypes.cf"
include "OracleTypes.cf"
include "SybaseTypes.cf"

cluster s11cluster (
        UserNames = { admin = ajiFjlIejQjoIekEgeFdgK }
        Administrators = { admin }
        )

system solaris11-chi-1 (
        )

system solaris11-chi-2 (
        )

group z5grp (
        SystemList = { solaris11-chi-1 = 0, solaris11-chi-2 = 1 }
        ContainerInfo = { Name = z5, Type = Zone, Enabled = 1 }
        AutoStartList = { solaris11-chi-1, solaris11-chi-2 }
        Administrators = { admin }
        )

        Netlsnr Listener_z3db (
                Owner = oracle
                Home = "/orabin/u01/product/11.2.0/dbhome_1"
                TnsAdmin =
"/orabin/u01/product/11.2.0/dbhome_1/network/admin"
                )

        Oracle z3-1db (
                Sid = orcl
                Owner = oracle
                Home = "/orabin/u01/product/11.2.0/dbhome_1"
                )

        Zone z5_zone (
                Critical = 0
                BootState = ""
                ForceAttach = 0
                )
        Zpool orabin_pool (
                PoolName = orabin
                AltRootPath = "/"
                ZoneResName = z5_zone
                )

        Zpool oradata_pool (
                PoolName = oradata
                AltRootPath = "/"
                ZoneResName = z5_zone
                )

        Zpool z5_pool (
                PoolName = z4root
                AltRootPath = "/"
                ZoneResName = z5_zone
                )

        Listener_z3db requires z3-1db
        oradata_pool requires orabin_pool
        z3-1db requires z5_zone
        z5_zone requires orabin_pool
        z5_zone requires oradata_pool
        z5_zone requires z5_pool


        // resource dependency tree
        //
        //      group z5grp
        //      {
        //      Netlsnr Listener_z3db
        //          {
        //          Oracle z3-1db
        //              {
        //              Zone z5_zone
        //                  {
        //                  Zpool orabin_pool
        //                  Zpool oradata_pool
        //                      {
        //                      Zpool orabin_pool
        //                      }
  //                  Zpool z5_pool
        //                  }
        //              }
        //          }
        //      }