| 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 the example of how to set parameters in the environment files for multi-server configuration.
 Adding a Search Server and a Director Server
Adding a Search Server and a Director ServerIf a search server and a director server are added, edit the system environment file in the director server where conductor is allocated, then distribute it to the additional director server and search server.

| Configuration | ||
|---|---|---|
| Shunsaku system name | shunsaku | |
| Director server A | DirSvr1 | |
| Conductor identifier | shunc | |
| Director identifier | shund1 | |
| Sorter identifier | shuno1 | |
| Director server B | DirSvr2 | |
| Director identifier | shund2 | |
| Search server A | SchSvr01 | |
| Searcher identifier | shuns01 | |
| Search server B | SchSvr02 | |
| Searcher identifier | shuns02 | |
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 | 
| Director for importing data | shund2 | 
 (1)System Environment File
(1)System Environment FileSystem environment file: shunsaku.cfg
| Conductor shunc DirSvr1 33101 Sorter shuno1 DirSvr1 33201 Director shund1 DirSvr1 33301 33302 33303 -------------(a) Director shund2 DirSvr2 33301 33302 33303 -------------(a) Searcher shuns01 SchSvr01 33501 shund1 ----------------(b) Searcher shuns02 SchSvr02 33501 shund2 ----------------(b) CharacterCode UTF-8 ----------------------------------------(c) ANKmix 1 --------------------------------------------(d) KNJmix 1 --------------------------------------------(e) SkipChar "\s,\S,\n,\t" --------------------------------(f) | 
Specifies the ANKmix, KNJmix, and SkipChar parameters in the system environment file to omit the specification in director environment file.
 (2)Conductor Environment File
(2)Conductor Environment FileConductor 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) InsertPoint shund2 --------------------------------------------------------------(k) MaxConnection 10 ------------------------------------------------------------------(l) | 
 (3)Director Environment File
(3)Director Environment FileDirector 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) | 
 (4)Sorter Environment File
(4)Sorter Environment FileSorter 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\" | 
 (5)Searcher Environment File
(5)Searcher Environment FileSearcher 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\" | 
 (6)Director Environment File
(6)Director Environment FileDirector environment file: shund2.cfg
| DataFileFolder C:\Shunsaku\ 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 MultiMax 5 SearcherWTimer 60 | 
 (7)Searcher Environment File
(7)Searcher Environment FileSearcher 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\" | 
 Adding a Sort Server
Adding a Sort ServerIf a sorter server is added, edit the system environment file in the director server where conductor is allocated, then distribute it to the additional sort server.

| Configuration | ||
|---|---|---|
| Shunsaku system name | shunsaku | |
| Director server | DirSvr1 | |
| Conductor identifier | shunc | |
| Director identifier | shund1 | |
| Sorter identifier | shuno1 | |
| Searcher identifier | shuns01 | |
| Sort server | SortSvr1 | |
| Sorter identifier | shuno2 | |
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 | 
 System Environment File
System Environment FileSystem environment file: shunsaku.cfg
| Conductor shunc DirSvr1 33101 Sorter shuno1 DirSvr1 33201 -------------------------(a) Sorter shuno2 SortSvr1 33201 ------------------------(a) Director shund1 DirSvr1 33301 33302 33303 Searcher shuns01 SchSvr01 33501 shund1 CharacterCode UTF-8 ----------------------------------------(b) ANKmix 1 --------------------------------------------(c) KNJmix 1 --------------------------------------------(d) SkipChar "\s,\S,\n,\t" --------------------------------(e) | 
Specifies the ANKmix, KNJmix, and SkipChar parameters in the system environment file to omit the specification in director environment file.
 (2)Conductor Environment File
(2)Conductor Environment FileConductor 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) | 
 (3)Director Environment File
(3)Director Environment FileDirector 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) | 
 (4)Sorter Environment File
(4)Sorter Environment FileSorter 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\" | 
 (5)Searcher Environment File
(5)Searcher Environment FileSearcher 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\" | 
 (6)Sorter Environment File
(6)Sorter Environment FileSorter environment file: shuno2.cfg
| MultiMax 2 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\" | 
 Allocating an Alternative Search Server
Allocating an Alternative Search ServerIf an alternative search server is allocated, edit the system environment file in the director server where conductor is allocated, then distribute it to the alternative search server.

| Configuration | ||
|---|---|---|
| Shunsaku system name | shunsaku | |
| Director server | DirSvr1 | |
| Conductor identifier | shunc | |
| Director identifier | shund1 | |
| Sorter identifier | shuno1 | |
| Search server (operation) | SchSvr01 | |
| Searcher identifier | shuns01 | |
| Search server (alternative) | SchWSvr01 | |
| Searcher identifier | shunsw01 | |
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 as abnormal for search server | 
 System Environment File
System Environment FileSystem environment file: shunsaku.cfg
| Conductor shunc DirSvr1 33101 Sorter shuno1 DirSvr1 33201 Director shund1 DirSvr1 33301 33302 33303 Searcher shuns01 SchSvr01 33501 shund1 AlternativeSearcher shunsw01 SchWSvr01 33501 shund1 --------------(a) CharacterCode UTF-8 ----------------------------------------(b) ANKmix 1 --------------------------------------------(c) KNJmix 1 --------------------------------------------(d) SkipChar "\s,\S,\n,\t" --------------------------------(e) SearcherFailureEscalation 1 ------------------------------------(f) | 
Specifies the ANKmix, KNJmix, and SkipChar parameters in the system environment file to omit the specification in director environment file.
 (2)Conductor Environment File
(2)Conductor Environment FileConductor 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) | 
 (3)Director Environment File
(3)Director Environment FileDirector 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 CoreFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\core\director\" OperationLogFolder C:\Shunbackup\ope ---------------------------------------------------(b) MultiMax 5 -------------------------------------------------------------------(c) SearcherWTimer 60 ------------------------------------------------------------------(d) | 
 (4)Sorter Environment File
(4)Sorter Environment FileSorter 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 CoreFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\core\sorter\" | 
 (5)Searcher Environment File
(5)Searcher Environment FileSearcher 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 CoreFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\core\searcher\" | 
 (6)Searcher Environment File
(6)Searcher Environment FileSearcher environment file: shunsw01.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 CoreFileFolder "C:\Program Files\Interstage Shunsaku\Shunsaku\core\searcher\" | 
| Contents
			Index    |