Installation setup script
The setup script provides instructions for configuration. The setup script is used by the IBM® Storage Protect Snapshot installation program. The setup script can also be used to manually set up IBM Storage Protect Snapshot, and to complete a basic configuration.
setup_type.sh -a action -d <Instance owner $HOME directory>For the type parameter, in the setup script name, the
following values can be specified:
- setup_gen.sh
You can use the setup script for the following purposes:
- Upgrade of IBM Storage Protect
Snapshot for
one instance-specific installation, as root user:
The setup script is run from the installation directory.setup_type.sh –a install –d <Instance owner $HOME directory> - Initial configuration and reconfiguration:
The setup script must be run as the database instance owner.setup_type.sh - Initial configuration and reconfiguration in advanced mode:
setup_type.sh -advanced - Stopping an activated instance:
The command must run as the database instance owner.setup_type.sh –a stop –d <Instance owner $HOME directory> - Starting an activated instance:
The command must be run as the database instance owner.setup_type.sh –a start –d <Instance owner $HOME directory> - Disabling a stopped instance:
The command must be run as the database instance owner.setup_type.sh –a disable –d <Instance owner $HOME directory>
For a typical configuration, these commands are run on a production system. There are some scenarios where these commands need to be run on a backup system. If you are running the commands on both systems, when you stop or disable IBM Storage Protect Snapshot, run the command on the production system before the backup system.
The setup script can be used to install IBM Storage Protect Snapshot on multiple backup nodes from the production server. As a prerequisite, Open Secure Shell (OpenSSH) must be installed on all of the nodes in the backup server. NFS shares between the production server and backup server nodes are not required for this type of remote installation. OpenSSH is the preferred method for IBM Storage Protect Snapshot.
The default action, setup, is run and the instance is configured.
For IBM Storage Protect Snapshot for Custom Applications, there is no database instance-specific directory. The script must be run from the $HOME directory of the backup user. The backup user needs to be able to access all file systems that are going to be protected.
If the script is called without parameters, it can be issued as the instance owner. The script creates a profile or changes an existing profile, and updates the daemon jobs according to the current profile (production system) or user preference (backup system).
If IBM Storage Protect
Snapshot cannot be
stopped, stop IBM Storage Protect
Snapshot on the production
system before you run the script with the -a install -d <Instance owner $HOME
directory> options.