solaris10 Brand Zone Clusters

solaris10 Brand Zone Clusters

Introduction

The solaris10 brand zone cluster, released in Oracle Solaris Cluster version 4.1 software, provides a virtualized Oracle Solaris 10 cluster environment in an Oracle Solaris 11 configuration. Using this feature enables customers to run or migrate cluster applications that are deployed on the Oracle Solaris 10 operating system, without any modification to the application.

The following diagram depicts the coexistence of Oracle Solaris 11 and Oracle Solaris 10 cluster applications, which are isolated by using the zone cluster feature.

Overview of Creating a solaris10 Brand Zone Cluster

You perform the following tasks to create a solaris10 brand zone cluster:

    1. Pick a zone image to migrate or install

    2. Create an archive

    3. Configure the zone cluster

    4. Install the zone image for the zone cluster

    5. Install the cluster software

    6. Boot the zone cluster

    7. Log into zone and usage

The following procedure describes these tasks in detail.

How to Create a solaris10 Brand Zone Cluster

Before You Begin - Ensure that all requirements in Planning the Oracle Solaris Cluster Environment in Oracle Solaris Cluster Software Installation Guide are met.

1. Pick a zone image to migrate or install.

The archive types that are supported for installing a zone cluster are the following:

  • native brand zone on an Oracle Solaris10 system

  • cluster brand zone on an Oracle Solaris Cluster node with proper patch level, archive derived from a physical system installed with Oracle Solaris 10 software

  • solaris10 brand zone, archive derived from an installed solaris10 brand zone

  • A n Oracle Solaris 10 physical system

  • An Oracle Solaris 10 physical cluster node

For more details about support for configuring and installing a solaris10 brand zone cluster, see the Oracle Solaris Cluster 4.1 Release Notes and How to Create a Zone Cluster in Oracle Solaris Cluster Software Installation Guide .

In this example, an archive is derived from a physical node that is installed with Oracle Solaris 10 software is used with no Oracle Solaris Cluster software installed.

2. Create an archive and store it in a shared location.

For more details about creating archives, see Assessing an Oracle Solaris 10 System and Creating an Archive in System Administration Guide: Oracle Solaris Zones, Oracle Solaris 10 Zones, and Resource Management .

# flarcreate -S -n s10-system -L cpio /net/mysharehost/share/s10-system.flar

This archiver format is NOT VALID for flash installation of ZFS root pool.
This format is useful for installing the system image into a zone.
Reissue command without -L option to produce an archive for root pool install.
Full Flash
Checking integrity...
Integrity OK.
Running precreation scripts...
Precreation scripts done.
Creating the archive...
6917057 blocks
Archive creation complete.
Running postcreation scripts...
Postcreation scripts done.

Running pre-exit scripts...
Pre-exit scripts done.

3. Configure the zone cluster.

Create and configure the zone cluster, named s10-zc in this example, on the global cluster.

The main differences between the solaris and solaris10 brand zone cluster are setting the brand to solaris10 and adding the sysid configuration.


4. Install the zone image for the zone cluster.

The zone image is obtained in Step 3.

# clzonecluster install -a /net/mysharehost/share/s10-system.flar s10-zc

5. Install the cluster software.

Perform this step only if the archive does not contain cluster software in the image.

a. Boot the zone cluster into Offline/Running mode.

# clzonecluster boot -o s10-zc

b. Access the zone on all nodes of zone-cluster and make sure that system configuration is complete.

# zlogin -C s10-zc

If configuration is not complete, finish any pending system configuration.

c. From the global zone, check the zone cluster status.

# clzonecluster status s10-zc

=== Zone Clusters ===

--- Zone Cluster Status ---

Name

----

Brand

-----

Node Name

---------

Zone Host Name

--------------

Status

------

Zone Status

-----------

s10-zc

solaris10

phys-host-1

zc-host-1

Offline

Running



phys-host-2

zc-host-2

Offline

Running

d. Install the zone cluster software.

# clzonecluster install-cluster -d /net/mysharehost.com/osc-dir/ \

-p patchdir=/net/mysharehost/osc-dir,patchlistfile=plist-sparc \

-s all s10-zc

-p patchdir

Specifies the location of the patches to be installed along with the cluster software.

patchlistfile

Specifies the file that contains the list of patches to be installed inside the zone cluster along with the cluster software.In this example, the contents of the file plist-sparc are as follows:

# cat /net/mysharehost/osc-dir/plist-sparc

145333-15

Note - Both the patchdir and patchlistfile locations must be accessible to all nodes of the cluster.

-s

Specifies the agent packages that should be installed along with core cluster software. In this example, all is specified to install all the agent packages.

6. Boot the zone cluster.

a. Reboot the zone cluster to boot the zone into Online/Running mode.

You might have to wait for some time to get the status to Online/Running.

# clzonecluster reboot s10-zc

b. From the global zone, check the zone cluster status.

The status of zone cluster will now be in Online/Running mode.

# clzonecluster status s10-zc

=== Zone Clusters ===

--- Zone Cluster Status ---

Name

----

Brand

-----

Node Name

---------

Zone Host Name

--------------

Status

------

Zone Status

------------

s10-zc

solaris10

phys-host-1

zc-host-1

Online

Running



phys-host-2

zc-host-2

Online

Running

7. Log in to the zone and verify the status.

# zlogin s10-zc

[Connected to zone 's10-zc' pts/2]

Last login: Mon Nov 5 21:20:31 on pts/2

# /usr/cluster/bin/clnode status

=== Cluster Nodes ===

--- Node Status ---

Node Name

---------

Status

------

zc-host-1

Online

zc-host-2

Online

Next Steps

The zone cluster configuration is now complete. You can now install and bring up any Oracle Solaris 10 applications and make them highly available by creating the necessary resources and resource groups.

-- Mahesh Subramanya

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

mkb

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today