This page provides details on how to create an image from a virtual machine. This is used to create multiple virtual machines to run simulation jobs on several machines at the same time.
Notes: A license server VM is used on Azure with a Floating MAC locked license. Lumerical product suite is installed and configured on the compute node VM.
Create and setup your license server
- Connect to your license server VM.
- Install FlexNet license manager and obtain the mac address of the VM from the FlexNet dashboard system information page
- Take note of the Hostname and private IP address of your license server.
This can be obtained from the Azure Portal or from the FlexNet dashboard system information page
- Install the license file.
- Check if FlexLM is running and showing the licenses available for checkout. Your license server is now ready.
Create and configure your compute node
- Create a VM as your compute node.
- Login to your compute node VM using Remote Desktop Connection.
- Install Lumerical product suite
- Configure the simulation tools to obtain the license from your license server using the IP Address or Hostname obtained from the license server setup, above.
- Ensure that you are able to open and launch the simulation tool you have license for.
- Install other application your want on your compute node.
i.e. Browser, Notepad++, Python, Gnome Terminal, X11 forwarding (Linux), passwordless login (Linux), etc.
- Logoff / disconnect from your compute node VM once everything is installed.
- Stop your compute node VM from the Azure portal.
Create a custom image from your compute node VM
Note: This process is optional but will allow you to spun several compute node VMs faster.
- Go to your Azure portal.
- Navigate to your Virtual Machines.
- Select your "compute node" VM. Ensure that it is "Stopped (de-allocated)" state.
- On the left column, click on "Create custom image"
- On the next screen, enter the required information to create your image.
- If you have a Windows VM, choose the option to run "sysprep" on your VM.
Confirm and complete the process.
It might take a few minutes to create the image.
Important! The VM that was used to create the image will now be Unusable.
Create a virtual machine using a custom image
- On your Azure portal.
- Navigate to All resources.
- Select the image you want to use from the list. (the one created from above)
- Select +Create VM from the menu.
- Ensure that you choose the settings/options based on your current resources.
i.e. Resource group, region, proximity group, network security group, etc.
- Click "Review +create" to deploy your VM.
- Once created, login to your compute node VM and verify if everything is working.