Skip to main content
Druva Documentation

Deploy and register a Phoenix Backup Store

Phoenix Editions: File:/tick.png Business File:/cross.png Enterprise File:/tick.png Elite

The availability of this feature is limited based on the license type, region, and other criteria. To access this feature, contact your Druva Account Manager or Druva Support. This article/documentation is subject to change based on the continuous improvements to this feature.

Phoenix backs up the Oracle Recovery Manager (RMAN) created Oracle RMAN backups. When the Oracle Database Administrator triggers a backup using RMAN, RMAN creates an Oracle RMAN backup and stores it on a specified target location. Deploy the Phoenix Backup Store and create a backup mount on the Phoenix Backup Store that serves as the RMAN target location. You can create a Phoenix Backup Store on an Ubuntu server or a virtual machine. Druva provides:

  • A Debian package that is installed on an Ubuntu server that can work as a Phoenix Backup Store
  • An Open Virtual Appliance package that is deployed on a VMware setup to create a virtual machine and use the virtual machine as the Phoenix Backup Store

When the package is deployed:

  • The Ubuntu server or the virtual machine becomes the Phoenix Backup Store that works as an NFS server
  • A mount created on the Phoenix Backup Store is configured as a location to store Oracle RMAN backups

Before you begin

Before you deploy the package and create the Phoenix Backup Store:

  • Ensure that the Ubuntu server or the virtual machine meets the hardware and software requirements specified in the system requirements article.
  • Ensure that the Phoenix Backup Store  uses Ubuntu 18.04. 
  • Set up the Phoenix Backup Store in your IT infrastructure so that the RMAN can access the mount on it and store the backups it creates.
  • Ensure that Internet access is enabled for the Phoenix Backup Store.
  • Read the quick steps article.

Download the Phoenix Backup Store package and generate activation token

The Phoenix Backup Store package is available on the Druva downloads page. In addition, you can download the package when you generate the activation token. If you want to:

  • Set up the Phoenix Backup Store on an Ubuntu server, download the Debian package 
  • Set up the Phoenix Backup Store as a virtual machine, download the Open Virtual Appliance (OVA) package

To generate the activation token: 

  1. Log in to the Phoenix Management Console.
  2. From the top menu, select the Organization where you want to configure the Phoenix Backup Store.
    The Organization page appears. 
  3. On the Organization page, click Protect > Oracle on the top menu bar. 
    The Oracle page appears. 
  4. On the Oracle page, click Register Phoenix Backup Store.
    The Register Phoenix Backup Store wizard appears.
  5. In the Install Package section of the wizard, use the Click here link to launch the downloads page and download the package. If you have already downloaded the package, click Next.
  6. In the Generate Activation Token section of the wizard, provide:
    Field Description
    Token Description A string that can help you identify the token.
    This token can activate <the number of> stores The number of Phoenix Backup Stores that can be activated using this token.
    The token expires in The number of days after which the token cannot be used for activating a Phoenix Backup Store.
    Click Next
  7. In the Store Activation section, Druva provides the activation token that you use to activate the Phoenix Backup Store. Copy the activation token, save it to a text file, and click Finish. You can also navigate to Manage > Tokens from the top menu bar to get the activation token again. 

After you generate an activation token:

Deploy the Debian package on an Ubuntu server and register the Phoenix Backup Store

The Debian package that you download is deployed on an Ubuntu server to create the Phoenix Backup Store. The mount created on the Phoenix Backup Store serves as the location to store Oracle RMAN backups. 

Prerequisite

Ensure that the package is accessible on the Ubuntu server.

Deploy the package

  1. Connect to the Ubuntu server using PuTTy or launch the terminal on the Ubuntu server. 
  2. Install the ZFS package on the Ubuntu server. The command to install the ZFS package is:
    sudo apt install zfsutils-linux=0.7.5-1*
    
  3. Install the NFS kernel package on the server. The command to install the NFS kernel package is:
    sudo apt install nfs-kernel-server=1:1.3.4-2.1*
  4.  On the terminal, run the dpkg command with the path to the Debian package to install it.
    sudo dpkg -i <path-to-the-Phoenix-Backup-Store-debian-package>
    For example:
    sudo dpkg -i /home/admin/Downloads/druva-phoenix-backupstore-4.7.6-110.amd64.deb

    Ensure that you provide the correct path to the location of the Debian package and its name.
    These steps install the ZFS package,  the NFS kernel, and the Druva binaries that Phoenix needs to create the Phoenix Backup Store. 

  5. After the package is installed, create a ZFS pool using the disks on the Ubuntu server. To create the ZFS pool, run the following script on the Phoenix Backup Store as the root user:
    zpool_config_no_raid.sh <uuid-of-disk1> <uuid-of-disk2> ... 

    For example:

    zpool_config_no_raid.sh 01234uuid-disk10000 121uuid-disk20000 4324uuid-disk30000

    To configure the ZFS pool with RAIDZ configuration, run the following script:

    zpool_config_raidz1.sh <uuid-of-disk1> <uuid-of-disk2> ...  

    For example: 

    zpool_config_raidz1.sh 01234uuid-disk10000 121uuid-disk20000 4324uuid-disk30000

    The above disk universal unique identifiers (UUIDs) are examples. Ensure that you provide the correct device name, device paths, or UUIDs when you create a ZFS pool. Druva recommends that you provide the disk UUIDs. To get the disk UUIDs, see UsingUUIDs [External link to Ubuntu Documentation]. For a RAIDZ configuration, use at least three disks. The scripts are stored under the /opt/Druva/Phoenix/PhoenixBackupStore/bin folder on the Phoenix Backup Store.

  6. Run the following command to restart the Phoenix Backup Store service:

    sudo service PhoenixBackupStore restart
  7.  After installing the package and configuring the ZFS pool, run the activation command with the token you generated above to activate the Phoenix Backup Store:

    PhoenixBackupStoreControl activate <govcloud> <activation_token>
    

    Example activation command for public cloud

    PhoenixBackupStoreControl activate ExampleToken1234
    

    Example activation command for Gov cloud

    PhoenixBackupStoreControl activate govcloud ExampleToken1234
    

    Ensure that you replace example values with real values. In the above syntax, replace ExampleToken1234 with the token that you generate when you perform the steps above

The Phoenix Backup Store is deployed and registered with Druva. 

Deploy the OVA package on a VMware setup and register the Phoenix Backup Store virtual machine

In addition to the Debian package, Druva provides an open virtual appliance (OVA) package that you can use to create a Phoenix Backup Store on a VMware setup. The OVA package that you download is deployed on a VMware setup to create the Phoenix Backup Store virtual machine. The mount created on the Phoenix Backup Store serves as the location to store Oracle RMAN backups. 

Before you begin

Ensure that the OVA package is downloaded.

Deploy the package

To deploy the Phoenix Backup Store OVA on a VMware setup, see Deploy an OVF or OVA template [External link to VMware documentation].

The OVA package can be deployed for vCenter/ESXi version 6.0 or later. After you deploy the Phoenix Backup Store OVA, start the virtual machine and connect to the virtual machine using PuTTy or any other remote utility. To log in to the Phoenix Backup Store enter:

  • root as the username
  • Druv@123 as the password 

After logging in, perform the following steps on the terminal:

  1. Create the ZFS pool using the virtual disks attached to the Phoenix Backup Store virtual machine. To create the ZFS pool, run the following script as the root user:
    zpool_config_no_raid.sh <uuid-of-disk1> <uuid-of-disk2> ...  

    For example:

    zpool_config_no_raid.sh 01234uuid-disk10000 121uuid-disk20000 4324uuid-disk30000

    To configure the ZFS pool with RAIDZ configuration, run the following script:

    zpool_config_no_raid.sh <uuid-of-disk1> <uuid-of-disk2> ...  

    For example:

    zpool_config_raidz1.sh 01234uuid-disk10000 121uuid-disk20000 4324uuid-disk30000

    The above device universal unique identifiers (UUIDs) are examples. Ensure that you provide the correct device name, device paths, or UUIDs when you create a ZFS pool. Druva recommends that you provide the disk UUIDs. You can get the  For a RAIDZ configuration, use at least three disks. The scripts are stored under the /opt/Druva/Phoenix/PhoenixBackupStore/bin folder on the Phoenix Backup Store.

  2. Run the following command to restart the Phoenix Backup Store service. 
    sudo service PhoenixBackupStore restart 
  3. Run the activation command with the token you generated above to activate the Phoenix Backup Store:
    PhoenixBackupStoreControl activate <govcloud> <activation_token>
    

    Example activation command for Public cloud:

    PhoenixBackupStoreControl activate ExampleToken1234
    

    Example activation command for Gov cloud:

    PhoenixBackupStoreControl activate govcloud ExampleToken1234

    Ensure that you replace example values with real values. In the above syntax, replace ExampleToken1234 with the token that you generate when you perform the steps above

The Phoenix Backup Store is deployed and registered with Druva. 

Configure the Phoenix Backup Store to use a web-proxy

Phoenix Backup Store connects to the Phoenix Cloud through the internet. If your network infrastructure uses a web-proxy, configure the Phoenix Backup Store to use the web-proxy to establish a connection with the Phoenix Cloud. 

Before you begin

Before you begin, ensure that the Phoenix Backup Store service is running.

Procedure

  1. Open the command line prompt on the Phoenix Backup Store.
  2. Run the following command:
    PhoenixBackupStoreControl set_proxy_details -t proxy_type -i proxy_IP:port -u proxy_user -p proxy_password  
    
    Attribute Details
    Proxy_type Druva supports the following proxy types:
    • http
    • socks4
    • socks5
    Proxy_IP Valid IP of proxy server.
    Port Respective proxy port number.
    Proxy_user Valid proxy user name. Enter * for an unauthenticated proxy. 
    Proxy_password Valid proxy password. Enter * for an unauthenticated proxy. 

The Phoenix Backup Store is now configured to use the web-proxy. In addition:

  • Use escape sequence if the value of an attribute contains special characters.
  • Ensure that all the parameters are present.
  • The command fails if any input parameter is missing or not entered in the prescribed order.