Job Management Partner 1/Integrated Management - Manager Command and Definition File Reference
Function
This command reorganizes fragmented free space in a database.
When you perform maintenance of JP1/IM - Manager, you can also resolve low data storage efficiency caused by fragmentation by executing database reorganization.
Format
jimdbrorg [-h logical-host-name]
[-q]
Execution permission
In Windows: Administrator permissions (if the Windows UAC feature is enabled, the command is executed from the administrator console)
In UNIX: Superuser permissions
Storage directory
- In Windows:
Manager-path\bin\imdb\
- In UNIX:
/opt/jp1imm/bin/imdb/
Arguments
-h logical-host-name
When you are operating in a cluster system, this option specifies the logical host name of the host where the command is executed. The command reorganizes the database for the specified logical host. If this option is omitted, the logical host name specified in the JP1_HOSTNAME environment variable is assumed. If the JP1_HOSTNAME environment variable is not specified, the physical host name is assumed. If you are not using a cluster system, specification of this option is not needed. Note that this logical host name cannot be JP1_DEFAULT.
-q
Specifies that the command is to be executed without requesting confirmation from the user.
Return values
0 Reorganization terminated normally 1 Reorganization terminated abnormally
Notes
- If you execute another JP1/IM - Manager command or start a JP1/IM - Manager service while this command is executing, the requested execution might fail.
- While this command is executing, do not press Ctrl +C or Ctrl + Break. Because the command executes database reorganization processing in the background, the database reorganization processing will continue even though Ctrl +C or Ctrl + Break is pressed. If you press Ctrl +C or Ctrl + Break and then immediately attempt to execute another JP1/IM - Manager command or start a JP1/IM - Manager service, execution of the requested command or startup of the requested service may fail.
If you have canceled command execution by pressing Ctrl +C or Ctrl + Break, you must use a method such as the Windows Task Manager to make sure that the pdrorg process is not running before you execute another JP1/IM - Manager command or use JP1/IM - Manager. If the pdrorg process is running, wait until it terminates before executing another JP1/IM - Manager command or using JP1/IM - Manager.
- We recommend that you make a backup for error recovery before and after you execute this command.
- This command creates a temporary file during execution. The amount of free space that is needed on the drive at the installation target is about 1 gigabyte for a small or medium-sized database and about 4 gigabytes for a large database.
- When the IM database is used, JP1/IM - Manager must not be running.
- In Windows, the IM database (JP1/IM-Manager DB Server) must be running and the cluster service for the IM database (JP1/IM-Manager DB Cluster Service) must be stopped.
All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.