Job Management Partner 1/Automatic Job Management System 3 Command Reference 2

[Contents][Glossary][Index][Back][Next]


jajs_migrate

Format

jajs_migrate
     -convert
     [-h logical-host-name]
     [-T work-directory-name]
     [-r|-f]
     [-S | [[-s {l|m|s}]
            [-u number-of-scheduler-services-to-be-stored-in-one-database]]]
 

Format 1 (standard setup on a physical host)

jajs_migrate
     -convert
     [-T work-directory-name]
     [-s {l|m|s}]
     [-u number-of-scheduler-services-to-be-stored-in-one-database]

Format 2 (for setting up a logical host)

jajs_migrate
     -convert
     [-h logical-host-name]
     [-T work-directory-name]
     {-r|-f}
     -s

Format 3 (for manually setting up the embedded database on the physical host)

jajs_migrate
     -convert
     [-T work-directory-name]
     -S

Description

The jajs_migrate command sets up JP1/AJS3 in the standard configuration.

This command is executed after JP1/AJS3 is installed as an upgrade installation from JP1/AJS2.

Execution privileges

In Windows: Administrators privileges

In UNIX: Superuser privileges

Storage directory

In Windows:
JP1/AJS3 - Manager-installation-folder\tools\

In UNIX:
/opt/jp1ajs2/tools/

Arguments

-convert

Always specify this option.

-h logical-host-name

Specify this option if you want to specify a logical host name, instead of using the JP1_HOSTNAME environment variable. You can specify a character string of 1 to 32 bytes.

The value of this option overrides the value of the JP1_HOSTNAME environment variable. By specifying JP1_DEFAULT as the value of this option, you can explicitly specify the physical host. You can also specify the computer name of the physical host.

Note, if a logical host is set up with the same name as the physical host name, the logical host is still treated as a logical host rather than the physical host.

-T work-directory-name

Specify the name of the work directory use for migration.

You need to specify this option if free space required for the default work directory cannot be secured. The default work directory is as follows.

For Windows Server 2008
%ALLUSERSPROFILE%\HITACHI\JP1\JP1_DEFAULT\JP1AJS2\backup
(The default value of %ALLUSERSPROFILE% is system-drive\ProgramData.)

For Windows Server 2003
JP1/AJS3 - Manager-installation-folder\backup

In UNIX:
/var/opt/jp1ajs2/backup/

If the specified directory does not exist, the command terminates abnormally.

If the command terminates abnormally, files might remain. If files remain, delete them and then re-execute the command.

-S

Specify this option if you want to skip setup of the embedded database during migration. If you execute the command when the embedded database has already been set up, specify this option.

However, if you execute the command with this option specified when the embedded database has not been set up, the KAVS0177-E message (Database type is invalid) is output.

-s {l|m|s}

Use this option to specify one of the following database models:

The default value for this option is s (small-scale model).

-u number-of-scheduler-services-to-be-stored-in-one-database

If you do not want to inherit the configuration existing before migration, using a decimal number specify the number of scheduler services to be stored in one database.

You can specify a value from 1 to 20. If you omit this option, the system assumes 4.

Note that if the embedded database set up in version 8 was used as the scheduler database before migration, the configuration existing before migration is inherited regardless of the specification of this option.

-r

Specify this option to set up the primary host environment in a cluster configuration. If you specify this option, you must also specify the logical host name (-h option).

The shared disk must be mounted on the primary host. In addition, the logical host must be accessible.

-f

Specify this option to set up the secondary host environment in a cluster configuration. If you specify this option, you must also specify the logical host name (-h option).

If this option is specified, the command performs only setup of the embedded database, and does not create data areas or start the embedded database. Note, however, that the specification of the data and system areas for the embedded database (-d option) on the secondary host must be the same as the specification in the primary host environment.

Notes

Return values

0 Normal end
Values other than 0 Abnormal end

Example

In the following example, the command sets up JP1/AJS3 in the standard configuration to create five scheduler services to be stored in one database on the physical host on which JP1/AJS3 is installed as an upgrade installation from JP1/AJS2.

 
jajs_migrate -convert -u 5

[Contents][Back][Next]


[Trademarks]

Copyright (C) 2009, 2010, Hitachi, Ltd.
Copyright (C) 2009, 2010, Hitachi Solutions, Ltd.