jsshadbinit.bat (initializes the database in a cluster environment)
- Organization of this page
Description
This command initializes the database in a cluster environment. When JP1/Service Support uses the Item storage database, this command initilizes the Item management database and also deletes the Item storage database. Therefore, the Item storage database must be set up if you want to reuse it.
To run this command, go to the Start menu and click Programs, JP1_Service Support, and JP1_SS Command Prompt. Then execute the command.
Format
jsshadbinit.bat -s {S | M | L | LL | XL} [-t] [-q]
Required execution permission
Administrator permissions
Storage folder
JP1/SS-path\tools\
Arguments
-s {S | M | L | LL | XL}
Specifies the size of the Item management database in a cluster environment.
The following table describes the size for each value.
Specified value |
Size of the database on the local disk |
Size of the database on the shared disk |
---|---|---|
S |
1.4 gigabytes |
5.2 gigabytes |
M |
1.4 gigabytes |
29.2 gigabytes |
L |
1.5 gigabytes |
71.1 gigabytes |
LL |
1.7 gigabytes |
150.9 gigabytes |
XL |
1.7 gigabytes |
161.5 gigabytes |
For details about the criteria for determining the size of the Item management database, see 5.12.5 Criteria for determining the Item management database size.
-q
Initializes the database without displaying a confirmation message.
If you do not specify the -q option, the system displays a message to ask whether to permit initialization of the database.
-t
Registers emails as Items. When you specify the -t option, the master system and the temporary receipt process work board, which are required to register emails as Items, are created. If you do not specify the -t option, the master system and the temporary receipt process work board are not created.
If you want to create the master system and the temporary receipt process work board after you execute the jsshadbinit.bat command, use the jsscreatesysandpwb command (creates the master system and the temporary receipt process work board). For details about the jsscreatesysandpwb command, see jsscreatesysandpwb (creates the master system and the temporary receipt process work board) in Chapter 12. Commands.
Return values
Return value |
Meaning |
---|---|
0 |
Normal end |
1 |
Abnormal end |
Prerequisites for executing the command
-
For details about which services need to be active or inactive when this command is executed, see Status of services when commands are executed in Chapter 12. Commands.
-
Before you execute the jsshadbinit.bat command, use cluster software to take the JP1/Service Support - Web Service service, the JP1/Service Support service, the JP1/Service Support - DB Server service, the JP1/Service Support - DB Cluster Service service, and the JP1/Service Support - Task Service service offline.
-
While the jsshadbinit.bat command is being executed, do not execute other JP1/Service Support commands.
-
Execute the jsshadbinit.bat command on the active and primary server.
Remarks
-
When you execute the jsshadbinit.bat command, multiple child processes start within the system. Even if you cancel the jsshadbinit.bat command by using Ctrl+C, the child processes continue running. For this reason, do not cancel the jsshadbinit.bat command during execution by using Ctrl+C. If you happen to do so, wait for a while and re-execute the command.
-
After you execute the jsshadbinit.bat command, inactivate the JP1/Service Support - DB Server service. You need to do this because the Service Control Manager on the host where you execute the command starts the JP1/Service Support - DB Server service of the Item management database server.
-
When the jsshadbinit.bat command is executed, the required memory size depends on the size of the Item management database. For details about the required memory size, see the release notes.
Example
The following example shows how to initialize the Item management database in a cluster environment as size M.
jsshadbinit.bat -s M