At the end of a sybcluster session,
you can save the values from the current session to an external file, saving you time when
re-creating the same cluster, or editing the values in the file to create a different
cluster.
By saving the
configuration parameters for your cluster, you can apply them to:
- An existing cluster with different settings
- A brand new cluster, instead of configuring it with
sybcluster
- A cluster with an unsuccessful configuration
The syntax is:
create cluster cluster_name file xml_input_file
This example creates "mycluster2," using
an input file named
mycluster.xml:
create cluster mycluster2 file ./mycluster.xml