Configuring SAP Oracle 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 parameters file before you perform third-party command line backups and restores.

    UTIL_FILE

    Set the CvOraSbtParams parameter to the token parameter text file in the init<SID>.util file.

    CvOraSbtParams location_of_token_parm_file

    Example

    CvOraSbtParams 
    /ORAHOME/oracle/product/11.2.0.4/dbhome_1/dbs/thirdpartytoken.txt
    RMAN_UTIL

    There are 2 options that you can use:

    1. Use the CvSbtOraParams parameter in the SAP on Oracle RMAN PARAMS parameter to specify the token file.

      Set the token file in the init<SID>.sap file with the CvOraSbtParams parameter.

      CvOraSbtParams location_of_token_parm_file

      Example

      RMAN_PARMS="SBT_LIBRARY=/opt/commvault/Base64/libobk.a(shr.o),BLKSIZE=1048576,ENV=(CvClientName=dbserveaix4,CvInstanceName=Instance001,CvOraSbtParams=/tmp/thirdpartytoken.txt)
    2. Set the CvQCmdTokenFile parameter to the token parameter file location in the init<SID>.sap file.

      RMAN_PARMS="SBT_LIBRARY=/opt/commvault/Base64/libobk.a(shr.o),BLKSIZE=1048576,ENV=(CvClientName=dbserveaix4,CvInstanceName=Instance001,CvQcmdTokenFile=<direct_location_of_token_file>)

      Example

      RMAN_PARMS="SBT_LIBRARY=/opt/commvault/Base64/libobk.a(shr.o),BLKSIZE=1048576,ENV=(CvClientName=dbserveaix4,CvInstanceName=Instance001,CvQcmdTokenFile=/tmp/tokenfile)

Loading...