Cluster4.0

From pressy's brainbackup
Jump to: navigation, search

some notes on a test installation for oracle solaris cluster 4.0


# cd /net/fileserver/Oracle_SolarisCluster4.0
# lofiadm -a `pwd`/*iso | xargs -I {} mount -F hsfs -o ro {} /mnt
# zfs create -o mountpoint=/software/cluster -o compression=on rpool/ROOT/clsw 
# rsync -aP /mnt/repo /software/cluster
# pkg set-publisher -g file:///software/cluster/repo ha-cluster
# pkg publisher
PUBLISHER                             TYPE     STATUS   URI
solaris                               origin   online   https://pkg.oracle.com/solaris/support/
ha-cluster                            origin   online   file:///software/cluster/repo/
# pkg install ha-cluster-full 
           Packages to install:  56
       Create boot environment:  No
Create backup boot environment: Yes
            Services to change:   7

DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                56/56   6617/6617    48.4/48.4

PHASE                                        ACTIONS
Install Phase                              8768/8768 

PHASE                                          ITEMS
Package State Update Phase                     56/56 
Image State Update Phase                         2/2 
# /usr/cluster/bin/scinstall

about updates -> http://pkg-register.oracle.com/

# cp -i *pem /var/pkg/ssl
# pkg set-publisher \
  -k /var/pkg/ssl/Oracle_Solaris_Cluster_4.0_Support.key.pem \
  -c /var/pkg/ssl/Oracle_Solaris_Cluster_4.0_Support.certificate.pem \
  -O https://pkg.oracle.com/ha-cluster/support ha-cluster
# pkg publisher
PUBLISHER                             TYPE     STATUS   URI
solaris                               origin   online   https://pkg.oracle.com/solaris/support/
ha-cluster                            origin   online   https://pkg.oracle.com/ha-cluster/support/
# zfs destroy rpool/ROOT/clsw
# pkg update -nv
           Packages to install:         2
            Packages to update:         8
     Estimated space available:  10.90 GB
Estimated space to be consumed: 125.62 MB
       Create boot environment:       Yes
     Activate boot environment:       Yes
Create backup boot environment:        No
          Rebuild boot archive:       Yes

Changed packages:
ha-cluster
  ha-cluster/data-service/oracle-http-server
    None -> 4.0.0,5.11-1.1:20111215T230829Z
  ha-cluster/data-service/oracle-pmn-server
    None -> 4.0.0,5.11-1.1:20111215T230831Z
  ha-cluster/data-service/nfs
    4.0.0,5.11-0.22:20111022T075809Z -> 4.0.0,5.11-1.1:20111215T230815Z
  ha-cluster/data-service/oracle-database
    4.0.0,5.11-0.22:20111022T075812Z -> 4.0.0,5.11-1.1:20111215T230818Z
  ha-cluster/group-package/ha-cluster-data-services-full
    4.0.0,5.11-0.22:20111022T075842Z -> 4.0.0,5.11-1.1:20111215T230833Z
  ha-cluster/group-package/ha-cluster-incorporation
    4.0.0,5.11-0.22.1:20111115T011013Z -> 4.0.0,5.11-1.1:20111215T230834Z
  ha-cluster/library/ucmm
    4.0.0,5.11-0.22.1:20111115T010833Z -> 4.0.0,5.11-1.1:20111215T230836Z
  ha-cluster/system/cfgchk
    4.0.0,5.11-0.22.1:20111115T010851Z -> 4.0.0,5.11-1.1:20111215T230839Z
  ha-cluster/system/core
    4.0.0,5.11-0.22.1:20111115T010854Z -> 4.0.0,5.11-1.1:20111215T230841Z
  ha-cluster/system/install
    4.0.0,5.11-0.22.1:20111115T010935Z -> 4.0.0,5.11-1.1:20111215T230953Z
# 
# pkg update 
           Packages to install:   2
            Packages to update:   8
       Create boot environment: Yes
Create backup boot environment:  No

DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                10/10     463/463    14.0/14.0

PHASE                                        ACTIONS
Removal Phase                                  15/15 
Install Phase                                  89/89
Update Phase                                 441/441 

PHASE                                          ITEMS
Package State Update Phase                     18/18 
Package Cache Update Phase                       8/8
Image State Update Phase                         2/2 

A clone of sol11-clrun exists and has been updated and activated.
On the next boot the Boot Environment sol11-clrun-1 will be
mounted on '/'.  Reboot when ready to switch to this updated BE.


---------------------------------------------------------------------------
NOTE: Please review release notes posted at:

http://www.oracle.com/pls/topic/lookup?ctx=E23824&id=SERNS
---------------------------------------------------------------------------
# beadm list
BE                   Active Mountpoint        Space  Policy Created          
--                   ------ ----------        -----  ------ -------          
sol11-clrun          N      /                 606.0K static 2012-02-27 18:48 
sol11-clrun-1        R      -                 3.81G  static 2012-02-27 19:54 
sol11-clrun-backup-1 -      -                 150.0K static 2012-02-27 19:16 
sol11-noncl          -      -                 4.38M  static 2012-02-27 18:43 
# init 6 
updating //platform/i86pc/boot_archive
updating //platform/i86pc/amd64/boot_archive
[…]
# more /etc/cluster/release
            Oracle Solaris Cluster 4.0.0 0.22.1 for Solaris 11 i386
  Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
#