Creating Linux Templates for SCVMM 2012 SP1 Beta
BMC Server Automation 8.3 (without SP1) supports the beta version of SCVMM 2012 SP1. This topic provides instructions for installing Linux as the Guest OS and preparing Linux Templates for this SCVMM release.
Before You Begin Linux OS Installation
The main prerequisite is to add the Linux OS ISOs to the Library Server. Then download the Linux ISOs from the Library server to the Library Server share. Once done, go to the Library Server within the SCVMM Console and refresh it. You will now see the ISOs that you have added. These ISOs are required for installing the Linux Guest OS.
Creating a VM
To create a VM:
- Choose Create the new virtual machine with a blank virtual hard disk and click Next.
- Give a name and description for your Virtual Machine and click Next.
- You should be careful about CPU, memory and network adapter. It is very important to use 1 vCPU and emulated network adapter with your Linux VM template.
- From the Next screen, choose Place the virtual machine on a host.
- Select a host and storage volume, then click Next.
- Choose Virtual Network for VM and click Next.
- Set additional properties and click Next. Here, select the Guest OS as required.
- Click Create and finish this process and create the VM.
Installing Linux OS
To install the Guest OS, you need to edit the VM and attach the Linux ISO to the VM. To do this, follow these steps:
- Right-click the VM and click Properties.
- In the Hardware Configuration tab, select the Virtual DVD Drive.
- Select Existing image file as the capture mode and click Browse.
- Select the first Linux ISO from the Library Server which is the closest to the physical Hyper-V Host.
- Click OK and ensure the Share image file instead of copying it option is cleared.
Click OKon the Virtual Machine Properties dialog box and wait for the Reconfigure task to be completed. Once that is complete, you can start the Linux OS installation.
Installation Steps
To install Linux OS, follow these steps:
Start the VM to install the Linux OS.
- Click Enter to start Red Hat 5.3 installation.
- Skip CD checking and choose a language.
- Choose Keyboard and click Next.
- You will see a warning about initializing disk drive. Click Yes and continue.
- Continue with default settings until you reach the Software Components window.
- Ensure the Customize Now radio button is selected and click Next.
- Select the Development title in the window on the left and select the Development Libraries and Development Tools on the right and click Next.
- Click Next to start the installation.
- During the installation, you may be asked to give different ISOs for the installation. For this, follow the steps in Before You Begin Linux OS Installation.
- Once complete, select Reboot to restart the VM.
- When the VM reboots, there would be some post-install configurations to be done. Complete these and let the VM come up completely.
- Log on to the system as root.
Installation of Linux Integration Services and Mouse Driver
Linux Integration Services on RHEL 5
For installing Linux Integration Services on RHEL 5, one needs to download the ISO containing the tools manually from Microsoft.
The current version of these tools for RHEL 5 is v2.1. Download link: http://www.microsoft.com/en-us/download/details.aspx?id=24247
Once you have downloaded the ISO, follow the steps below:
- Upload the ISO to a Library Share which the VM can access.
- Refresh the library share and attach the ISO to the VM.
- Mount the CD-ROM to a folder within the VM (if not automatically mounted) using the following command:
# mount /dev/cdrom /media - Browse to the CD-ROM through the filesystem and copy its entire contents to a folder within /media/
- Run the following command:
./install.sh - Reboot by running the reboot command. This is a mandatory step.
- The CD-ROM can now be unmounted and detached from the VM.
- Browse to /opt/tools (or to wherever you copied the contents of the CD) and run the following commands:
make
make install - Reboot the VM.
- Ensure that there have been no errors in any of the commands above.
Linux Integration Services on RHEL 6
For installing Linux Integration Services on RHEL 6, one needs to download the ISO containing the tools manually from Microsoft.
The current version of these tools for RHEL 5 is v3.2. Download link: http://www.microsoft.com/en-us/download/details.aspx?id=28188
Mouse Driver
By default, the Linux Integration Services v2.1 do not have a mouse driver included with it. If one wants mouse support on RHEL 5, follow the steps below:
- Download the ISO from http://www.microsoft.com/en-us/download/details.aspx?id=28188.
- Upload the ISO to a Library Share which the VM can access, refresh the library share and attach the ISO to the VM.
- Mount the CD-ROM to a folder within the VM (if not automatically mounted).
- Browse to the CD-ROM through the filesystem and copy its entire contents to a folder within /opt. For example: /opt/mouse.
The CD-ROM can now be unmounted and detached from the VM.
- Browse to /opt/mouse (or to wherever you copied the contents of the CD).
- Run ./install.sh
- Reboot the VM.