sybcluster -Uuafadmin -P -F "blade1:9999, blade2:9999, blade3:9999" > create cluster newc2 Cluster newc2 - Enter the maximum number of instances: [ 4 ] 4 How many nodes (hardware hosts) will participate in this cluster: [ 4 ] 4 Verifying the supplied agent specifications... 1) hpcblade5.sybase.com 9999 2.5.0 Linux 2) hpcblade6.sybase.com 9999 2.5.0 Linux 3) hpcblade7.sybase.com 9999 2.5.0 Linux 4) hpcblade8.sybase.com 9999 2.5.0 Linux Enter the number representing the cluster node 1: [ 4 ] 2 1) hpcblade5.sybase.com 9999 2.5.0 Linux 3) hpcblade7.sybase.com 9999 2.5.0 Linux 4) hpcblade8.sybase.com 9999 2.5.0 Linux Enter the number representing the cluster node 2: [ 4 ] 3 1) hpcblade5.sybase.com 9999 2.5.0 Linux 4) hpcblade8.sybase.com 9999 2.5.0 Linux Enter the number representing the cluster node 3: [ 4 ] 4 1) hpcblade5.sybase.com 9999 2.5.0 Linux Enter the number representing the cluster node 4: [ 4 ] 1 ------------------ Quorum Device --------------------- The quorum device is used to manage a cluster. It contains information shared between instances and nodes. Enter the full path to the quorum disk: /dev/rhdisk05 Enter any traceflags: 15500,3425 --------------- Master Database Device ---------------- The master database device controls the operation of the Adaptive Server and stores information about all user databases and their associated database devices. Enter the full path to the master device: /dev/rhdisk02 Enter the size the Master Device (MB): [ 80 ] 500 Enter the size the Master Database (MB): [ 60 ] 200 Enter the page size in kilobytes: [ 2 ] 16 ------------ Sybase System Procedure Device -------- Sybase system procedures (sybsystemprocs) are stored on a device. Enter the System Procedure Device path: /dev/rhdisk01 Enter System Procedure Device size (MB): [ 150 ] 250 Enter the System Procedure Database size (MB): [ 135 ] 200 -------------- System Database Device ------------------ The system database (sybsystemdb) stores information about distributed transactions. Enter the System Database Device path: /dev/rhdisk06 Enter the System Database Device size (MB): [ 12 ] 50 Enter the System Database size (MB): [ 12 ] 30 -------------------------------------------------------- Does this cluster have a secondary network: [ Y ] N Enter the port number from which this range will be applied: [ 15100 ] 16410 -------------------------------------------------------- Enter the SYBASE home directory: [ /remote/heat1/ase1501ce/lamesd3 ] /remote/heat1/ase1501ce/lamesd3 Enter the environment shell script path: [ /remote/heat1/ase1501ce/lamesd3/SYBASE.sh ] /remote/hpcblade5_work1/quasrspace/s12768903/hpcblade6.sybase.sh Enter the ASE home directory: [ /remote/heat1/ase1501ce/lamesd3/ASE-15_0 ] /remote/heat1/ase1501ce/lamesd3/ASE-15_0 Enter the interfaces directory: [ /remote/heat1/ase1501ce/lamesd3 ] /remote/hpcblade5_work1/quasrspace/s12768903/interf_path_% Enter path to the dataserver config file: [ /remote/heat1/ase1501ce/lamesd3/newc2.cfg ] /remote/hpcblade5_work1/quasrspace/s12768903/config_files/config_file_% --------------------------------------------------------
You will now be asked for the instance information on a node by node basis.
-- Cluster: newc2 - Node: hpcblade6.sybase.com - Agent: hpcblade6.sybase.com:9999 -- Enter the name of the cluster instance: hpcb0_24043_ns1 Enter the interface file query port number for instance hpcb0_24043_ns1: 19535 Enter the primary protocol address for hpcb0_24043_ns1: [ hpcblade6.sybase.com ] hpcblade6 --------------- Local System Temporary Database --------- The Local System Temporary Database Device contains a database for each instance in the cluster. Enter the LST device name: LST1 Enter the LST device path: /dev/rhdisk02 Enter LST device size (MB): 200 Enter the LST database name: [ newc2_tdb_1 ] hpcb0_24043_ns1_lstdb Enter the LST database size (MB): [ 200 ] 30m The value entered is not a valid integer Enter the LST database size (MB): [ 200 ] 30 -- Cluster: newc2 - Node: hpcblade7.sybase.com - Agent: hpcblade7.sybase.com:9999 -- Enter the name of the cluster instance: hpcb0_24043_ns2 Enter the interface file query port number for instance hpcb0_24043_ns2: 19620 Enter the primary protocol address for hpcb0_24043_ns2: [ hpcblade7.sybase.com ] hpcblade7 --------------- Local System Temporary Database --------- The Local System Temporary Database Device contains a database for each instance in the cluster. Enter the LST device name: [ LST1 ] LST1 Enter the LST database name: [ newc2_tdb_2 ] hpcb0_24043_ns2_lstdb Enter the LST database size (MB): [ 170 ] 30m The value entered is not a valid integer Enter the LST database size (MB): [ 170 ] 30 -- Cluster: newc2 - Node: hpcblade8.sybase.com - Agent: hpcblade8.sybase.com:9999 -- Enter the name of the cluster instance: hpcb0_24043_ns3 Enter the interface file query port number for instance hpcb0_24043_ns3: 17535 Enter the primary protocol address for hpcb0_24043_ns3: [ hpcblade8.sybase.com ] hpcblade8 --------------- Local System Temporary Database --------- The Local System Temporary Database Device contains a database for each instance in the cluster. Enter the LST device name: [ LST1 ] LST1 Enter the LST database name: [ newc2_tdb_3 ] hpcb0_24043_ns3_lstdb Enter the LST database size (MB): [ 140 ] 30m The value entered is not a valid integer Enter the LST database size (MB): [ 140 ] 30 -- Cluster: newc2 - Node: hpcblade5.sybase.com - Agent: hpcblade5.sybase.com:9999 -- Enter the name of the cluster instance: hpcb0_24043_ns4 Enter the interface file query port number for instance hpcb0_24043_ns4: 16405 Enter the primary protocol address for hpcb0_24043_ns4: [ hpcblade5.sybase.com ] hpcblade5 --------------- Local System Temporary Database --------- The Local System Temporary Database Device contains a database for each instance in the cluster. Enter the LST device name: [ LST1 ] LST1 Enter the LST database name: [ newc2_tdb_4 ] hpcb0_24043_ns4_lstdb Enter the LST database size (MB): [ 110 ] 30m The value entered is not a valid integer Enter the LST database size (MB): [ 110 ] 30 Would you like to save this configuration information in a file? [ Y ] yes Enter the name of the file to save the cluster creation information: [ /remote/hpcblade5_work1/quasrspace/s12768903/newc2.xml ] /remote/hpcblade5_work1/quasrspace/s12768903/newc2.xml -------------------------------------------------------- Create the cluster now? [ Y ] yes INFO - Creating the Cluster Agent plugin on host address hpcblade6.sybase.com using agent: hpcblade6.sybase.com:9999 INFO - Creating the Cluster Agent plugin on host address hpcblade7.sybase.com using agent: hpcblade7.sybase.com:9999 INFO - Creating the Cluster Agent plugin on host address hpcblade8.sybase.com using agent: hpcblade8.sybase.com:9999 INFO - Creating the Cluster Agent plugin on host address hpcblade5.sybase.com using agent: hpcblade5.sybase.com:9999 Would you like to check whether this device supports IO fencing capability (Y/N)? [ Y ] N INFO - Cluster "newc2" creation in progress. INFO - Choosing the first instance to be created using the connected agent... INFO - The Sybase home directory is /remote/heat1/ase1501ce/lamesd3. INFO - The ASE home directory is /remote/heat1/ase1501ce/lamesd3/ASE-15_0. INFO - Retrieving environment variables from /remote/hpcblade5_work1/quasrspace/s12768903/hpcblade6.sybase.sh. INFO - The first instance created will be hpcb0_24043_ns1. INFO - Warning: Unable to verify /dev/rhdisk02 device size. Please verify that INFO - this device is not already in use and that it has sufficient space available. INFO - INFO - Warning: Unable to verify /dev/rhdisk01 device size. Please verify that INFO - this device is not already in use and that it has sufficient space available. INFO - Building Adaptive Server 'hpcb0_24043_ns1': INFO - Writing entry into directory services... INFO - Directory services entry complete. INFO - Building master device... INFO - Master device complete. INFO - Starting server... INFO - Server started. INFO - Building sysprocs device and sybsystemprocs database... INFO - sybprocs device and sybsystemprocs database created. INFO - Running installmaster script to install system stored procedures... INFO - installmaster: 10% complete. INFO - installmaster: 20% complete. INFO - installmaster: 30% complete. INFO - installmaster: 40% complete. INFO - installmaster: 50% complete. INFO - installmaster: 60% complete. INFO - installmaster: 70% complete. INFO - installmaster: 80% complete. INFO - installmaster: 90% complete. INFO - installmaster: 100% complete. INFO - installmaster script complete. INFO - Creating two-phase commit database... INFO - Two phase commit database complete. INFO - Installing common character sets (Code Page 437, Code Page 850, ISO Latin-1, INFO - Macintosh and HP Roman-8)... INFO - Character sets installed. INFO - Server 'hpcb0_24043_ns1' was successfully created. INFO - Adding cluster and instance entries to the interfaces file at /remote/hpcblade5_work1/quasrspace/s12768903/interf_path_%. INFO - Connecting to the dataserver using the host and query port hpcblade6.sybase.com:19535. INFO - Creating the Local System Temporary device LST1 at /dev/rhdisk02 of size 200M. INFO - hpcb0_24043_ns1: Creating the Local System Temporary database hpcb0_24043_ns1_lstdb on LST1 of size 30M. INFO - hpcb0_24043_ns2: Creating the Local System Temporary database hpcb0_24043_ns2_lstdb on LST1 of size 30M. INFO - hpcb0_24043_ns3: Creating the Local System Temporary database hpcb0_24043_ns3_lstdb on LST1 of size 30M. INFO - hpcb0_24043_ns4: Creating the Local System Temporary database hpcb0_24043_ns4_lstdb on LST1 of size 30M. INFO - The cluster is now configured. Shutting down this first instance. The cluster newc2 was successfully created.