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
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
0 comments