Hitachi

JP1 Version 12 JP1/Service Support Configuration and Administration Guide


jssitemstoredbexpand.bat (expands an Item storage database)

Organization of this page

Description

This command expands the size of the Item storage database. Both the Item storage area and attached file storage area in the Item storage database can be expanded. To execute this command, in the Start menu, click Programs, JP1_Service Support, and then JP1_SS Command Prompt.

Format

jssitemstoredbexpand.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 expanding 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 expanding an Item storage database, see Configuration file for expanding an Item storage database (jssitemstoredbexpandinfo.bat) in Chapter 13. Definition Files.

-c online | -c standby

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

-q

Continues expanding the size of 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 expanding the database size.

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. Stop the services in the following order:

    - JP1/Service Support - Task Service service

    - JP1/Service Support - Web Service service

    - JP1/Service Support service

  2. 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.

  3. Set up the Item storage database.

    Execute the jssitemstoredbsetup.bat (sets up an Item storage database) command to set up the Item storage database. For details about the jssitemstoredbsetup.bat (sets up an Item storage database) command, see jssitemstoredbsetup.bat (sets up an Item storage database) in Chapter 12. Commands.

  4. Expand the database so that the database will be in the same environment as when the backup file was created.

    Execute the jssitemstoredbexpand.bat (expands the Item storage database area) command to expand the Item storage database area to set up the same environment before the backup was made. For details about the environment when the backup file was created, see dbpath.txt stored in the directory to output the backup files to.

  5. 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 jssitemstoredbexpand.bat command. For details about the jssdbrecovery.bat (recovers a database) command, see jssdbrecovery.bat (recovers a database) in Chapter 12. Commands.

Managing the expanded status of the Item storage database

The jssitemstoredbexpand.bat command collects the status of the Item storage database, and then expands the database size based on the status of the Item storage database. The expanded status of the Item storage database is managed by the Item management database, as follows:

Prerequisites for executing the command

Remarks

Examples

Example 1

When you use the configuration file for expanding an Item storage database (c:\setup\jssitemstoredbexpandinfo.bat) to expand the Item storage database area:

jssitemstoredbexpand.bat -i c:\setup\jssitemstoredbexpandinfo.bat
Example 2

When you use the configuration file for expanding an Item storage database (c:\setup\jssitemstoredbexpandinfo.bat) to expand the Item storage database on the primary server in a cluster environment:

jssitemstoredbexpand.bat -i c:\setup\jssitemstoredbexpandinfo.bat -c online
Example 3

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

jssitemstoredbexpand.bat -c standby