This example shows how to register Sun Cluster HA for Sun ONE Message Queue with Smooth_Shutdown enabled.
Cluster Information Node names: phys-schost-1, phys-schost-2 Logical hostname: schost-1 Resource group: resource-group-1 (for all resources) Resources: schost-1 (logical hostname), s1mq-1 (Sun ONE Message Queue application resource) (Create a failover resource group.) # scrgadm -a -g resource-group-1 -h phys-schost-1,phys-schost-2 (Add a logical hostname resource to the resource group.) # scrgadm -a -L -g resource-group-1 -l schost-1 (Register the SUNW.s1mq resource type.) # scrgadm -a -t SUNW.s1mq (Create a Sun ONE Message Queue resource and add it to the resource group.) # scrgadm -a -j s1mq-rs -g s1mq-rg \ -t SUNW.s1mq \ -x Confdir_list=$IMQ_VARHOME/instances/hamq1 \ -x Broker_Name=hamq1 \ -x Broker_User=admin \ -y Network_resources_used=schost-1 \ -y Port_list=7676/tcp \ -x Smooth_Shutdown=TRUE (Enable the application resource group.) # scswitch -Z -g s1mq-rg |