Identify UFS fstyp (Multitera Byte)

Tuesday, August 30, 2011 at 11:52 PM
Non-Multitera Byte File system
node1:# fstyp -v /dev/vx/dsk/dg/vol1 head -5
ufs
magic 11954 format dynamic time Wed Aug 31 08:38:41 2011
sblkno 16 cblkno 24 iblkno 32 dblkno 800
sbsize 2048 cgsize 8192 cgoffset 32 cgmask 0xffffffe0
ncg 21399 size 1073690626 blocks 1056913459

Multitera Byte File system

node1:# fstyp -v /dev/vx/dsk/dg/vol2 head -5
ufs
magic decade format dynamic time Wed Aug 31 08:43:11 2011
sblkno 2 cblkno 3 iblkno 4 dblkno 8
sbsize 8192 cgsize 8192 cgoffset 4 cgmask 0xf

Apache Tomcat Config in Sun Cluster 3.2

Sunday, August 14, 2011 at 11:52 AM
Register the SUNW.gds and SUNW.HAStoragePlus resource type

clresourcetype register SUNW.gds SUNW.HAStoragePlus

Create a failover re
source group for the SharedAddress resource

clresourcegroup create shared-ip-rg

Create the SharedAddress resource

clressharedaddress create -g shared-ip-rg -h log-apache shared-ip-res

Online the SharedAddress resource group

clresourcegroup online -M shared-ip-rg

Create the resource group for the scalable service

clresourcegroup create -p Maximum_primaries=2 -p Desired_primaries=2 -p RG_dependencies=shared-ip-rg apache-tom-Scalable-rg

Create a resource for the Apache Tomcat Disk Storage if it is not in the root file system

clresource create -g apache-tom-Scalable-rg -t SUNW.HAStoragePlus -p FilesystemMountPoints=/global/apache apache-tom-has-res

Enable the failover resource group that now includes the Apache Tomcat Disk Storage and Logical Hostname resources

clresourcegroup online -M apache-tom-Scalable-rg

Apache Configuration in Sun Cluster 3.2

at 4:11 AM
Failover resource group

clrg create shared-ip-rg

clrssa create -g shared-ip-rg -h log-apache shared-ip-res

clrg online -eM shared-ip-rg

Scalable resource group

clrt register SUNW.apache

clrg create -p Maximum_primaries=2 -p Desired_primaries=2 -p RG_dependencies=shared-ip-rg apache-rg

clrs create -g apache-rg -t SUNW.apache -p Bin_dir=/usr/apache2/bin -p Resource_dependencies=shared-ip-rs -p Scalable=True -p Port_list=80/tcp apache-res

clrg online -eM apache-rg

clrs set -p Load_balancing_weights=4@1,3@2 apache-rs

Solaris | Powered by Blogger | Entries (RSS) | Comments (RSS) | Designed by MB Web Design | XML Coded By Cahayabiru.com