V201 on Hyper-V can also be installed via PowerShell script.
Requirements
- PowerShell version 5.0 or higher run as Administrator
- Hyper-V module installed
- Morro V201 virtual hard drive image
Installation Instructions
To create a new Hyper-V VM:
- Create a new folder and copy the installation script to this folder.
- Unzip the VM hard drive .zip file provided by Morro and copy the .vhdx file to the folder.
- Run the installation script with:
./InstallV201.ps1 install
Please see the Install Options section for more create time options. - Confirm script actions as required.
Install Options
The following options are available when creating a new CacheDrive VM using the PowerShell script:
- -vmName - The name of the VM, default is "Morro CacheDrive (Trial)"
- -vmMemSize - The amount of RAM reserved for the VM in GB, default is 1 GB.
- -vmDiskSize - The disk size (thin allocated), default is 64 GB.
For example, to create a VM named MyCacheDrive with 2 GB of memory a 1 TB of disk space, use the following command:
./InstallV201.ps1 install -vmName MyCacheDrive -vmMemSize 2 -vmDiskSize 1024
Other Commands
The script can also be used for VM management. The following commands are also available. Be sure to specify the name of the VM using the -vmName option if not using the default name.
- help - Show the help text.
- start - Start the VM if it is in a powered off state.
- stop - Stop the VM.
- terminate - Delete the VM and hard drive image.
- finish-install - After installation, the original boot disk will still be mounted. MCM may complain about a non-boot disk being attached. Used the finish-install command to remove this disk.
Notes
- The VM disk image will be stored in C:\MorroCacheDrive.
- Only single-disk installs are currently supported.
- If you use a disk image that has already been used in a previous VM install, you may get a "No OS" error when the VM attempts to boot.