Before You Begin
Please note the following before starting the install process:
- V202 virtual devices support single and two-disk (separate OS and data disks) configurations. Disks can be expanded after deployment.
- The shipped VHD file is unique (license key is included), so it cannot be used to deploy multiple virtual CacheDrives. For example, if you wish to deploy two virtual CacheDrives, two unique VHD files would be needed.
- We do not include an AzureVM agent, so some of the Azure Virtual Machine console functionality is not available.
- Some of Azure VM come with disk. For example E-Series device come with local scsi device. You can utilize the local scsi device as OS for faster operation. But please remember this disk will not be preserved if you deallocate VM.
Recommended VM Sizing
For 10 simultaneous users, we recommend using an F2s v3 instance with 2 vCPUs and 4 GB of memory and at least 256 GB of Standard SSD storage.
For a more in-depth guide on VM sizing, please see the section ‘Azure V202 Virtual Machine Sizing Guide’ below.
Extracting the Disk Image
- Download the zip file using the link provided by Morro Data.
- Right-click the downloaded file and select Extract All. Select a location to save the extracted folder.
- The extracted folder will contain the virtual disk image (.vhd). Expected file size is approximately 500 MB.
Preparing the Virtual Hard Drive
- This section will upload VHD file as Page Blob, and create Image from the blob.
- Go to the Azure Portal (portal.azure.com).
- Select a Storage Account (type Storage or StorageV2), then open Upload pane. You need to select . Then select "container". You need to select "Page blob" (or check "Upload .vhd files as page blocks".) Note: Storage Accounts of type BlobStorage do not support Page Blobs.
- Go to Home -> Images and click Create.
- Enter the desired name, resource group, etc. Set the OS type and VM Generation as below. Choose the Account Type and Host Caching that best suits your needs.
- Click Create.
Creating the Virtual Machine
- Go to Home -> Virtual Machines and click Create.
- Use the settings below as a guide.
A few things to note:- Select the previously created disk image by clicking “Browse all public and private images”, then selecting “My Items” and choosing the image from the list.
- Minimum Size is B1s, but it is highly recommended that a larger VM size is used for production. For reference, Morro Data hardware devices as of 2020 are dual core with 4GB of RAM.
- Morro Data does not use the Administrator account but the VM creation process requires a username and password.
- Public inbound ports can be set to None.
- Remote debugging over SSH by Morro Support requires outbound TCP port 22 to be open. (No need to open inbound connection.)
- Click Next : Disks.
- Click “Create and attach a new disk”.
- Morro Boot Disk: This is Azure's OS disk. Please keep OS disk size as "Image default".
- Morro OS Disk: This is depending on VM Size. Some of E-Series device come with fixed size Local SCSI disk. You can utilize that so no need to explicitly add. Otherwise add in "Data disks for..." section. (Note: B-Series comes with ephemeral storage, but we cannot use as Morro OS Disk.)
- Morro Data Disk. (Optional, but Recommended) Add in "Data disks for ..." section
- When create new disk, "Source type" to "None (empty disk)" and click Change size to choose the disk size. Minimum size is 64 GB. The disk can be expanded later.
The installer will automatically use the larger volume for data and the smaller volume for the OS. - Review: It is important to check disk configuration because we configure device depends on disks. Below is example for using B1s and E2bsd(v5). Size is only for test purpose and recommend to use larger size for production.
Example for B1s:
Example for E2bsd_v5:
- Click OK.
- Click Review + Create
- Review the settings. If they are correct, click Create.
- It may take up to 30 minutes for the deployment to complete. Note that you may see an error message stating that the provisioning failed (see #1 in Before You Begin).
- If the Boot Diagnostics page looks like this, then the deployment was completed successfully:
- If the device is not claimed within 8 hours, please reboot the VM to re-enable discovery.
Claiming the Device
If you’re creating a new account, follow the directions here and manually add the new device by UUID.
If you’re adding the device to an existing account, go to the Morro Cloud Manager, click Devices, then Add Gateway. Add your new VM using the UUID shown in the serial console or the disk image delivery email.
Azure V202 Virtual Machine Sizing Guide
Overview
The Morro Data CacheDrive in Cloud V202 is deployed as a virtual machine in Azure. Azure supports a variety of VM types and sizes to suit different performance and budget goals. This guide will help you determine the right VM specifications for your CacheDrive.
VM Requirements
The following are the minimum requirements for V202. They are suitable only for evaluation purposes and will not have adequate performance or capacity for production environments. With the minimum disk size of 32 GB, only 16 GB of disk space will be allocated to cache (the rest is reserved for the operating system, working space, etc.) and the maximum file size is 8 GB.
Minimum Requirements (evaluation only)
- Intel 64-bit CPU
- Must support Gen 2 Hypervisor (See https://docs.microsoft.com/en-us/azure/virtual-machines/windows/generation-2)
- 1 GiB of memory
- 32 GiB vDisk
Considerations for Best Practices
CacheDrives do not require a lot of computational power, but they thrive on high I/O (network and vDisk) throughputs. Azure allows you to change the VM type easily as your needs evolve.
Azure OS Disk
Please keep "Image default". This is not used as Morro's OS disk.
Azure Data Disk
You can add up to 2 disks.
Depending on VM size, it comes with local storage (SCSI or NVMe). Local storage gives better performance, but it will not be preserved after the VM is deallocated. If VM is stopped, but not deallocated, disk is preserved. But once it is deallocated, contents will become empty. So in case of infrastructure hardware failure, you need to deploy.
For most of application, it is easier to attach storage device explicitly.
vDisk Type and Size (Single Disk Installations)
Virtual Disk or vDisk performance is important. Azure allocates more throughput as vDisk size increases, so both capacity and performance must be considered when determining the correct vDisk size. We recommend starting with a vDisk size of at least 256 GiB. A larger cache will reduce the frequency of cache misses and provide higher overall system performance.
Our testing shows little difference in Standard SSD and Premium SSD performance in standard file system operations. Operations involving many small files are 25% faster with Premium SSD.
The following chart shows the amount of storage reserved for the operating system and working space for each vDisk size. The remaining vDisk space will be allocated to cache.
VDisk Size (GiB) | Reserved (GiB) | Notes |
< 32 | 16 GiB | |
32 to 128 | 16 to 48 | Linearly increasing |
128 to 512 | 48 to 96 | Linearly increasing |
512 to 2048 | 96 to 192 | Linearly increasing |
> 2048 | 192 |
vDisk Type and Size (Separate disk Morro OS Volume and Morro Data Volume)
Use the reserved column in the chart above to determine a reasonable disk size for a separate OS volume. We recommend using 64 GB or more of the fastest available storage to maximize database performance. The disk can be expanded to a larger capacity later.
The data volume is less sensitive to disk performance differences, so you may choose to use slower storage to reduce costs. We recommend a minimum size of 128 GB for the data disk, which can be expanded later.
vCPU Type and Quantity
This is the most important factor for performance. Although CacheDrives are not computationally intensive, we recommend a minimum of 2 vCPUs.
The following chart compares the performance of VMs with 2 vCPUs with different CPU types and memory configurations. Please note that the client PC (whether physical or virtual VDI) can also impact performance. To achieve good overall performance, each component (vCPU, vDisk, and vNet) of both the CacheDrive and client PCs must perform optimally.
Small and large file performance for B2s has been normalized to 1, so D2s, which shows 2x small files performance, will have twice the performance of B2s.
Type | vCPU | Memory | Small Files | Large Files |
B2s | 2 | 4 GiB | 1 | 1 |
D2s | 2 | 8GiB | 2x | 2x |
F2s | 2 | 4 GiB | 3x | 3x |
For 10 simultaneous users, we recommend using an F2s v3 instance with 2 vCPUs and 4 GB of memory and at least 256 GB of Standard SSD storage.
Information in this section may be obsolete. Please check latest information in Azure. If you need consultation with Morro, please contact with us via support portal. (http://support.morrodata.com).
Limitation & Remark
- Resize VM (for example, B1s to B1ms) may or may not work depending on configuration. Some of VM size come with fixed size disk, and which changes hardware configuration and it leads factory reset.
- OS Disk must be none ephemeral or you cannot stop and deallocate the vm.
- Local storage (NVMe or SCSI) are ephemeral, so you cannot deallocate device. In case of physical hardware failure, you need to re-deploy.