Scalable Database Server, HiRDB Version 8 Installation and Design Guide
This section explains the system file creation procedure by way of example, based on the following system configuration:
Define the system files in the HiRDB system definitions.
Define the unit status files in the unit control information definitions.
set pd_syssts_file_name_1="usts1","C:\sysarea01\usts01a"\
,"C:\sysarea02\usts01b"
set pd_syssts_file_name_2="usts2","C:\sysarea02\usts02a"\
,"C:\sysarea03\usts02b"
set pd_syssts_file_name_3="usts3","C:\sysarea03\usts03a"\
,"C:\sysarea01\usts03b"
|
Define system log files, the synchronization point dump file, and server status files in the single server definitions.
set pd_log_rec_leng=4096
pdlogadfg -d sys -g log1 ONL
pdlogadfg -d sys -g log2 ONL
pdlogadfg -d sys -g log3 ONL
pdlogadpf -d sys -g log1 -a "C:\sysarea01\log01a"\
-b "C:\sysarea02\log01b"
pdlogadpf -d sys -g log2 -a "C:\sysarea02\log02a"\
-b "C:\sysarea03\log02b"
pdlogadpf -d sys -g log3 -a "C:\sysarea03\log03a"\
-b "C:\sysarea01\log03b"
|
pdlogadfg -d spd -g sync1 ONL pdlogadfg -d spd -g sync2 ONL pdlogadfg -d spd -g sync3 ONL pdlogadpf -d spd -g sync1 -a "C:\sysarea01\sync01" pdlogadpf -d spd -g sync2 -a "C:\sysarea02\sync02" pdlogadpf -d spd -g sync3 -a "C:\sysarea03\sync03" |
set pd_sts_file_name_1="ssts1","C:\sysarea01\ssts01a"\
,"C:\sysarea02\ssts01b"
set pd_sts_file_name_2="ssts2","C:\sysarea02\ssts02a"\
,"C:\sysarea03\ssts02b"
set pd_sts_file_name_3="ssts3","C:\sysarea03\ssts03a"\
,"C:\sysarea01\ssts03b"
|
Use the pdfmkfs command to create the HiRDB file system areas.
pdfmkfs -n 50 -l 20 -i -k SYS C:\sysarea01 pdfmkfs -n 50 -l 20 -i -k SYS C:\sysarea02 pdfmkfs -n 50 -l 20 -i -k SYS C:\sysarea03 |
Use the pdloginit command to create the system log files.
pdloginit -d sys -f C:\sysarea01\log01a -n 1024 pdloginit -d sys -f C:\sysarea01\log03b -n 1024 pdloginit -d sys -f C:\sysarea02\log02a -n 1024 pdloginit -d sys -f C:\sysarea02\log01b -n 1024 pdloginit -d sys -f C:\sysarea03\log03a -n 1024 pdloginit -d sys -f C:\sysarea03\log02b -n 1024 |
Use the pdloginit command to create the synchronization point dump file.
pdloginit -d spd -f C:\sysarea01\sync01 -n 64 pdloginit -d spd -f C:\sysarea02\sync02 -n 64 pdloginit -d spd -f C:\sysarea03\sync03 -n 64 |
Use the pdstsinit command to create the server status files.
pdstsinit -s sds1 -f C:\sysarea01\ssts01a -l 4096 -c 256 pdstsinit -s sds1 -f C:\sysarea01\ssts03b -l 4096 -c 256 pdstsinit -s sds1 -f C:\sysarea02\ssts02a -l 4096 -c 256 pdstsinit -s sds1 -f C:\sysarea02\ssts01b -l 4096 -c 256 pdstsinit -s sds1 -f C:\sysarea03\ssts03a -l 4096 -c 256 pdstsinit -s sds1 -f C:\sysarea03\ssts02b -l 4096 -c 256 |
Use the pdstsinit command to create the unit status files.
pdstsinit -u unt1 -f C:\sysarea01\usts01a -l 4096 -c 256 pdstsinit -u unt1 -f C:\sysarea01\usts03b -l 4096 -c 256 pdstsinit -u unt1 -f C:\sysarea02\usts02a -l 4096 -c 256 pdstsinit -u unt1 -f C:\sysarea02\usts01b -l 4096 -c 256 pdstsinit -u unt1 -f C:\sysarea03\usts03a -l 4096 -c 256 pdstsinit -u unt1 -f C:\sysarea03\usts02b -l 4096 -c 256 |
All Rights Reserved. Copyright (C) 2007, Hitachi, Ltd.