Scalable Database Server, HiRDB Version 8 Installation and Design Guide
The system generator enables you to set up an HiRDB system environment interactively. The system generator provides default values for the HiRDB system environment information. This makes it possible to construct a HiRDB system quickly when a test environment is being constructed because only applicable items need be set.
Figure 23-2 shows the system generator's screen display transitions.
Figure 23-2 System generator's screen display transitions
Execute the OS's cd command to set the HiRDB directory as the current directory:
Execute HiRDB's pdgen command to start the system generator. The type specification screen is displayed.
Specify your HiRDB license selection.
To specify necessary information on the HiRDB/Single Server License selection menu screen:
The Master menu is used to set main information for HiRDB system construction:
Following is the setup procedure on the Master menu screen:
This specification sets the server machine's host name (host name of the server machine where the dictionary server is located).
To create a HiRDB unit, the following information must be set on the unit initialization screen:
To set up the unit initialization screen:
This specification sets the size of the HiRDB file system area that is to be used to store system files, such as files for HiRDB database log information.
To set the size of the HiRDB file system area for system files:
Enter file name and partition size for HiRDB-file-system-area. This HiRDB-file-system-area will be used for HiRDB system files. (log and status etc...) -- Attention -- Please enter file name with complete path. If specified file are already exist pdgen will delete the file and recreate. The size of HiRDB-file-system-area will more than 150 [MB]. The HiRDB-file-system-area creates as UNIX file with specified size. Enter file name with completely path > /opt/HiRDB_P/sysfiles Enter HiRDB-file-system-area size [MB] >150 |
This specification sets the size of the HiRDB file system area that is to be used for system RDAREAs, user RDAREAs, and user LOB RDAREAs.
To set the size of the HiRDB file system area for RDAREAs:
Enter file name and partition size for HiRDB-file-system-area. This HiRDB-file-system-area will be used for rdarea. -- Attention -- Please enter file name with complete path. If specified file are already exist pdgen will delete the file and recreate. The size of HiRDB-file-system-area will more than 77 [MB]. The HiRDB-file-system-area creates as UNIX file with specified size. Enter file name with completely path >/opt/test/HiRDB_P/rdfiles Enter HiRDB-file-system-area size [MB] >249 |
To create the HiRDB unit:
HiRDB unit initialization start. host name : hostA
Creating HiRDB definition files (/opt/HiRDB_P/conf)
Definition files are created
Creating HiRDB file system
HiRDB file system area for systemfiles creating (hostA:/opt/HiRDB_P /sysfiles 150[MB])
Unit status file for hostA creating
+ pdstsinit -u u001 -f /opt/HiRDB_P/sysfiles/u001st1a -c XX
:
Server status file for f001 creating
+ pdstsinit -s f001 -f /opt/HiRDB_P/sysfiles/f001sv1a -c XX
:
syncpoint dump file for f001 creating
+ pdloginit -d spd -s f001 -f /opt/HiRDB_P/sysfiles/f001cpd1 -n XX
:
Log file for f001 creating
+ pdloginit -d sys -s f001 -f /opt/HiRDB_P/sysfiles/f001jn1a -n XXX
:
:
syncpoint dump file for dic creating
+ pdloginit -d spd -s dic -f /opt/HiRDB_P/sysfiles/diccpd1 -n XXX
:
Log file for dic creating
+ pdloginit -d sys -s dic -f /opt/HiRDB_P/sysfiles/dicjn1a -n XXX
:
HiRDB-file-system-area for system files created (/opt/HiRDB_P/sysfiles)
HiRDB file system area for Database creating (hostA:/opt/HiRDB_P/rdfiles 249[MB])
HiRDB-file-system-area for rdarea created (/opt/HiRDB_P/rdfiles)
HiRDB system files are initialized
Unit are initialized. enter return key >
|
Create the HiRDB.
To create the HiRDB:
Start HiRDB system generation HiRDB starting Initializing rdareas KFPX24000-I DB initialize ended, return code=0 Rdarea initialize completed A...A XX:XX:XX u001 _rdm KFPS05110-I HiRDB unit u001 initialization process complete A...A XX:XX:XX u001 _rdm KFPS05210-I HiRDB system initialization process complete Initializing rdareas for registry KFPX24600-I Pdreginit command start at XX:XX:XX on YYYY/YY/YY KFPX24225-I Processing of create rdarea statement ended, RDAREA name="REG_BASE" KFPX24225-I Processing of create rdarea statement ended, RDAREA name="REG_KEY_VALUE" KFPX24226-I Processing of create rdarea statements ended return code=0 KFPX24200-I DB modification ended, return code=0 KFPX24601-I Pdreginit command for ended return code=0 at XX:XX:XX on YYYY/YY/YY Rdarea(for registry) initialize completed Push enter key to main menu > |
User RDAREAs and user LOB RDAREAs for storing the SGML documents and plug-in index must be created next.
This example creates two user RDAREAs and four user LOB RDAREAs.
To create user RDAREAs and LOB RDAREAs:
Rdarea are added. You have to restart HiRDB to use the area. Restart now?(Y/N) >
The values listed in Table 23-10 are applicable to construction of a HiRDB system by means of the simple installation procedure. When a database is designed in detail, reference should be made to 17. Determining RDAREA Size for the appropriate size estimates.
Table 23-10 Information to be set for RDAREAs
| No. | Information to be set | User RDAREAs | User LOB RDAREAs | ||||
|---|---|---|---|---|---|---|---|
| 1 | RDAREA name | USR1 | USR2 | ULOB1 | ULOB2 | ULOB3 | ULOB4 |
| 2 | Size of RDAREA [MB] | 1 | 1 | 40 | 40 | 40 | 40 |
| 3 | Segment size for RDAREA [pages] | 10 | 10 | 1 | 1 | 1 | 1 |
| 4 | Page size for RDAREA [KB] | 4 | 4 | 8 | 8 | 8 | 8 |
| 5 | Type of RDAREA | Table | Table | Blob | Blob | Blob | Blob |
| 6 | Size of global buffer to be allocated to RDAREA | 350 | 350 | 350 | 350 | 350 | 350 |
| 7 | Absolute path name of HiRDB file that is a component of RDAREA | /opt/ HiRDB_P/ rdfiles |
/opt/ HiRDB_P /rdfiles |
/opt/ HiRDB_P /rdfiles |
/opt/ HiRDB_P /rdfiles |
/opt/ HiRDB_P /rdfiles |
/opt/ HiRDB_P /rdfiles |
| 8 | Name of back-end server to which RDAREA is allocated | b001 | b002 | b001 | b002 | b001 | b002 |
All Rights Reserved. Copyright (C) 2007, Hitachi, Ltd.