Register the SUNW.gds and SUNW.HAStoragePlus resource type
clresourcetype register SUNW.gds SUNW.HAStoragePlus
Create a failover resource 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
clresourcetype register SUNW.gds SUNW.HAStoragePlus
Create a failover resource 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
0 comments