Loading...

Configuring the Parameters for CommCell Console Third-Party Job Authentication

You can have the CommCell Console authenticate third party database backup and restore jobs to ensure that the user has the correct credentials and has included a valid token file in the job request.

Procedure

  1. Enable CommCell Console Authentication of Third Party Command Line Jobs.
  2. Run the qlogin command with the token file option (-f) to obtain a token file.
  3. Create a  token parameter text file that specifies the location of the token file that the qlogin command created.

    To see the token file contents, on the command line, type the following command, substituting token_paremeter_file with the token parameter text file name.

    cat token_parameter_file
    [CvQcmdTokenFile]
    token_file_location

    Example

    cat thirdpartytoken.txt
    [CvQcmdTokenFile]
    /tmp/tokenfile

  4. Set the file permissions on the token file that the qlogin command created so that application users can read the file.

    Example

    If the token file name is "tokenfile", on the command line type the following:

    chmod 740 /tmp/tokenfile

  5. Set the token file in the channel parameters when you perform third-party command line backups and restores.

    There are 2 options that you can use:

    1. Use the CvSbtOraParams parameter to specify the token file.

      Example

      RUN
      {
      ALLOCATE CHANNEL proxy1 TYPE 'SBT_TAPE'
      PARMS="SBT_LIBRARY=/commvault/##_DOC_OEM_INSTALL_DESTINATION_COMPANY_FOLDER_##/Base/libobk.so,BLKSIZE=524288,ENV=(CvOraSbtParams=/oracle/oracle11.2.0.3/scripts/sbt_params.txt)";
      }

    2. Set the CvQcmdTokenFile parameter to the token parameter file location.

      Example

      RUN
      {
      ALLOCATE CHANNEL proxy1 TYPE 'SBT_TAPE'
      PARMS="SBT_LIBRARY=/commvault/##_DOC_OEM_INSTALL_DESTINATION_COMPANY_FOLDER_##/Base/libobk.so,BLKSIZE=524288,ENV=(CvInstanceName=Instance002,CvQcmdTokenFile=/oracle/oracle11.2.0.3/scripts/test _token)";
      }