This is an old revision of the document!
sccl_disable sccl_disable_node sccl_dist_config sccl_enable sccl_enable_node sccl_get_aktnode sccl_list_cluster sccl_list_cluster_nodes sccl_list_nodes sccl_list_pakete_on_node sccl_restart sccl_show_cluster sccl_start sccl_start_node sccl_stop sccl_stop_node sccl_test_res
more to come
This example script-cluster configuration describes a productive environment of:
This is a very simple example and does not contain any failover functionality.
The following configuration files only show the significantly changed parts or parameters.
# Clustername CLUSTER=SAMPLE01 # Cluster nodes NODES="host001 host002"
The package 'tomcat' can only run on host 'host001'. The package 'database' can only run on host 'host002'.
# <package> [-] <host1> [<host2> [<host3>]...] # Application tomcat host001 # Database database host002
# <package> <package_name> <resource1> [<resource2> [<resource3]...] database My_Database PRG:db_startstop RST:tomcat:CLUSTER tomcat Tomcat_Application_Server CPKG:database:WAIT:3 PRG:tomcat_startstop
Alternatively you can use:
# <package> <package_name> <resource1> [<resource2> [<resource3]...]
database My_Database PRG:db_startstop RST:tomcat:CLUSTER
tomcat Tomcat_Application_Server CPKG:database:START PRG:tomcat_startstop