Backup to Commvault storage manager using ON-Bar

You can use ON-Bar to back up and restore data to or from the Commvault storage manager. User is responsible for terms and any charges associated with your use of the Commvault storage manager.

Before you begin

Prerequisite:

You must have Commvault storage manager software installed on the machine running Informix server.

About this task

The following steps describe how to back up data to Commvault storage manager and restore from it using ON-Bar:

Informix server side configuration changes

Before you perform backups and restore, you must modify certain Informix server configuration parameters present in the $INFORMIXDIR/etc/onconfig.<servername> file.

About this task

Onconfig Parameter Name Definition Default Value New Value
BAR_MAX_BACKUP The number of streams that the software uses for backups. 0 Greater than zero, and less than or equal to the maximum number of streams allowed at the storage policy level.
TAPEDEV The tape device that is used for dbspace backups. The default values dismiss the logs:
  • UNIX: /dev/null
  • Windows: Nul

A non-existing directory that has full access to perform log backups for an Informix user.

For example, change the values to the following:

  • UNIX: TAPEDEV /dev/tmp0
Windows: $INFORMIXDIR\tmp\tape0
LTAPEDEV The tape device that is used for log file backups. The default values dismiss the logs:
  • UNIX: /dev/null
  • Windows: Null

A non-existing directory that has full access to perform log backups for an Informix user.

For example, change the values to the following: UNIX: LTAPEDEV /dev/tmp1Windows: LTAPEDEV C:\Program Files\IBM\Informix\tape1

BAR_BSALIB_PATH Specifies the location of the shared library for ON-Bar and the storage manager.

None

In a Windows configuration, you must specify this parameter. When you create an instance, this parameter is updated.

In a UNIX configuration, if you don't specify this parameter, ON-Bar looks for the symbolic link in the $INFORMIX/lib path.

The location that you want to use for ON-Bar and the storage manager.

Create storage policy in Commvault storage manager

Storage policy deals with the retention duration of all backups we create. We need to configure the number of days a backup needs to be retained before deleting it as described in the following steps:

Procedure

  1. Go to CommCell browser ->Storage Policy->New Storage Policy.
    alt_comm_browser
  2. Enter the Storage Policy Name (for example : infomix_storage_Policy ).
    alt_policy_name
  3. On the next screen, choose Storage Policy Type as Data Protection and Archiving. Click Next.
    alt_pol_type
  4. On the next screen, enter the Storage Pool, you can use existing storage pool or can create a new storage pool as well. Click Next.
    alt_storage_pool
  5. Enter the retention duration of backups, number of device streams (default is 100, but you can put up to 400, it is the number of readers/Writers ).
    alt_ret_policy
  6. On the next screen, review the selections and click Finish.
    alt_review

Add the Informix server machine to Commvault storage manger

Following steps describe how to add a machine running the Informix server to Commvault storage manager using the Install wizard:

Procedure

  1. Go to Commvault storage manager console. Click Add/Remove Software.
    alt_add_rem_sw
  2. Install Wizard will come up. Click Next.
    alt_install_wiz
  3. Choose the operating system on which Informix server is running (windows/Unix and Linux machines). Choose Linux.
    alt_select_OS
  4. Select how to discover the computers for installing the software, manually or automatically. Choose Manually select computers. Click Next.
    alt_discover_comp
  5. Enter the host name/IP address of the machine on which Informix is installed.
    alt_IP
  6. We should have root/admin level access permissions on the machine where Informix server is installed . Provide the root/admin credentials (Username and Password).
    alt_credentials
  7. Select Package/s to install by clicking File System Core, File System, Informix database. Click Next.
    alt_select_pkg
  8. Then choose the storage policy to use. You can choose the default storage policy or you can create new user defined storage policy. Click Next.
    alt_storage_pol

    We choose pnp_dev_filebackups.

    alt_select_pol_2
  9. On Enter Additional Install Options screen, click Next.
    alt_add_install_options
  10. On Unix Advanced Options screen, you can enter Unix group name (it is an optional field). Click Next.
    alt_unix_options_1

    Choose group not mandatory.

    alt_unix_options2
  11. On Optional Settings screen, choose the CVD port. Click Next.
    alt_cvd_port
  12. On the Please Select When To Run The Job screen, Click Immediate. Click Next.
    alt_job_run_opt
  13. On Installer Summary screen, check all the information for accuracy. Click Finish.
    alt_install_summary
  14. After installation completes successfully, machine name will be shown in CommCell browser.
    alt_commcell_brow

Create a new instance of Informix

Last step in the Commvault storage manager setup is to create a new Informix instance. Following steps describe how to create a new Informix instance:

Procedure

  1. After successfully adding hosted machine in Commvault, search for hosted machine name in ComCell browser.
  2. Expand the Machine tab, right click on Informix -> New instance (Informix SID). Click Next.
    alt_comm_browser
  3. On Creating New Instance (INFORMIX SID) screen, provide the required information.
    • INFORMIX SERVER is the name of the Informix database server.
    • INFORMIX USER is the user who is connecting to Informix database server.
    • INFORMIX DIR is the absolute path of the directory where the IBM Informix server is installed.
    • ONCONFIG File holds the configuration parameters for the database server.
    • SQLHOSTS File is the connectivity information file. Absolute path of this file should be provided.
    alt_new_instance