Hitachi

JP1 Version 12 JP1/Service Support Configuration and Administration Guide


jssitemstoredbsetup.bat (sets up an Item storage database)

Organization of this page

Description

This command sets up the Item storage database. To execute this command, in the Start menu, click Programs, JP1_Service Support, and then JP1_SS Command Prompt.

Format

jssitemstoredbsetup.bat {-i name-of-the-configuration-file-for-expanding-an-Item-storage-database
                        [-c online] | -c standby} [-q]

Required execution permission

Administrator permissions

Storage folder

JP1/SS-path\tools\

Arguments

-i name-of-the-configuration-file-for-expanding-an-Item-storage-database

Use an absolute path with a character string consisting of 255 bytes or less to specify the name of the configuration file for setting up an Item storage database. Count half-width characters as 1-byte each and full-width characters as 2-bytes each. You cannot specify a UNC path. For details about the configuration file for setting up an Item storage database, see Configuration file for setting up an Item storage database (jssitemstoredbinfo.bat) in Chapter 13. Definition Files.

-c online | -c standby

Specify the server on which the Item storage database is to be set up (online for the primary server, and standby for the secondary server).

-q

Continues setting up the Item storage database without displaying a confirmation message. If you do not specify the -q option, the system displays a message to ask whether to continue setting up the Item storage database.

Return values

Return value

Meaning

0

Normal end

1

Abnormal end (unsetup not required for retry)

2#

Abnormal end (unsetup required for retry)

#

If the return value is 2, correct the cause of the error, recover the environment according to the following procedure, and then re-execute the command:

  1. Initialize the databases of JP1/Service Support.

    Execute the jssdbinit.bat (initializes databases) command to initialize the Item management database and the Item storage database. For details about the jssdbinit.bat (initializes databases) command, see jssdbinit.bat (initializes databases) in Chapter 12. Commands.

  2. Recover the databases of JP1/Service Support.

    Execute the jssdbrecovery.bat (recovers a database) command to recover the Item management database and Item storage database from the backup file that was made before executing the jssitemstoredbsetup.bat command. For details about the jssdbrecovery.bat (recovers a database) command, see jssdbrecovery.bat (recovers a database) in Chapter 12. Commands.

Prerequisites for executing the command

Remarks

Examples

Example 1

When you use the configuration file for setting up an Item storage database (c:\setup\jssitemstoredbinfo.bat) to set up the Item storage database:

jssitemstoredbsetup.bat -i c:\setup\jssitemstoredbinfo.bat
Example 2

When you use the configuration file for setting up an Item storage database (c:\setup\jssitemstoredbinfo.bat) to set up the Item storage database on the primary server in a cluster environment:

jssitemstoredbsetup.bat -i c:\setup\jssitemstoredbinfo.bat -c online
Example 3

When you set up the Item storage database on the secondary server in a cluster environment:

jssitemstoredbsetup.bat -c standby