HP Cloud Service Automation Software Version: Content Pack 14.08 Microsoft System Center Virtual Machine Manager Document Release Date: September 2014 Software Release Date: September 2014
Microsoft System Center Virtual Machine Manager HP Cloud Service Automation (Content Pack 14.08) Page 2 of 21
Legal Notices Warranty The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein. The information contained herein is subject to change without notice. Restricted Rights Legend Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license. Copyright Notice Copyright 2013-2014 Hewlett-Packard Development Company, L.P. Trademark Notices Adobe is a trademark of Adobe Systems Incorporated. Microsoft and Windows are U.S. registered trademarks of Microsoft Corporation. Red Hat is a registered trademark of Red Hat, Inc. in the United States and other countries. UNIX is a registered trademark of The Open Group. Documentation Updates The title page of this document contains the following identifying information: Software Version number, which indicates the software version. Document Release Date, which changes each time the document, is updated. Software Release Date, which indicates the release date of this version of the software. To check for recent updates or to verify that you are using the most recent edition of a document, go to: www.hp.com/go/livenetwork. This site requires that you register for an HP Passport and sign in. To register for an HP Passport ID, go to: http://h20229.www2.hp.com/passport-registration.html Or click the New users - please register link on the HP Passport login page. Support Visit the HP Software Support Online web site at: http://www.hp.com/go/hpsoftwaresupport This web site provides contact information and details about the products, services, and support that HP Software offers. HP Software online support provides customer self-solve capabilities. It provides a fast and efficient way to access interactive technical support tools needed to manage your business. As a valued support customer, you can benefit by using the support web site to: Search for knowledge documents of interest Submit and track support cases and enhancement requests Download software patches Manage support contracts Look up HP support contacts Review information about available services Enter into discussions with other software customers Research and register for software training Most of the support areas require that you register as an HP Passport user and sign in. Many also require a support contract. To register for an HP Passport ID, go to: http://h20229.www2.hp.com/passport-registration.html To find more information about access levels, go to: http://h20230.www2.hp.com/new_access_levels.jsp HP Software Solutions Now accesses the HPSW Solution and Integration Portal Web site. This site enables you to explore HP Product Solutions to meet your business needs, includes a full list of Integrations between HP Products, as well as a listing of ITIL Processes. The URL for this Web site is http://h20230.www2.hp.com/sc/solutions/index.jsp
Contents Introduction 5 System requirements 6 Software components 6 Configuration requirements 8 Installing the content pack 8 Configuring offerings in HP CSA 9 Adding providers 9 Associating resource offerings with providers 10 Creating credentials and system variables 11 Changing component properties 11 Creating the service offering 12 Publishing the service offering in the default catalog 13 Subscribing to the service 14 Cancel a subscription 15 Limitations 16 Appendix A: HP Operations Orchestration flows 17 SCVMM Provision Server 17 SCVMM Flex CPU 17 SCVMM Simple Compute Flex Memory 18 Additional resources 19 Send Documentation Feedback 20
Introduction This integration is part of HP CSAContent Pack 14.08 and demonstrates how to deploy virtual machines using Microsoft System Center Virtual Machine Manager (SCVMM). It also demonstrates how SCVMM is used to flex resources such as the number of processors or memory. This implementation supports many versions of SCVMM: 2008, 2012 and 2012 SP1. This content pack includes the step-by-step instructions, templates, and scripts necessary for the IT specialist to deliver a service that can be consumed by end-users.
System requirements This implementation requires a fully configured and functioning environment as described in the following section. Each component must be verified to work individually and as a complete solution. Software components The following table shows the major components required to use this implementation. Component Supported Version Recommended Version 1 HP Cloud Service Automation 3.20, 4.01, 4.10 4.10 HP Operations Orchestration 9.x, 10.02, 10.10 9.07.0008 or later with CP 14 OO-SAS-9_00-09-ContentInstaller or 10.02 or 10.10 with the following HP Operations Orchestration 10 Standard content packs: oo10-base-cp-1.1.2 oo10-cloud-cp-1.1.0 oo10-hp-solutions-cp-1.1.2 oo10-virtualization-cp-1.1.0 oo10-sa-cp-1.1.0 oo10-sm-cp-1.0.1 oo10-csa-cp-4.10.000 or oo10-csa-cp-4.00.000 Note: You should get the latest content pack from HP Live Network (HPLN). Microsoft System Virtual Machine Manager 2008, 2012, 2012 SP1 2012 SP1 Microsoft Stand-alone Hyper-V Server 2008 R2, 2012 2008 R2, 2012 PowerShell 2.1 or later 2.1 or later
1. The Recommended Version indicates the specific software version used for solution testing by HP CSL. See "Additional resources" on page 19 for links to documentation for each of these products.
Configuration requirements The following configuration must be completed and tested before you set up this implementation. See "Additional resources" on page 19 for links to documentation and downloads. The HP CSA Cloud Service Management Console and Marketplace Portal must be configured. The HP CSA and HP Operations Orchestration servers should be in the same Windows domain as the SCVMM host. A DNS server must be running for HP CSA to display the IP address of the deployed VM. SCVMM 2008 R2/2012 SP1 must be installed and should be fully configured to manage Microsoft Hyper-V Server on Windows 2008 R2/2012. Its recommended that the template you use has an OS profile attached; otherwise, provisioning fails when we are trying to customize some properties of the virtual machine. Before using the SCVMM flows, make sure you have enabled PowerShell remoting using the Enable-PSRemoting cmdlet. You can find more information at http://msdn.microsoft.com/enus/library/windows/desktop/ee706585%28v=vs.85%29.asp. For supported configurations for the two SCVMM versions, refer to the Microsoft web site: http://technet.microsoft.com/en-us/library/cc956095.aspx http://technet.microsoft.com/en-us/library/cc956020.aspx Note: If a previous version of Content Pack 2 has been installed, then you will need to perform configuration steps for this integration again from the beginning. Installing the content pack Download the latest content pack installation documentation and ZIP file from HP Live Network at https://hpln.hp.com/node/145/contentfiles. Continue with the configuration steps in this document after the installation is complete.
Configuring offerings in HP CSA If necessary, resource categories that are referenced in a service design will be automatically created when the service design archive is imported. Adding providers This implementation requires the following resource providers: Provider name Microsoft SCVMM Service access point Fully qualified domain name and port number for SCVMM For example: https://<scvmm 2008 host >:8080 https://<scvmm 2012 host >:8100 Note: In some SCVMM environments, an IP address will not work but a fully-qualified domain name will work. On a 2012 SP1 setup, if the fully-qualified domain name doesn't work, try just the name of the host. These providers must be created in HP CSA. The table above provides typical service access points; you may need to change them to reflect your environment. For HP CSA 3.x, complete the following steps for each provider in the table above: 1. Log on to the Cloud Service Management Console as an administrator. 2. Click Resources. 3. Select a provider type in the panel on the left. 4. Click Create New Provider in the toolbar on the Providers tab in the central panel. 5. Complete the steps to create a new provider. For HP CSA 4.x, complete the following steps for each provider in the table above: 1. Log on to the Cloud Service Management Console as an administrator. 2. Click Providers. 3. Select a provider type in the panel on the left.
4. Click Create. 5. Complete the steps to create a new provider. You should see the new resource providers on the Providers tab. Associating resource offerings with providers New resource offerings that were imported with the design archive must be associated with providers. You must associate the resource offerings and providers listed in the following table: Resource offering RESOURCE_OFFERING_CSL_RO_SCVMM_Compute_Linux_Windows_3.20_CP4.0_ 8a81873e41bd1a150142eb58ed9c012a.xml RESOURCE_OFFERING_CSL_RO_SCVMM_Flex_Server_Resource_3.20_CP4.0_ 8a81873e41bd1a150142eb5857490006 Provider Microsoft SCVMM Microsoft SCVMM For HP CSA 3.x, complete the following steps for each resource offering listed in the table above: 1. Log on to the Cloud Service Management Console as an administrator. 2. Click Resource. 3. Click the provider by type on the left of the panel. 4. Click on the provider. 5. Click to associate an additional offering with this provider. 6. Add resource offerings as shown in the table above. 7. Click Close. For HP CSA 4.x, complete the following steps for each resource offering listed in the table above: 1. Log on to the Cloud Service Management Console as an administrator. 2. Click Providers. 3. Select the provider that you want to associate with the offering. 4. Select the Offerings tab for the provider.
5. Click Select. 6. Add resource offerings as shown in the table above. Creating credentials and system variables After you import the flows, you must create system variables and credentials for the subscription to function correctly. Define the following system property under configuration in HP Operations Orchestration if it does not already exist. Name Description SCVMM_GET_IP_WAIT Time in seconds to wait for collecting the IP address of the deployed VM. By default this value is 0. Changing component properties You must change the following properties. Property name TEMPLATEREFERENCE DEPLOYPATH Description Name of the Linux and windows template in your SCVMM setup. This same template text will also be linked to the subscriber option. The path on the SCVMM machine where the virtual machines will be stored. For HP CSA 3.x, complete the following steps for each property listed above: 1. Log on to the Cloud Service Management Console as an administrator. 2. Click Designs. 3. Select the service design. 4. Select the Designer tab. 5. Select the service component. 6. Change values for the component properties as listed in the table above. For HP CSA 4.x, complete the following steps for each property listed above: 1. Log on to the Cloud Service Management Console as an administrator. 2. Click Designs > Sequenced > Designer.
3. Select the service design. 4. Select the Designer tab. 5. Select the component. 6. Change values for the component properties as listed in the table above. Click the Help icon if you need help editing component properties. Creating the service offering A service offering must be created in HP CSA before subscribers can request services based on this service design. If you are using HP CSA 3.x, complete the following steps: 1. Log on to the Cloud Service Management Console as an administrator. 2. Click Offerings. 3. Click Create Offering in the panel on the left. The Create New Service Offering dialog will open. 4. Enter a name for the new service offering. This is the name of the offering that will be visible to the subscribers of this service. 5. Select the appropriate blueprint. 6. Click Create. If you are using HP CSA 4.x, complete the following steps: 1. Log on to the Cloud Service Management Console as an administrator. 2. Click Offerings. 3. Click Create. The Create New Service Offering dialog will open. 4. Enter a name for the new service offering. This is the name of the offering that will be visible to the subscribers of this service. 5. Select the appropriate service design. 6. Click Create. After the offering is created, you can modify the pricing information, associate documents, or modify the subscriber options.
Publishing the service offering in the default catalog HP CSA is installed with a default global catalog. When you publish a service offering in this global catalog, that service offering will be visible in every organization s Marketplace Portal. For HP CSA 3.x, 4.0, or 4.01, complete the following steps: 1. Log on to the Cloud Service Management Console as an administrator. 2. Click Catalogs. 3. Select Global Shared Catalog in the panel on the left. 4. Select the Published Offerings. 5. Click Add Offering. 6. Select the service offering you created in the previous steps and then click Select. 7. Select the category under which this service offering should appear in the Marketplace Portal. 8. Click Add. For HP CSA 4.1, complete the following steps: 1. Log on to the Cloud Service Management Console as an administrator. 2. Click Catalogs. 3. Select Global Shared Catalog in the panel on the left. 4. Select the Offerings tab. 5. Click Add Offering. 6. Select the service offering you created in the previous steps and then click Select. 7. Select the category under which this service offering should appear in the Marketplace Portal. 8. Click Publish.
Subscribing to the service If you are using HP CSA 3.x, complete the following steps to order the service: 1. Log in to the Marketplace Portal at https://<csa server>:8444/csp. 2. Select the Catalog tab. 3. Click Browse Catalog. The offerings available in this catalog will be displayed. 4. Select a catalog in the panel on the left. 5. Click Select to the right of the service offering you want to order. 6. Enter a name for the subscription. 7. Enter options as required for the subscription. 8. Click Request Now. If you are using HP CSA 4.x, complete the following steps to order the service: 1. Log on to Cloud Service Management Console as an administrator. 2. Click Marketplace. 3. Log in to the marketplace portal with user credentials. 4. Select the Catalog tab. 5. Select a catalog in the panel on the left. The offerings available in this catalog will be displayed 6. Click Select to the right of the service offering you want to order. 7. Enter option values as requred. 8. Click Checkout. 9. Enter values such as the subscription name and end date. 10. Click Submit Request. Open the Subscriptions tab to monitor the status of your subscription. The following public actions are available once the subscription is online:
Level Action Description Server Group Add Server Add a new server to this server group Server Group Remove Server Remove a server from this server group Server Stop Server Stops the virtual machine Server Start Server Starts the virtual machine Server Suspend Server Suspends the virtual machine Server Refresh Server Refreshes the power start and IP address of the virtual machine Server Restart Server Restarts the virtual machine Server Flex CPU Flex in or flex out the CPU of the virtual machine Server Flex Memory Flex in or flex out the memory of the virtual machine Cancel a subscription To cancel a subscription, perform the following steps: 1. Select the Subscriptions tab. 2. Locate the subscription that you want to cancel. 3. Click View Details to display the details page for the subscription. 4. Click Cancel Subscription in the Summary box. 5. Click Yes to confirm that you want to cancel the subscription. The subscription is canceled and a confirmation message is displayed. 6. Click OK to close the confirmation message. The Subscriptions tab opens with all of your subscriptions displayed. 7. Confirm that the status for the subscription is canceled. When you cancel the subscription, the resource IDs that were assigned to the service (VLAN ID, IP details, and ACL rule numbers) are automatically released. Note: A request to cancel a subscription is approved automatically, so the request has the status of Approved on the Requests tab.
Limitations Separate providers must be created for different versions of SCVMM. A paused or suspended machine cannot be started. It needs to be restarted
Appendix A: HP Operations Orchestration flows The following sections describe the flows used in this integration, including its input and output parameters. SCVMM Provision Server Type Parameter name Description Input scvmmhost The host name or IP address of the SCVMM provider Input username The name of the user account to log in to the SCVMM provider Input password The password of the user account to log in to the SCVMM provider Input path The path to deploy the VM Input template The clone template name Input name The name of the VM Output Success/failure SCVMM Flex CPU Type Parameter name Description Input Scvmmhost The host name or IP address of the SCVMM provider Input username The name of the user account to log in to the SCVMM provider Input password The password of the user account to log in to the SCVMM provider Input cpucount The number of CPUs that the server should flex to Input name The name of the VM Input host The host name or IP address of the SCVMM server Input version The SCVMM server version Output success/failure
SCVMM Simple Compute Flex Memory Type Parameter name Description Input Scvmmhost The host name or IP address of the SCVMM provider Input username The name of the user account to log in to the SCVMM provider Input password The password of the user account to log in to the SCVMM provider Input memoryinmb The memory in MB that the server should be flexed to Input name The name of the VM Input host The host name or IP address of the SCVMM server Input version The SCVMM server version Output success/failure
Additional resources The HP Live Network Portal can be found at hpln.hp.com/solutions. HP software product manuals and documentation for the following products can be found at support.openview.hp.com/selfsolve/manuals. You will need an HP Passport to sign in and gain access. HP CSA HP Operations Orchestration
Send Documentation Feedback If you have comments about this document, you can contact the documentation team by email. If an email client is configured on this system, click the link above and an email window opens with the following information in the subject line: Feedback on Microsoft System Center Virtual Machine Manager (Cloud Service Automation Content Pack 14.08) Just add your feedback to the email and click send. If no email client is available, copy the information above to a new message in a web mail client, and send your feedback to cse.docs@hp.com. We appreciate your feedback!