Download, install, and activate CloudCache R2 on Linux



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
- Login to the Management Console.
- Click Manage > CloudCache. Note that if the All Organizations menu is enabled, you have to first select an organization and then click Manage > CloudCache.
- Click Add CloudCache.
- You will see a dropdown with two values – CloudCache R1
and CloudCache R2
. Select R2 if you are setting up CloudCache for Nutanix AHV. For Files, NAS, Hyper-V, VMWare, Oracle, and MS SQL, select R1.
-
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
- 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.
-
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. |
- You can copy the generated token in the Generate Token window by clicking the Copy Token icon. Click Done.
- Click the drop-down under the Activation Token field to use a pre-existing activation token.
- 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
Deploy OVA for CloudCache using the vSphere Web Client
- Log on to vCenter Server using vSphere Client.
- From the File menu, click Deploy OVF Template.
- 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.
- In the Name box, type a name for the template.
- Select a host or a cluster on which you want to deploy Linux CloudCache and click Next.
- From the list of resource pools, click the resource pool that you want to assign to this virtual machine, and click Next.
- Review the details and click Next.
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. - Click I Accept all license agreements to accept the End User License Agreement (EULA), and click Next.
- 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.
- 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.
Note: You can change the disk type to Thin Provision to save storage space.
- Select the source and destination network.
Note: Linux CloudCache uses the default network mapping settings of the vCenter Server.
- Click Next.
- Verify the summary, and click Finish.
- 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
-
Log on to vCenter Server using vSphere Client.
-
From the File menu, click Deploy OVF Template.
-
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.
-
Verify the OVF template details, and click Next.
-
Click Accept to accept the End User License Agreement (EULA), and click Next.
-
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.
-
Select a host or a cluster on which you want to deploy Linux CloudCache, and click Next.
-
From the list of resource pools, click the resource pool that you want to assign to this virtual machine, and click Next.
-
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.
-
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.
-
On the Properties screen, select the source and destination network and click Next.
-
Click Next.
-
To start the virtual machine after deployment, select Power on after deployment.
-
Verify the summary, and click Finish.
-
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:
-
Log in to Prism Element
-
Expand the main navigation menu and select Settings.
-
Select Image Configuration.
-
Click the Upload Image button, specify the required settings for the OS disk and click Save.
-
Repeat the above steps for the data disk.
Once the image is uploaded, proceed to create the virtual machine.
Procedure
-
Select Create VM option from Prism Element.
-
Enter a name for the VM. This name differs from the hostname and is only for management purposes from Prism Element.
-
Enter the CPUs and RAM as per System Requirements.
-
Under the Disks section, select Add New Disk.
-
Select the Type as Disk, Operation as Clone from Image Service, and then select the OS image.
-
Add another disk for storing data. From the Image, select the Disk image.
-
Click Save
-
Click Add NIC. Verify the Subnet name and click Add.
-
Finally, click Save.
-
For the next step, proceed to Step 4: Configure and activate CloudCache.
Option 3: Install .deb package for 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:
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.
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:
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:
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.