Skip to main content

How can we help you?

Druva Documentation

Download, install, and activate CloudCache R2 on Linux

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

 

To configure Linux CloudCache R2, you must deploy a Linux CloudCache virtual machine in your virtual infrastructure environment and then register the Linux CloudCache using an activation token. Alternatively, you can install the .deb package on a device running on Ubuntu.

Notes:
  • You must install CloudCache within the firewall limits of your remote office locations.

  • Ensure that you do not install any other services on the CloudCache server.

You can download CloudCache R2 in three formats:

  • Ubuntu OVA image for VMWare with CloudCache preinstalled.

  • Ubuntu QCOW2 format for Nutanix AHV with CloudCache preinstalled.

  • Standalone .deb package.

You can choose any of the three versions based on your requirements. 

The setup involves the following steps:

Before you begin

Ensure that the server on which you plan to install Phoenix CloudCache matches the minimum requirements listed for CloudCache R2  under System requirements.

Step 1: Download the CloudCache image or package 

  1. Login to the Management Console.
  2. Click Manage > CloudCache. Note that if the All Organizations menu is enabled, you have to first select an organization and then click Manage > CloudCache.
  3. Click Add CloudCache.
  4. You will see a dropdown with two values – CloudCache R1 R1-pill.pngand CloudCache R2R2-pill.png. Select R2 if you are setting up CloudCache for Nutanix AHV. For Files, NAS, Hyper-V, VMWare, Oracle, and MS SQL, select R1.
  5. On the Add CloudCache page, click Download. Alternatively, you can go to the Druva Downloads page and download CloudCache. The downloads are available as an OVA image, a QCOW2 image, or a Debian package.

Notes:

  • If you don’t see all the options on the Add CloudCache page, visit the Druva Downloads page where you can download CloudCache in three formats—OVA image, QCOW2 image, and a Debian package.
  • CloudCache R2 is currently not available for GovCloud subscribers.

Step 2: Generate the activation token

  1. On the Add CloudCache page,  under the Activate Cloudcache section, you will see a Default Activation Token. This token is valid for seven days and can activate 25 servers.
  2. If this token has expired, click Generate New Token. In the Generate Token dialog box, enter the following details and click Generate.

Field

Description

Token Label

A short description of the activation token.

This token can activate

The number of servers that the activation token can activate. The default value is 25 servers.

The token expires in

The number of days after the activation token expires. The default value is 7 days. 

  1. You can copy the generated token in the Generate Token window by clicking the Copy Token icon. Click Done.
  2. Click the drop-down under the Activation Token field to use a pre-existing activation token.
  1. Click Done

Step 3: Deploying CloudCache

Option 1:  Deploy OVA image for CloudCache

Once you have downloaded the OVA image with CloudCache, you can deploy this image using any of the two interfaces:

  • vSphere Web Client 

  • vSphere Desktop

  1. Log on to vCenter Server using vSphere Client. 
  2. From the File menu, click Deploy OVF Template

    image18.png
  3. In the Deploy from a file or URL box, type or select the full path to the OVF template that you downloaded, and click Next.

    image2.png
  4. In the Name box, type a name for the template.
  5. Select a host or a cluster on which you want to deploy Linux CloudCache and click Next.

    image5.png
  6. From the list of resource pools, click the resource pool that you want to assign to this virtual machine, and click Next.

    image8.png
  7. Review the details and click Next.

    Size on disk.png

    Note: The size on the disk cannot be changed during Phoenix CloudCache deployment. You can, however, add or edit data volumes and increase or decrease disk size using LVM commands. For more info see the Data Volumes article.
  8. Click I Accept all license agreements to accept the End User License Agreement (EULA), and click Next.

    image6.png
  9. In the Select virtual disk format drop-down list, select a provisioning format:
    • Thick Provisioned Lazy Zeroed: If you select this format, a thick virtual disk is created, and the existing data is lazy zeroed (existing data on the provisioned storage are cleared when the virtual machine writes to the storage for the first time). 
    • Thick Provisioned Eager Zeroed: If you select this format, a thick virtual disk is created, and the existing data is eager zeroed (existing data on the provisioned storage is overwritten with zeroes at the time of creating the virtual machine).
    • Thin Provisioned: If you select this format, a thin virtual disk is created. 
  10. Select destination storage, and click Next.  If you created storage profiles, click the storage profile that you want to assign to the virtual machine. From the list of storage, click storage that you want to set as destination storage for this virtual machine.

    image19.png
    Note: You can change the disk type to Thin Provision to save storage space.
    Thin Provision.png

     
  11. Select the source and destination network.
    Note: Linux CloudCache uses the default network mapping settings of the vCenter Server.
  12. Click Next.
  13. Verify the summary, and click Finish.

    Ready to Complete.png
  14. For the next step, proceed to Step 4: Configure and activate CloudCache

Deploy OVA for CloudCache using the vSphere Desktop Client

Before you begin

Before you begin, ensure the following:

  • vSphere Client for desktop is installed on the server 

  • The OVA is downloaded on the same machine as the vSphere Client or a location accessible from the system

  • You have the following information:

    • vCenter credentials

    • Web proxy credentials (If you use a Web proxy in your environment).

    • Activation token. For more information see, Generate activation token.

    • IP settings.

Note: If you use an HTML5 Web client for proxy deployment, you'd need to enter 'j.proxy type' in the HTTP field under Web Proxy Settings as a hard value even if there is no Web proxy. The proxy will not power on post-deployment without this value.

Procedure
  1. Log on to vCenter Server using vSphere Client. 

  2. From the File menu, click Deploy OVF Template

  3. In the Deploy from a file or URL box, type or select the full path to the OVF template that you downloaded, and click Next.


 

  1. Verify the OVF template details, and click Next

  2. Click Accept to accept the End User License Agreement (EULA), and click Next

  3. In the Name box, type a name for the template.
    Under Inventory Location, expand or collapse the inventory tree, click a location, and click Next.

  4. Select a host or a cluster on which you want to deploy Linux CloudCache, and click Next.

  1. From the list of resource pools, click the resource pool that you want to assign to this virtual machine, and click Next.

  2. Select destination storage, and click Next.
    If you created storage profiles, click the storage profile that you want to assign to the virtual machine.
    From the list of storage, click storage that you want to set as destination storage for this virtual machine. 

  3. Select a provisioning format, and click Next.

    • Thick Provisioned Lazy Zeroed: If you select this format, a thick virtual disk is created, and the existing data is lazy zeroed (existing data on the provisioned storage are cleared when the virtual machine writes to the storage for the first time). 

    • Thick Provisioned Eager Zeroed: If you select this format, a thick virtual disk is created, and the existing data is eager zeroed (existing data on the provisioned storage is overwritten with zeroes at the time of creating the virtual machine).

    • Thin Provisioned: A thin virtual disk is created if you select this format.

      Note: You can change the disk type to Thin Provision to save storage space.

Note: Linux CloudCache uses the default network mapping settings of the vCenter Server 

Select the source and destination network and click Next.

  1. On the Properties screen, select the source and destination network and click Next.

  1. Click Next.

  2. To start the virtual machine after deployment, select Power on after deployment.

  3. Verify the summary, and click Finish.

  4. For the next step, proceed Step 4: Configure and activate CloudCache.

Option 2:  Deploy QCOW2 image for CloudCache

Before you begin

On the downloads page, locate the tarball containing the QCOW2 images. The file name for this tarball will be as follows:

DruvaPhoenixCloudCacheQCow2.tar.gz

Once you have downloaded the tarball, unzip it to extract the following images:

  • DruvaPhoenixCloudCache-OSDisk.qcow2 - Image for the operating system disk.

  • DruvaPhoenixCloudCache-DataDisk.qcow2 - Image for the data disk.

 Upload these images to the Nutanix Hypervisor as follows:

  1. Log in to  Prism Element

  2. Expand the main navigation menu and select Settings.

  3. Select Image Configuration.

  4. Click the Upload Image button, specify the required settings for the OS disk and click Save.

  5. Repeat the above steps for the data disk.

Once the image is uploaded, proceed to create the virtual machine.

Procedure

  1.   Select Create VM option from Prism Element.

  2. Enter a name for the VM. This name differs from the hostname and is only for management purposes from Prism Element.
    CreateVM-1-GeneralConfig.png

  3. Enter the CPUs and RAM as per System Requirements.

  4. Under the Disks section, select Add New Disk.
    CreteVM-2-Add New disk.png

  5. Select the Type as Disk, Operation as Clone from Image Service,  and then select the OS image.
    CreteVM-3-Add OS disk.png

  6. Add another disk for storing data. From the Image, select the Disk image.
    CreteVM-4-Add Data disk.png

  7. Click Save

  8. Click Add NIC. Verify the Subnet name and click Add.

  9. Finally, click Save.

  10. For the next step, proceed to Step 4: Configure and activate CloudCache.

CloudCache installer is available as a Debian package on the Downloads page. You can install it on a Ubuntu machine that meets the System Requirements.

Once you have downloaded the .deb package to the server where you want to set up CloudCache, run the following command to install CloudCache as root:

dpkg -i <CloudCache-packge-file.deb>

Replace <CloudCache-packge-file.deb> with the actual file name downloaded.

After installation is complete, move on Download, install, and activate CloudCache R2 on Linux.

Step 4: Configure and activate CloudCache

For easy configuration and activation, CloudCache includes a utility with a command line interface. This utility is Cloudcache_Conf.

Once you have deployed the image with CloudCache or installed the standalone .deb package, power on the VM and log in to the CloudCache box. 

If you deployed the OVA or QCOW2 image, the default credentials are as follows:

  • Username: root
  • Password: druvaphoenix

You will see the following screen with options:

CCConf_welcome.png

You will be prompted to change your password when you log in for the first time.

Open the terminal on the CloudCache machine and enter the following command to activate the CloudCache Configuration utility:

Cloudcache_Conf

You will see the following screen with six options:

Enter 1 and press Enter to begin web proxy setup.

Web  Proxy Setup

Enter 1 to begin setting up web proxy credentials.

CCConf_WebProxy.png

You can configure a Web proxy for your environment. To set up the Web proxy, provide the following details:

  • Proxy Type: Currently, only HTTP proxies are supported

  • Proxy Server IP: Valid IP and port of the proxy server. Enter the  IP and port, separated with a colon. For example, to use the IP 11.11.11.11 and port 21, enter the following:

    • 11.11.11.11:21

  • Username: Valid proxy username. For a proxy that does not require authentication, enter *. 

  • Password: Valid proxy password. For a proxy that does not require authentication, enter *.

Timezone

After selecting the TimeZone option, you will see the following options:

CCConf_timezone.png

Select 1 to list the available time zones. You can select a time zone from these options and set it for this CloudCache machine.

Configure Network

Select option 3 from the main screen of the Cloudcach_Conf utility. You can view and perform the following actions from this screen:

  • List available network interfaces

  • See Details of a network interface

  • Change interface settings such as:

    • Static IP address. Static IP addresses also require the following configurations:

      • Netmask 

      • Gateway

      • Primary DNS

      • Secondary DNS

      • Domain

    • Dynamic IP address

Hostname

Select option 4 on the main screen to view and change the hostname as follows:CCConf_hostname.png

Do not enter a special character or space in the hostname. 

Activate CloudCache

Select option 5 from the main screen of Cloudcache_Conf to activate CloudCache. 

Select option 1, and you will see the prompt to enter the activation token as follows:

Paste in the activation token, which you copied in Step 2: Generate the activation token.

After you paste the activation token, you will see the confirmation message:

> Successfully activated cloudcache.