Interstage Shunsaku Data Manager Operator's Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX - |
Contents
Index
![]() ![]() |
Appendix B Consideration on Setting Values of Execution Parameters in Environment files | > B.3 Example of setting Execution Parameters in Environment Files |
This section shows how to set parameters in environment files for a basic configuration.
For a single server configuration, specifies the information of conductor, director, sorter and searcher at the system environment file.
Configuration |
||
---|---|---|
Shunsaku system name |
shunsaku |
|
Director server |
DirSvr1 |
|
Conductor identifier |
shunc |
|
Director identifier |
shund1 |
|
Sorter identifier |
shuno1 |
|
Searcher identifier |
shuns01 |
Examples of setting each configuration are shown below:
Condition |
|
---|---|
Shunsaku installation directory |
C:\Program Files\Interstage Shunsaku\ |
Director data file storage directory |
C:\Shunsaku\ |
Operation log file storage directory |
C:\Shunbackup\ope\ |
Character code of the lookup data |
UTF-8 |
Number of concurrent processes (number of search requests that is process at once + sort requests) |
5 concurrent processes (search request: 3, sort request: 2) |
Case sensitivity for alphanumeric characters |
Do not match case |
Case sensitivity for multi-byte alphabetic characters |
Do not match case |
Characters that will not be searched |
Space (single-byte, multi-byte), linefeed character, horizontal tab |
Maximum number of responses to the application |
100 records |
Outputting log file |
Output the log file (switch the file at 100 MB) |
Number of back up log file |
100 |
Number of days that the log file will be switched |
30 days |
Outputting performance log file |
Output the log file (switch the file at 100 MB) |
Number of performance backup log file |
100 |
Number of days that performance log file will be switched |
30 days |
Outputting operation log file |
Output the log file |
Maximum response wait time for the search process |
60 seconds |
Searching attribute value |
Search the attribute value |
System environment file: shunsaku.cfg
Conductor shunc DirSvr1 33101 Sorter shuno1 DirSvr1 33201 Director shund1 DirSvr1 33301 33302 33303 Searcher shuns01 DirSvr1 33501 shund1 CharacterCode UTF-8 ----------------------------------------(a) ANKmix 1 --------------------------------------------(b) KNJmix 1 --------------------------------------------(c) SkipChar "\s,\S,\n,\t" --------------------------------(d) SearchAttribute 0 --------------------------------------------(e) |
Specifies the ANKmix, KNJmix, and SkipChar parameters in the system environment file to omit the specification in director environment file.
Conductor environment file: shunc.cfg
LogFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\log\conductor\" ------(a) LogFileSize 100 -----------------------------------------------------------------(b) LogFileBackup 100------------------------------------------------------------------(c) LogFileSwitch 30 ------------------------------------------------------------------(d) PfmFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\log\conductor\" ------(e) PfmFileSize 100 -----------------------------------------------------------------(f) PfmFileBackup 100 -----------------------------------------------------------------(g) PfmFileSwitch 30 ------------------------------------------------------------------(h) CoreFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\core\conductor\" -----(i) AnsMax 100 -----------------------------------------------------------------(j) MaxConnection 10 ------------------------------------------------------------------(k) |
Director environment file: shund1.cfg
DataFileFolder C:\Shunsaku\ --------------------------------------------------------(a) LogFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\log\director\" LogFileSize 100 LogFileBackup 100 LogFileSwitch 30 PfmFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\log\director\" PfmFileSize 100 PfmFileBackup 100 PfmFileSwitch 30 CoreFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\core\director\" OperationLogFolder D:\Shunbackup\ope\---------------------------------------------------(b) MultiMax 5 -------------------------------------------------------------------(c) SearcherWTimer 60 ------------------------------------------------------------------(d) |
Sorter environment file: shuno1.cfg
MultiMax 2 ------------------------------------------------------------------(a) LogFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\log\sorter\" LogFileSize 100 LogFileBackup 100 LogFileSwitch 30 PfmFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\log\sorter\" PfmFileSize 100 PfmFileBackup 100 PfmFileSwitch 30 CoreFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\core\sorter\" |
Searcher environment file: shuns01.cfg
LogFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\log\searcher\" LogFileSize 100 LogFileBackup 100 LogFileSwitch 30 PfmFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\log\searcher\" PfmFileSize 100 PfmFileBackup 100 PfmFileSwitch 30 CoreFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\core\searcher\" |
If the conductor, director and sorter are allocated in the director server, and searchers run on separate servers, edit the system environment file in the director server that conductor is allocated. Then distributes it to the search servers.
Configuration |
||
---|---|---|
Shunsaku system name |
shunsaku |
|
Director server |
DirSvr1 |
|
Conductor identifier |
shunc |
|
Director identifier |
shund1 |
|
Sorter identifier |
shuno1 |
|
Search server |
SchSvr01 |
|
Searcher identifier |
shuns01 |
Examples of setting system environment file are shown below:
Condition |
|
---|---|
Shunsaku installation directory |
C:\Program Files\Interstage Shunsaku\ |
Director data file storage directory |
C:\Shunsaku\ |
Operation log file storage directory |
C:\Shunbackup\ope\ |
Character code of the lookup data |
UTF-8 |
Number of concurrent processes (number of search requests that is process at once + sort requests) |
5 concurrent processes (search request: 3, sort request: 2) |
Case sensitivity for alphanumeric characters |
Do not match case |
Case sensitivity for multi-byte alphabetic characters |
Do not match case |
Characters that will not be searched |
Space (single-byte, multi-byte), linefeed character, horizontal tab |
Maximum number of responses to the application |
100 records |
Outputting log file |
Output the log file (switch the file at 100 MB) |
Number of back up log file |
100 |
Number of days that the log file will be switched |
30 days |
Outputting performance log file |
Output the log file (switch the file at 100 MB) |
Number of performance backup log file |
100 |
Number of days that performance log file will be switched |
30 days |
Outputting operation log file |
Output the log file |
Maximum response wait time for the search process |
60 seconds |
Scope that is regarded as abnormal when searcher abnormalities occur |
Regard only the target searcher as abnormal |
Maximum number of searchers that is degradable |
1 |
System environment file: shunsaku.cfg
Conductor shunc DirSvr1 33101 Sorter shuno1 DirSvr1 33201 Director shund1 DirSvr1 33301 33302 33303 Searcher shuns01 SchSvr01 33501 shund1 ----------------(a) Searcher shuns02 SchSvr01 33502 shund1 ----------------(a) CharacterCode UTF-8 ----------------------------------------(b) ANKmix 1 --------------------------------------------(c) KNJmix 1 --------------------------------------------(d) SkipChar "\s,\S,\n,\t" --------------------------------(e) SearcherFailureEscalation 0 ----------------------------------(f) DegradableSearcherCnt 1 ----------------------------------------(g) |
Specifies the ANKmix, KNJmix, and SkipChar parameters in the system environment file to omit the specification in director environment file.
Conductor environment file: shunc.cfg
LogFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\log\conductor\" ------(a) LogFileSize 100 -----------------------------------------------------------------(b) LogFileBackup 100------------------------------------------------------------------(c) LogFileSwitch 30 ------------------------------------------------------------------(d) PfmFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\log\conductor\" ------(e) PfmFileSize 100 -----------------------------------------------------------------(f) PfmFileBackup 100 -----------------------------------------------------------------(g) PfmFileSwitch 30 ------------------------------------------------------------------(h) CoreFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\core\conductor\" -----(i) AnsMax 100 -----------------------------------------------------------------(j) MaxConnection 10 ------------------------------------------------------------------(k) |
Director environment file: shund1.cfg
DataFileFolder C:\Shunsaku\ --------------------------------------------------------(a) LogFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\log\director\" LogFileSize 100 LogFileBackup 100 LogFileSwitch 30 PfmFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\log\director\" PfmFileSize 100 PfmFileBackup 100 PfmFileSwitch 30 CoreFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\core\director\" OperationLogFolder C:\Shunbackup\ope ---------------------------------------------------(b) MultiMax 5 -------------------------------------------------------------------(c) SearcherWTimer 60 ------------------------------------------------------------------(d) |
Sorter environment file: shuno1.cfg
MultiMax 2 ------------------------------------------------------------------(a) LogFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\log\sorter\" LogFileSize 100 LogFileBackup 100 LogFileSwitch 30 PfmFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\log\sorter\" PfmFileSize 100 PfmFileBackup 100 PfmFileSwitch 30 CoreFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\core\sorter\" |
Searcher environment file: shuns01.cfg
LogFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\log\searcher\" LogFileSize 100 LogFileBackup 100 LogFileSwitch 30 PfmFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\log\searcher\" PfmFileSize 100 PfmFileBackup 100 PfmFileSwitch 30 CoreFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\core\searcher\" |
Searcher environment file: shuns02.cfg
LogFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\log\searcher\" LogFileSize 100 LogFileBackup 100 LogFileSwitch 30 PfmFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\log\searcher\" PfmFileSize 100 PfmFileBackup 100 PfmFileSwitch 30 CoreFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\core\searcher\" |
Contents
Index
![]() ![]() |