dataserver

For the Cluster Edition, several parameters have been added to the dataserver utility for starting and configuring a cluster.

Syntax

This is the complete syntax for the dataserver command:

dataserver
-u, --admin_name=sa/sso_name 
     --buildquorum=[force] 
-a, --caps_file=filename 
-F, --cluster_input=filename 
     --cluster_takeover 
-L, --conn_config_file=[filename] 
     --create_cluster_id 
-D, --default_db_size=size_spec 
-e, --error_log=[filename] 
-G, --event_log_server=logserv_name 
-f, --forcebuild 
-H, --ha_server 
-h, --help=[{0|1|2|3}[,display_width]]
     --instance=instance_name  
-y, --key_password=[key_password]  
-K, --keytab_file=filename
-N, --license_prop_file=filename 
-z, --logical_page_size=page_size 
-Z, --master_db_size=size_spec     
-d, --master_dev=master_device_name 
-b, --master_dev_size=[size_spec]    
-r, --master_mirror=filename   
-m, --masterrecover    
-g, --no_event_logging   
-Q, --quorum_dev=quorum_dev       
-q, --recover_quiesced    
-w, --rewrite_db=database_name      
-p, --sa_name=sa_name    
-k, --server_principal=s_principal 
-M, --shared_mem_dir=directory_name  
-X, --sybmon                     
-T, --trace=trace_flag     
-v, --version 

Parameters

See the Utilities Guide for a complete description of the dataserver parameters.

Examples

Example 1 Create a new master and quorum device. The parameters in this example specify a 500 megabyte master device with a four kilobyte logical page size. The location of the master device, interface configuration file, interfaces path, and error log are specified in the cluster input file mycluster.inp. The name of the instance creating the quorum and master devices is "myase1":

dataserver --quorum_dev=/dev/raw/raw101 --buildquorum --cluster_input=mycluster.inp --logical_page_size=4K --master_dev_size=500M --instance=myase1

After the master database is built and the server is shutdown, you can restart the instance with this:

dataserver --quorum_dev=/dev/raw/raw101 --instance=myase1

Example 2 Starts the instance myase2 as part of the cluster created in Example 1:

dataserver --quorum_dev=/dev/raw/raw101 --instance=myase2

Example 3 Recreates the quorum device for mycluster without overwriting the master device (starting the instance "myase1"). The cluster must be shutdown before rebuilding the quorum.:

dataserver --quorum_dev=/dev/raw/raw101 --buildquorum --cluster_input=mycluster.inp  --instance=myase1

Reload the cluster configuration from the mycluster.inp input file without recreating the quorum device or the master device (the cluster must be shutdown first):

dataserver --quorum_dev=/dev/raw/raw101 --cluster_input=mycluster.inp 
--instance=myase1

Usage