Hitachi

JP1 Version 12 JP1/Integrated Management 2 - Manager Command, Definition File and API Reference


jcsdbsetup

Organization of this page

Function

This command creates a new ISAM file for storing the monitoring object database. When you execute this command, the existing monitoring object database is deleted and a new monitoring object database is created.

You must terminate JP1/IM - Manager before you can create a monitoring object database.

Make sure that you execute this command if you use any Central Scope functions.

Format

jcsdbsetup [-h logical-host-name]
           [-f]

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:

Scope-path\bin\

In UNIX:

/opt/jp1scope/bin/

Arguments

-h logical-host-name

When you are operating in a cluster system, this option specifies the logical host name. 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.

-f

You must specify this option when there is an existing monitoring object database (if this option is omitted in such a case, an error results). If there is no existing monitoring object database, you can omit this option.

When this option is specified and there is a monitoring object database, the command displays the confirmation message Database files are existed. Delete these files? [y/n]. Entering Y and then pressing the Enter key will cause the existing monitoring object database to be deleted and a new monitoring object database to be created. If there is no existing monitoring object database, the command will create a new monitoring object database without displaying the confirmation message.

Return values

0

Normal termination

1

Logical host name is invalid

2

Argument error

4

No permission to execute the command

10

Setup has not been completed

12

Insufficient memory

13

Insufficient disk capacity

20

Database already exists

42

Another command or request is running

99

Other error