Escolar Documentos
Profissional Documentos
Cultura Documentos
2u2
Zone Cluster is a whole new way of dealing with zones in Sun Cluster.
Before we get into it, understand that all the previous ways of dealing with zones in the
cluster still exist, completely unchanged. If you knew nothing about the new zone
cluster feature, you could administer and use Sun Cluster 3.2 U2 exactly as you always
have regarding zones.
In summary, there are now three completely different ways of dealing with zones in
Sun Cluster (and they can be mixed and matched with different zones in the same
cluster!)
1. HA-containers feature, from SC 3.1, where a zone itself is treated like a resource. The
zone path is stored in shared storage and the zone is the application that fails over.
b. RGM running in the global zone can launch Resource Group in zones — a zone looks
like a virtual node on which to launch RG
One more note, before we start: a zone cluster is intended as a general structure for
supporting clustered applications in zones, but today the only supported application
using a zone cluster is Oracle RAC.
A zone cluster is a cluster of zones. It might be easiest to start with the picture and then
look at the rules:
zonecluster
You must have a regular old cluster on nodes before any zones on those nodes
can be
involved in a zone cluster. The regular old cluster is given a new terminology,
the global cluster.
Once you have the regular old cluster (global cluster), you can have as many
zone clusters as you like.
A zone can only be in one zone cluster
Each zone cluster is composed of zones on different nodes (no such thing as a
single zone cluster with multiple zones on the same node).
Zone cluster acts like its own independent cluster, as far as nodes, resources, resource
groups, and resource types are concerned.
When you are logged into a zone that is part of a zone cluster, you manage the
resources and resource groups and resource types of that zone cluster independently of
those in the global cluster or in any other zone cluster. One easy set of rules is:
The structure of the zone cluster feature is flexible (each zone cluster has its own CCR),
so it is easy to see that in the future more pieces of the cluster could easily live in a zone
cluster, if need be).
There is a new command clzonecluster (clzc) that can build the entire zone cluster from
a single node. Underneath, the command communicates across the network with all the
nodes and uses standard zonecfg and zoneadm commands to configure, install, and
boot
the zones of a zone cluster. You perform these functions as separate steps (clzc configure,
clzc install, and so on), but all from a single node.
The zones of a zone cluster are installed with standard Solaris 10 software, including
the cluster components (they can be sparse root or whole root zones).
They are automatically given a special zone brand (the cluster brand) to mark them as
zones in a zone cluster.
The cluster software has all the tools needed to define the cluster zones.
2. All nodes taking part of the zone cluster must be in clustered mode.
root@node11:$ clnode status
— Node Status —
3. Create the zone cluster. The zones are sparse zones by default. If we want a whole
root zone we need to specify the create -b parameter. The command used to manage a
zone cluster is clzc or clzonecluster.
In both nodes:
After this, we can login to the new zone as an standard non-global zone:
ifconfig -a
lo0:1: flags=2001000849 mtu 8232 index 1
zone zonecluster1
inet 127.0.0.1 netmask ff000000
bge0: flags=9000843 mtu 1500 index 2
inet 10.164.17.170 netmask ffffff00 broadcast 10.164.17.255
groupname sc_ipmp0
ether 0:14:4f:22:75:ce
bge0:1: flags=1000843 mtu 1500 index 2
zone zonecluster1
inet 10.164.17.178 netmask ffffff00 broadcast 10.164.17.255
clprivnet0: flags=1009843 mtu 1500 index 5
inet 172.16.4.2 netmask fffffe00 broadcast 172.16.5.255
ether 0:0:0:0:0:2
clprivnet0:3: flags=1009843 mtu 1500 index 5
zone zonecluster1
inet 172.16.6.130 netmask ffffff80 broadcast 172.16.6.255
/usr/cluster/bin/cluster status
— Node Status —
Now we have a full featured zone cluster with two Virtual Nodes.