Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Interworks Cloud interworks.cloud Platform - Hyper-V Service Manager


Table of Contents

 

Document revision history5
About this guide 6
Introduction6
Document conventions6
Support and feedback7
CHAPTER 1 8
Overview of Cloud OSS Microsoft Hyper-V Service Manager 8
Introduction8Overview of Microsoft Hyper-V 2012 R28
Overview of Cloud OSS9
CHAPTER 2 10
Preparing for the installation 10
Introduction10
Deploying VMware vSphere Infrastructure10
Preparing the network11
Preparing the VM templates (Guest OS Master Images)11
CHAPTER 3 12
Installing Cloud OSS VMware vSphere Service Manager 12
Introduction12
Installing Cloud OSS VMware vSphere Service Managers12
CHAPTER 4 14
Configuring Cloud OSS Microsoft Hyper-V Service Manager 14
Introduction14
Configuring Microsoft Hyper-V

Anchor
_GoBack
_GoBack
module15
Configuring Network Settings17
Creating Virtual Server18
Creating Hosting Plan19
APPENDIX A 20
APPENDIX B 38
This page is intentionally left blank

Document revision history

...


This guide provides instructions for installing and configuring Interworks Cloud interworks.cloud OSS Microsoft Hyper-V Service Manager 2.x. The following versions of Microsoft Hyper-V are currently supported in this release:

...

Note:

This guide is updated as new information becomes available. Before you begin, be sure to check the OSS documentation section at the Interworks Cloud interworks.cloud Platform support site, http://www.interworkscloud.com/downloads , to make sure you have the latest version of the guide. The publication date on the title page indicates the version; changes, if any, are recorded in the document revision history chapter of this guide.

...


This chapter provides an overview of Interworks Cloud interworks.cloud OSS platform and the Microsoft Hyper-V Service Manager.

...


Microsoft Hyper-V is the industry-leading virtualization platform for building cloud infrastructures. Realize cost savings and operational efficiencies by using the platform you know—with Hyper-V built into Windows Server. Take advantage of a unified set of integrated management tools for your physical, virtual, and cloud environments with a single console view. It enables IT to meet SLAs (service-level agreements) for the most demanding business critical applications, at the lowest TCO (total cost of ownership).
Microsoft Hyper-V Hypervisor Architecture provides a robust, production-proven, high-performance virtualization layer. It enables multiple virtual machines to share hardware resources with performance that can match (and in some cases exceed) native throughput.
VMware vSphere Virtual Symmetric Multiprocessing enables the use of ultra-powerful virtual machines that possess up to 64 virtual CPUs.
VMware vSphere Virtual Machine File System (VMFS) allows virtual machines to access shared storage devices (Fiber Channel, iSCSI, etc.) and is a key enabling technology for other vSphere components such as VMware vSphere Storage vMotion®.
VMware vSphere Storage APIs provide integration with supported third-party data protection, multi-pathing and disk array solutions.

Overview of Cloud OSS


The Interworks Cloud interworks.cloud OSS platform is a centralized software application that simplifies the day-to-day burden of activating, configuring and managing a service provider's unified communications and collaboration infrastructure. interworks. Interworks Cloud cloud OSS enables service providers to centrally create, control, and deliver hosted IP and application services. It addresses critical operational challenges for provisioning, monitoring, metering, self-management, authentication and further integration into other applications in the service provider's OSS/BSS systems.
Interworks Cloud interworks.cloud OSS has the following components:

...

To integrate VMware vSphere into the Cloud OSS platform you will need to install the Cloud OSS Service Managers components on one or more mediation servers You can install Interworks Cloud .cloud OSS Service Manager on more than one servers and make use of hardware or software load balancing to distribute load and maintain high availability. This server may also be referred as Mediation Server. in your environment. Installation of the components is performed by the Interworks Cloud .cloud Platform Installer. For more information about installing the Interworks Cloud interworks.cloud Platform Installer and the Service Managers please consult the Interworks Cloud .cloud OSS Installation Guide.
The mediation server should have the following minimum system specifications:
Mediation Server System Requirements

Server Role

Network Zone

Processors

Memory

Storage

Notes

Mediation Server

Back Net

2 CPU Cores 2GHz

4GB

60GB

Windows 2008 R2 Std.


Login to every mediation server and install the Cloud OSS Service Managers components as described in the Cloud OSS Installation Guide. Keep in mind the following network port requirements, in order to maintain successful communication between the various Cloud OSS components and the vSphere infrastructure.
Network Access Rules

Source

Destination

Protocol

Src. Port

Dest. Port

Notes

Mediation Server

vCenter Server

TCP

Any

80,443,902,903 8080,8443,9090 9443

 

Mediation Server

vCenter Server

UDP

Any

902

 

OSS Orchestrator Server

Mediation Server

TCP

Any

9003

 


After installation has completed successfully, you will need to manually edit the configuration file templatesConfiguration.xml (you can use notepad or any other common text editor). This file is located at the root of the installation directory of the Cloud OSS Service Manager and contains the VM templates that the Service Manager will use to provision VMs. In this configuration file you define the names of the VM templates and the customization specification files you created earlier in vCenter Server (See previous section Preparing the VM templates). Fig. 3.1 shows an example of the contents of the configuration file.
Image Removed

Image Added

Fig. 3.1
According to the example above, the administrator has configured one VM template named Windows Server 2008 R2 Standard and one VM template named CentOS 6.4 (64-Bit). There are also two customization specification files. One is configured for Windows based guest OS and is named OSS Windows Customization, and the other is configured for Linux based guest OS and is named OSS Linux Customization.
Appendix A of this guide contains step by step instructions on how to create both VM templates and customization specification files in vCenter Server to support VM provisioning in Cloud OSS.

...

This section provides information about configuring the Cloud OSS VMware vSphere Service Manager. It is assumed that you have installed the Cloud OSS Service Managers components on all servers that require it, as described in the previous sections and you have verified connectivity to the Service Managers web sites. Before configuring each component, it is necessary to add each server to the Cloud OSS servers' collection. This is done by signing in to the Cloud OSS Provisioning Portal, navigating to ConfigurationServers (Fig. 4.1) and clicking on Add Server (Fig. 4.2) button.
Image RemovedImage Removed Image AddedImage Added Fig. 4.1 Fig. 4.2
You have to enter a server name (you may choose any name that is meaningful and/or descriptive of the server role) as well as the URL and server password that correspond to each Service Manager installation. For more information about administering and configuring Cloud OSS platform you may consult the Cloud OSS Administrator Guide.

...

  • Under the Services section click Add next to HyperV 2012 (Fig. 4.3)
  • Optionally, change the Service Name label if required
  • Select HyperV 2012 as Service Provider
  • Image Removed Image Added Click on the Add Service button

...

Hyper-V Custom Service has been provisioned successfully
Image Removed Image Added
Fig. 4.4

Configuring Network Settings

...

Sign in to Cloud OSS Provisioning Portal and navigate to ConfigurationVirtual LANs. Click on Add Virtual LAN button and enter a meaningful name in the Description field; then enter the range of available VLANs and finally click on the Add button to save your VLAN selection (Fig. 4.5).
Image Removed
Image Added



Fig. 4.5

You can repeat this process if you wish to insert additional VLAN ranges.

IP Address Pool configuration
Sign in to Cloud OSS Provisioning Portal and navigate to ConfigurationIP Addresses. Click on the Add IP Address button and enter the following information (Fig. 4.6):

  • Select VM External Network in the Pool: drop down list
  • Select the server previously configured in the Server: drop down list (See section Configuring Microsoft Hyper-V module)
  • Enter an appropriate IP address range
  • Optionally, set the NAT Address that will apply to the selected IP Address range
  • Enter the Subnet mask and the Default Gateway
  • Select the appropriate Vlan from the drop down list



Image RemovedImage Added

Fig. 4.6


You can repeat this process if you wish to insert additional IP Address ranges.

...


Click on Add Services button and select Microsoft Hyper-V service on the server previously configured.
Click on the Update button.

Creating Hosting Plan


Image Removed Image Added Sign in to Cloud OSS Provisioning Portal and navigate to Account HomeHosting PlansCreate Hosting Plan. Enter a meaningful plan name and an optional description and select as target server the Virtual Server you created earlier from the drop-down list. Under the Quotas section select the HyperV 2012 service. Adjust the quotas and values of the service to meet your plan needs and click on the Save button to save the new Hosting Plan (Fig. 4.7).
Fig. 4.7
You are now ready to create a new customer and assign a new Hosting Space to the customer based on the Hosting Plan you just created.

APPENDIX A

...

  • Open Hyper-V Manager in one of your Hyper-V cluster nodes or the System Center Virtual Machine Manager (SCVMM) management console and click on "Create Virtual Machine"
  • Create the Virtual Machine with a "Legacy Network Adapter" (see Figure 1.1 and Figure 1.2) and click "Next" after attaching the CentOS or Oracle installation ISO to the DVD drive

Image RemovedImage RemovedImage AddedImage Added
Figure 1.1 – Removing Network Adapter Figure 2.2 – Adding Legacy Network Adapter

  • Start the Virtual Machine and connect to the console

...

  • Choose to "Install or upgrade an existing system"

Image RemovedImage Added
Figure 3.3 – CentOS initial installation screen

  • Choose whether to test or not the install media and click "Next" in the screen that follows.

Image RemovedImage Added
Figure 4.4 – Install media test dialogue box

  • Choose your preferred Language and Keyboard layout

Image Removed Image RemovedImage Added Image Added
Figure 5.5 – Preferred language Figure 6.6 – Preferred keyboard layout

  • Choose "Basic Storage Devices" and click on the "Yes, discard any data" button at the pop-up window.

Image Removed Image RemovedImage Added Image Added
Figure 7.7 – Installation devices Figure 8.8 – Storage Device Warning

  • Enter the FQDN (Fully Qualified Domain Name) you want to use for this Virtual Machine

Image RemovedImage Added
Figure 9.9 – Virtual Machine Template FQDN

  • Click on the "Configure Network" button and Edit the "System eth0" network interface. Configure the IPv4 settings so that you can access the template at a later time.

Image Removed Image RemovedImage Added Image Added
Figure 10.9 – Network configuration Figure 11.10 – System etho network settings

  • Select the appropriate time zone and click "Next". In the next screen set a "Root" password.

Image Removed Image RemovedImage Added Image Added
Figure 12.11 – Time settings Figure 13.12 – Setting root password

  • In the next screen check "Use All Space" and click "Next". In the pop-up window click on "Write changes to disk".

Image Removed Image RemovedImage Added Image Added
Figure 14.13 – Partitioning Figure 15.14 – Write changes to disk

  • Choose installation type (Since this is going to be a server template, we choose the "Basic Server" option). Now the installation process will begin after we click "Next".

Image Removed Image RemovedImage Added Image Added
Figure 16.15 – Installation type Figure 17.16 – Starting installation process

  • When the installation process is over click on "Reboot".

Image RemovedImage Added
Figure 18.17 Rebooting upon successful installation
Preparing the Virtual Machine for Template
After the Reboot process is completed successfully, shutdown the Virtual Machine by logging in as root with the password you chose during the installation and running the following command:

...

After the Virtual Machine is turned off, remove the "Legacy Network Adapter" and click "OK" after adding a "Standard Network Adapter".
Image Removed Image Added
Figure 19.18 Removing Legacy and adding a Standard Network Adapter

  • Turn the Virtual Machine on and login as root. By default CentOS and Oracle Linux do not enable the network adapter on startup. If you run the command "ifconfig" you will only find the loopback adapter listed.

Image RemovedImage Added
Figure 20.19 Running ifconfig

  • Also by default the first adapter will be eth0. However, if we attempt to enable it by using the "ifconfig eth0 up" command we will receive the "no such device" error message as shown in the figure below:


Image RemovedImage Added
Figure 21.20 Attempting to bring etho interface up
This is because eth0 is assigned to the legacy adapter we just removed. In order to fix this we need to clear the existing adapter rules, and update the configuration file for eth0.

...

We should receive a screen similar to the one below:
Image Removed Image Added
Figure 22.21 Updating config file for etho

  • From the config file remove the line that starts with HWADDR and set the value for BOOTPROTO=static. Hit Ctrl-X + Y + Enter to exit and save your changes

...

  • After rebooting run the "ifconfig" command to verify network is set to eth0 and an IP address is configured.

Image RemovedImage Added
Figure 23.22 Verifying eth0 proper state and configuration
You may also try to ping a public website in order to confirm Internet connectivity.
We can now continue with the required installation/configuration of the Virtual Machine in order to prepare it for template.

...

  • After the file copy is over refresh the "Library Share" folder so it can show it up on the SCVMM Console.

Image RemovedImage Added
Figure 24.23 Refreshing the Library Share folder

Now you should be able to see the Virtual Hard Disk

...

  • You can now start the Template wizard by right clicking on the .vhdx file and clicking on "Create VM Template".

Image RemovedImage Added
Figure 25.24 Refreshing the Library Share folder

  • In the "Identity" tab choose "VM Template name" and select "Generation 1" for Generation.

Image RemovedImage Added
Figure 26.25 VM Template name and Generation

  • In the "Configure Hardware" tab select "Hyper-V" in "Cloud Capability Profiles". In "General" section choose minimum specs for the base image (you may specify 1CPU/1GB RAM and 10GB HD).

Image Removed Image RemovedImage Added Image Added
Figure 27.26 – Configuring Compatibility Figure 28.27 – Configuring Resources

  • In "Network Adapters" select "Connected to a VM network". In the "Advanced" section check "Make this virtual machine highly available" with your preferred priority.

Image Removed Image RemovedImage Added Image Added
Figure 29.28 – Configuring Network Adapters Figure 30.29 – Configuring High Availability

  • In the "Configure Operating System Settings" tab if the Operating System select the [Create new Linux operating system customization settings] on "Guest OS profile" and select "CentOS Linux 6 (64 bit)" in the dropdown menu (for Oracle Linux select "Oracle Linux 6 (64 bit)").

Image RemovedImage Added
Figure 31.30 – Specify Operating system

  • At the "Application Configuration" and "SQL Server Configuration" click "Next".

...

  • Open System Center Virtual Machine Manager (SCVMM) console and click on "Create Virtual Machine". Check "Create the new Virtual Machine with a blank Virtual hard Disk" and click "Next".


Image RemovedImage Added
Figure 2.1 – Selecting Source

  • In the "Identity" section specify "Virtual machine name" and "Description". Leave the default "Generation 1" and click "Next".


Image RemovedImage Added
Figure 2.2 – Identity

  • In the "Configure Hardware" section choose minimum specs for the base image (you may specify 1CPU/1GB RAM and 20GB HD). In the Virtual DVD Drive press "Existing ISO Image" and browse for the windows installation media. You will have to insert the installation ISO into your Library to be able to browse for it. In "Network Adapters" choose your VM Network or Virtual Switch. In the "Advanced" tab in the availability option choose "Make this virtual machine High Available" given that you are using a Host Cluster. Leave all other option to default and click "Next".



Image RemovedImage Added
Figure 2.3 – Configure Hardware
In the "Select Destination" section check the "Place the virtual machine on a host" and click "Next" after selecting your Host Cluster in the "Destination" drop down menu.
Image Removed Image Added
Figure 2.4 – Select Destination

  • In the "Select Host" section choose a server or leave the default server and click next.


Image RemovedImage Added
Figure 2.5 – Select Host

  • In the "Configuration Settings" section specify the virtual machine path. This is the storage path where the Virtual Machine will be created in. In case of a Host Cluster you should be using one of the high available cluster shared volumes you have. Leave all other settings to default and click "Next".



Image RemovedImage Added
Figure 2.6 – Configuration Settings

  • In the "Select Networks" section leave the default settings and click "Next". Networking has been configured in the "Configure Hardware" section. You may also configure this after the Virtual Machine is created.



Image RemovedImage Added
Figure 2.7 – Select Networks

  • In the "Add Properties" section leave the default settings and click "Next" after specifying the appropriate operating system.



Image RemovedImage Added
Figure 2.8 – Add Properties

  • In the "Summary" section click "Create". After the create process is complete power on the Virtual Machine to start the Windows Installation.

...

  • During the installation specify required settings and click next for the process to start.



Image RemovedImage Added
Figure 2.9 – Windows Server Installation Process

  • Following successful operating system installation, install "Virtual Guest Services" by connecting to the VM via Hyper-V Console and navigating to "Action" in toolbar and selecting "Insert Integration Services Setup Disk".



Image RemovedImage Added
Figure 2.10 – Installing Virtual Guest Services

  • After inserting the virtual image go to My Computer / DVD Drive "Integration Services Setup" and double click on it. A window will appear with a message about the upgrade procedure. Click "OK" to upgrade and reboot after the installation process is completed.


Image RemovedImage Added
Figure 2.11 – Installing Virtual Guest Services

  • Following the installation of integration services components continue setting up virtual machine based on your requirements. Install windows updates, enable remote desktop, configure windows firewall etc.
  • Install the "Cloudworks WebsitePanel Plugin". Download this from the following link: https://downloads.interworkscloud.net/downloads/cloudoss/CloudWorks-Windows-WebSitePanelConfig.rar Unzip the contents of the file in c:\program files.
  • Download and install .Net Framework 4
  • Open command prompt with the "Run as administrator" option
  • Navigate to the folder that you have unzipped the "Cloudworks WebsitePanel Plugin" and run the "install.bat" file.
  • After the installation is complete go to "Windows Services", search for "Website Panel Virtual Machine Configuration Service" and "start" the Service after changing startup type to "Automatic".

...

  • In the SCVMM Console navigate to your base Virtual Machine. Right click and select "Create" -> "Clone".
  • Specify a name for this clone VM and click "Next"
  • In the "Configure Hardware" section click on the "Advanced" Tab and check the "Make this Virtual Machine High Available" option. Click "Next".
  • In the "Select destination check "Place the virtual machine on a Host" and choose your host cluster or standalone server. Click Next
  • Leave all other options to default and click "Create".
  • After the creation is over you will have a Clone of the base Virtual Machine you have configured. We need this because after creating a template the Virtual Machine is destroyed. We need to have a base virtual machine always available in order to apply changes, clone it and create new templates.
  • Right click on the new clone we have created, create VM Template and click yes at the warning
  • Insert the VM template name and click next
  • Go to the "Configure Operating System" options and choose the correct operating system in general settings. Enter the product key of the Operating System, Time zone and click next.
  • In the "Select Library Server" option choose your library server and click next
  • Select the path in the library server to store the template and click next
  • Click Create and wait for the operation to finish.

 





Interworks interworks.cloud S.A.Interworks Cloud interworks.cloud OSS Microsoft Hyper-V Service ManagerInstallation Guide