The ccm_install command installs Rational® Synergy.
Synopsis
Install
the Software
ccm_install [-d|-directory directory][-p|-platform platform_type] -x
ccm_install [-directory directory]-i|-install
[-p|-platform platform_type]
Fix Links
ccm_install -l [-d|-directory directory]
Correct an Installation
ccm_install -c|-correct [-p|-platform platform_type]
[-d|-directory directory]
Verify an Installation
ccm_install -v|-verify [-p|-platform platform_type]
[-d|-directory directory]
Uses
Use the ccm_install command
to extract the software, install the software, verify or correct an
installation, or fix database links.
If you specify no options,
it is assumed that you have extracted the software already and ccm_install sets
up permissions and links. If you omit the -p option,
the software is installed onto the current machine. If you omit the -d option,
the software is installed into the current directory. It is assumed
that you changed directory to the installation directory, $CCM_HOME,
before running the ccm_install command.
The -x or -i option
installs Rational Synergy,
performing the following actions:
- Checks that ccm_root user and groups are present,
but does not create them.
Note: This step is not performed if the command is executed on
a different platform other then specified with the platform option.
- Creates $CCM_HOME subdirectories (for example,
for log files).
- Checks that all required files are present, and sets their ownerships
and permissions.
- If the router address (.router.adr) file does
not exist, prompts for the router host, service name, and port, then
creates the file.
- If the help server (ccm_websrv.adr) file does
not exist, prompts for the help web server port, and then creates
the file.
- If the port file (esd.adr) does not exist, creates
it and enters the host name and port number for the installation machine.
- Prompts for license information.
The -correct option corrects the installation.
It differs from the -x or -i option
because it does not attempt to create the sqlhosts file,
the $CCM_HOME subdirectories, the router address
file, or prompt for license info.
The -verify option
verifies the installation by performing the same checks as the installation
action. The verify option does not change the installation.
You
must use the ccm_install command to fix database
links if the software has been installed already on another server.
You
must be user root to use the -x option,
to perform install or correct actions, or to fix database links.
Options and arguments
- -c|-correct
- Corrects a Rational Synergy
installation.
- No prompts are issued, You can use this option in a non-interactive
script.
- Only user root can use this option.
- -d|-directory directory
- Specifies the directory to install the software. The /usr/local/ccm71 directory
is the default, unless $CCM_HOME is set to a different
path.
- -i|-install
- Installs Rational Synergy.
- Only user root can use this option.
- -l
- Fixes the links on a new database or engine server after installing
the software on a different NFS server, and performs no other action.
This option is required on any machine where you are running engines
on which you have not installed Rational Synergy.
- No prompts are issued. You can use this option in a non-interactive
script.
- Only user root can use this option.
- -p|-platform platform_type
- Specifies the remote host on which to install the software, or
on which to verify or correct the installation.
- This option enables you to install on a remote host without root access
to the installation directory. The platform options
are as follows:
solaris | ibm | linux
- -s servername
- Checks to see if ORACLE_HOME is set, and then
creates and checks links.
- -u
- Prompts for the previous Rational Synergy
installation directory, and then copies configuration files from it.
- -v|-verify
- Verifies a Rational Synergy
installation.
- No prompts are issued. You can use this option in a non-interactive
script.
- -x
- Extracts the software from the media. This option can be used
only by user root.
Example
Execute ccm_install to
extract the AIX® software onto
a local (Solaris) machine and install the software into the AIX machine NFS-mounted /usr/local/ccmvar directory.
(The /usr/local/ccm72 directory is the default, unless
you have set $CCM_HOME to a different path.)
$
ccm_install -x -p aix -d /usr/local/ccmvar