resync_db_setup

Resynchronization Database Maintenance

Creates or removes the resynchronization database.

Keyword

resync_db_setup

Permission

The user must be logged in with the user name lsmsadm.

Restrictions

Syntax

$LSMS_DIR/resync_db_setup <Action>

This command must be run from the $LSMS_DIR directory and run only from the primary server.

Options

None.

Parameters

Action
Specifies the action to be performed on the database. This is a mandatory parameter with the following values:
  • create
  • remove

Response Notes

This command takes approximately 35 to 40 seconds to execute.

Files

None.

Possible Errors

Exit Codes: resync_db_setup

Exit Code

Cause

Suggested Recovery

1

Missing arguments.

Use the correct syntax and supply all required arguments.

3

Executing command from wrong directory.

Change directory to $LSMS_DIR.

6

Invalid action argument.

Use the correct syntax and supply a valid action argument.

7

Database already exists.

No action necessary.

8

Database exists on another host.

No action necessary.

9

Database in use by process.

Stop the process that is using the database.

10

User is not authorized to use this command.

Change user to lsmsadm.

11

Command executed on secondary server.

Execute command on the primary server.

This command is usually run by scripts; scripts should search for exit codes. When the command is run from the command line, the output indicates suggested recovery.