vCloud Director User's Guide vCloud Director 1.5 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition. To check for more recent editions of this document, see http://www.vmware.com/support/pubs.
vCloud Director User's Guide You can find the most up-to-date technical documentation on the VMware Web site at: http://www.vmware.com/support/ The VMware Web site also provides the latest product updates. If you have comments about this documentation, submit your feedback to: docfeedback@vmware.com Copyright © 2010, 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws.
Contents vCloud Director User's Guide 7 1 Getting Started with vCloud Director 9 Understanding VMware vCloud Director 9 Log In to the Web Console 10 Using vCloud Director 10 Set Mozilla Firefox Options 11 Set Microsoft Internet Explorer Options 12 Set User Preferences 13 Change Your Password 13 2 Managing Users and Groups 15 Managing Users 15 Working with Groups 18 3 Managing Cloud Resources 21 Managing Virtual Datacenters 21 Managing Organization Networks 22 Managing Expired Items 36 4 Working in an
vCloud Director User's Guide Working in Published Catalogs 49 6 Working with Media Files 51 Upload Media Files 51 Resume the Upload of a Media File 52 Copy Media Files to a Catalog 52 Move Media Files to Another Catalog 52 Delete Media Files 53 Modify Media File Properties 53 7 Working with vApp Templates 55 Open a vApp Template 55 Add a vApp Template to My Cloud 56 Download a vApp Template 56 Upload an OVF Package as a vApp Template 57 Resume the Upload of a vApp Template 57 Copy a vApp Template from
Contents Delete a vApp 82 9 Working with Virtual Machines 83 Open a Virtual Machine Console 84 Power On a Virtual Machine 84 Power Off a Virtual Machine 84 Reset a vApp or Virtual Machine 85 Suspend a Virtual Machine 85 Resume a Suspended Virtual Machine 85 Discard the Suspended State of a Virtual Machine 85 Insert a CD/DVD 86 Eject a CD/DVD 86 Insert a Floppy 86 Eject a Floppy 86 Upgrade the Virtual Hardware Version for a Virtual Machine 87 Connect Remotely to a Virtual Machine 87 Copy or Move a Virtua
vCloud Director User's Guide 6 VMware, Inc.
vCloud Director User's Guide The VMware vCloud Director User's Guide provides information about managing organizations, catalogs, vApps, and virtual machines. Intended Audience This book is intended for anyone who wants to set up and configure organizations in VMware vCloud Director. The information in this book is written for non-system administrators, including organization administrators who will create and set up vApps, catalogs, and virtual machines. VMware, Inc.
vCloud Director User's Guide 8 VMware, Inc.
Getting Started with vCloud Director 1 When you log in to the vCloud Director Web console, the Home tab provides access to your resources and links to common tasks. You can also set your user preferences and view the product help.
vCloud Director User's Guide Virtual Datacenters An organization virtual datacenter (vDC) provides resources to an organization. vDCs provide an environment where virtual systems can be stored, deployed, and operated. They also provide storage for virtual media, such as floppy disks and CD ROMs. An organization can have multiple vDCs. Organization Networks An organization network is contained within a vCloud Director organization and is available to all the vApps in the organization.
Chapter 1 Getting Started with vCloud Director The vApps in your organization are displayed for easy access. Catalog authors see links to these tasks. n Add Cloud Computer System n Build new vApp n Manage Catalogs n New Catalog vApp authors see links to these tasks. n Add Cloud Computer System n Build new vApp vApp users see links to these tasks. n Add Cloud Computer System The vApps in your organization are displayed for easy access.
vCloud Director User's Guide Procedure 1 Select an option. Operating System Action Windows Tools > Options Linux Edit > Preferences 2 Click the Advanced button. 3 On the Network tab, click the Settings button. 4 Enter the IP of the cell or load balancer in the No Proxy for: field. The specified Web addresses are bypassed by the Firefox proxy server. Set Microsoft Internet Explorer Options These options help you display and use the vCloud Director Web console in Microsoft Internet Explorer.
Chapter 1 Getting Started with vCloud Director n The browser's proxy server connection has no local exceptions. n The proxy is not configured to look in the internal network after not finding or connecting to the target on the external network. n The user looks for a target on the internal network using Internet Explorer. Procedure 1 Type the IP address of the cell or load balancer so that VMware Remote Console (VMRC) can bypass the proxy setting. 2 Select Tools > Internet Options.
vCloud Director User's Guide What to do next Log in using your new password. 14 VMware, Inc.
Managing Users and Groups 2 An organization administrator is the only one who can add users and groups to an organization. The organization administrator assigns each user or group a role within the organization. Your role controls what you can see and do in vCloud Director. An organization administrator can create local user accounts within an organization or import users and groups from an LDAP server. Contact your system administrator to set up an LDAP connection.
vCloud Director User's Guide Add a Local User Adding local users allows organization administrators to provide access to users who do not exist on an LDAP server. You can also add local users if you do not plan to use an LDAP server. Procedure 1 Click Administration. 2 In the left pane, select Members > Users. 3 Click the New User button. 4 Type the user name and password. 5 Select a role. To create a custom role, contact your system administrator. 6 (Optional) Type the contact information.
Chapter 2 Managing Users and Groups 4 Modify the necessary properties and click OK. Delete a User If a user leaves the company or moves to another organization, an organization administrator can delete a user from the organization. Procedure 1 Click Administration. 2 In the left pane, select Members > Users . 3 Select a user, right-click, and select Disable Account. 4 Reselect this user, right-click, and select Delete. 5 Click OK . The user is deleted from your organization.
vCloud Director User's Guide Disable or Enable User Accounts An organization administrator can disable a user account to log the user out of the Web console and prevent the user from logging in again. You can enable a user to allow them to log in. Procedure 1 Click Administration. 2 In the left pane, select Members > Users. 3 Select a user, right-click, and select Disable Account or Enable Account.
Chapter 2 Managing Users and Groups 5 Select a group and click Add. 6 Select a role for the group. All the users in the group will be assigned this role. 7 Click OK. The group is imported into your organization. Delete a Group An organization administrator can delete a group to remove it from the organization. Deleting a group from an organization affects users who are members of the organization based solely on their membership in the deleted group.
vCloud Director User's Guide 20 VMware, Inc.
Managing Cloud Resources 3 A vCloud Director system administrator creates and assigns virtual datacenters and networks to an organization. An organization administrator can view information about these resources and perform a limited set of management tasks. Contact your system administrator if you need more organization virtual datacenters or organization networks..
vCloud Director User's Guide 3 Select a vDC, right-click, and select Properties. 4 Review the properties and click OK. What to do next To modify your organizational vDCs, contact your system administrator. Monitor Your Virtual Datacenter You can monitor the vDC assigned to your organization and determine when to request additional capacity. You are an organization administrator. Procedure 1 Click Administration. 2 Select Cloud Resources > Virtual Datacenters. 3 Click the Monitor button.
Chapter 3 Managing Cloud Resources Table 3-1. Types of Organization Networks Organization Network Type Description Direct Accessible by multiple organizations. Virtual machines belonging to different organizations can connect to and see traffic on this network. This network provides direct layer 2 connectivity to machines outside of the organization. Machines outside of this organization can connect to machines within the organization directly. Routed Accessible only by this organization.
vCloud Director User's Guide 5 Type a range of IP addresses or use the default range. vCloud Director uses these addresses to satisfy DHCP requests. The range of DHCP IP addresses cannot overlap with the static IP pool for the organization network. 6 Set the default lease time and maximum lease time or use the default values. 7 Click OK. vCloud Director updates the network to provide DHCP services.
Chapter 3 Managing Cloud Resources Prerequisites A routed organization network. Procedure 1 Click Administration. 2 Select Cloud Resources > Networks. 3 Right-click the organization network name and select Configure Services. 4 Click the Firewall tab and click Add. 5 Type a name for the rule. 6 Select the traffic direction. 7 Type the source IP address and select the source port. For incoming traffic, the source is the external network.
vCloud Director User's Guide Enable IP Masquerading for an Organization Network An organization administrator can configure certain organization networks to provide IP masquerade services. Enable IP masquerading on an organization network to hide the internal IP addresses of virtual machines from the external network. When you enable IP masquerade, vCloud Director translates a virtual machine's private, internal IP address into a public IP address for outbound traffic.
Chapter 3 Managing Cloud Resources 6 d Select an internal port. e Select a protocol for the type of traffic to forward. f Click OK. Click OK. Add an IP Translation Rule to an Organization Network An organization administrator can configure certain organization networks to provide IP translation by adding a NAT mapping rule. When you add a new IP translation rule to an organization network, it appears at the bottom of the NAT mapping rule list.
vCloud Director User's Guide Procedure 1 Click Administration. 2 Select Cloud Resources > Networks. 3 Right-click the organization network name and select Configure Services. 4 Click the NAT Mapping tab. 5 Click and drag the rules to establish the order in which the rules are applied. 6 Click OK. Enable Site-to-Site VPN for an Organization Network An organization administrator can enable site-to-site VPN for an organization network and then create a secure tunnel to another network.
Chapter 3 Managing Cloud Resources Prerequisites n At least two routed organization networks with nonoverlapping IP subnets and site-to-site VPN enabled on both networks. n vShield Manager 5.0. Procedure 1 Click Administration. 2 Select Cloud Resources > Networks. 3 Right-click the organization network name and select Configure Services. 4 Click the Site-to-Site VPN tab and click Add. 5 Type a name and optional description.
vCloud Director User's Guide 7 Click Connect to another organization, type the login information for the peer organization, and click Continue. Option Description vCloud URL Base URL of the vCloud instance that contains the peer organization. For example, https://www.example.com. Do not include /cloud or /cloud/org/orgname in the URL. Organization Organization name that is used as the unique identifier in the organization URL. For example, if the organization URL is https://www.example.
Chapter 3 Managing Cloud Resources Enable Static Routing for an Organization Network An organization administrator can configure certain organization networks to provide static routing services. After you enable static routing on an organization network, you can add static routes to allow traffic between different vApp networks routed to the organization network. Prerequisites A routed organization network. Procedure 1 Click Administration. 2 Select Cloud Resources > Networks.
vCloud Director User's Guide 6 Select Within this network and click OK. 7 Click OK. 8 Repeat Step 4 through Step 7 to add a route to the second vApp network. Example: Static Routing Example vApp Network 1 and vApp Network 2 are both routed to Org Network Shared. You can create static routes on the organization network to allow traffic between the vApp networks. You can use information about the vApp networks to create the static routes. Table 3-3.
Chapter 3 Managing Cloud Resources Procedure 1 Click Administration. 2 Select Cloud Resources > Networks. 3 Right-click the organization network name and select Configure Services. 4 On the Static Routing tab, click Add. 5 Type a name, network address, and next hop IP address. The network address is for the vApp network to which you want to add a static route. The next hop IP address is the external IP address of the router for the organization network to which that vApp network is routed.
vCloud Director User's Guide What to do next Create firewall rules to allow traffic on the static routes. Reset an Organization Network If the network services, such as DHCP settings, firewall settings, and so on, that are associated with an organization network are not working as expected, reset the network. You are an organization administrator. No network services are available while an organization network resets.
Chapter 3 Managing Cloud Resources View vApps and vApp Templates That Use an Organization Network You can view a list of the all the vApps and vApp templates that include virtual machines with a NIC connected to an organization network. Prerequisites You are an organization administrator. Procedure 1 Click Administration. 2 In the left pane, select Cloud Resources > Networks. 3 Select an organization network, right-click, and select Connected vApps. 4 Click OK.
vCloud Director User's Guide 2 In the left pane, select Cloud Resources > Networks. 3 Select an organization network, right-click, and select Synchronize syslog server settings. 4 Click Yes. Managing Expired Items When vApps or vApp templates expire, you can determine whether you want to renew or delete them. Manage Expired vApps You can display a list of expired vApps, delete them, or restore them to your organization. You are an organization administrator.
Working in an Organization 4 Most operations in vCloud Director occur in an organization. The system administrator creates the organization and assigns an organization administrator to it. The system administrator emails the URL of the organization to the organization administrator, who can log in to the organization and set it up. In the Home page the organization administrator clicks the Set up the Organization link to assign resources and manage a variety of operations on the organization.
vCloud Director User's Guide For more information about specifying lease settings, see “Configure Organization Lease, Quota, and Limit Settings,” on page 40. Users can configure email notification to receive a message before a runtime or storage lease expires. See “Set User Preferences,” on page 13 for information about lease expiration preferences. Set Up an Organization After you receive the URL of your organization from the system administrator, you must set it up.
Chapter 4 Working in an Organization Procedure 1 Click Import. 2 Type a full or partial name of an LDAP user or group and click Search. 3 Select the users or groups to import and click Add. 4 Select a role for the users and groups and click OK. 5 Click Next. Add Local Users to the Organization Every organization should have at least one local, non-LDAP, organization administrator account, so that users can log in even if the LDAP service is unavailable. Procedure 1 Click Add.
vCloud Director User's Guide Configure Organization Lease, Quota, and Limit Settings Leases, quotas, and limits constrain the ability of organization users to consume storage and processing resources. Use these settings to prevent users from depleting or monopolizing an organization's resources. For more information about leases, see “Understanding Leases,” on page 37. Procedure 1 Select the lease options for vApps and vApp templates.
Chapter 4 Working in an Organization Modify Your Email Settings You can review and modify the default email settings that were set when the system administrator created your organization. You are an organization administrator. Procedure 1 Click Administration. 2 In the left pane, select Settings > Email. 3 Select an SMTP server option. 4 Option Description Use system default SMTP server The organization uses the system SMTP server.
vCloud Director User's Guide 5 Select the limits for resource intensive operations. Certain vCloud Director operations, for example copy and move, are more resource intensive than others. Limits prevent resource intensive operations from affecting all the users in an organization and also provide a defense against denial-of-service attacks. 6 Select the number of simultaneous VMware Remote Console connections for each virtual machine.
Chapter 4 Working in an Organization Procedure 1 Click Administration. 2 In the left pane, under Cloud Resources, select Virtual Datacenters or Networks. The vDCs and networks in your organization appear in the right pane. See also Chapter 3, “Managing Cloud Resources,” on page 21 Manage Virtual Machines in Your Organization You can manage virtual machines in your organization. Virtual machines provide access to vCloud Director operations at the virtual machine console level.
vCloud Director User's Guide View Organization Tasks You can view the tasks in an organization, which helps you monitor and troubleshoot more effectively. You are an organization administrator. Procedure 1 Click My Cloud. 2 In the left pane, click Logs. 3 On the Tasks tab, you can examine the tasks in the organization. 4 Select a task, right-click, and select Open. 5 Review the information and click OK. What to do next To troubleshoot a failed task, contact your system administrator.
Working with Catalogs 5 A catalog is a container for vApp templates and media files in an organization. Organization administrators and catalog authors can create catalogs in an organization. Catalog contents can be shared with other users in the organization and can also be published to all organizations in the vCloud Director installation. There are two types of catalogs in vCloud Director; organization catalogs and public catalogs.
vCloud Director User's Guide Procedure 1 Click Catalogs > My Organization's Catalogs. 2 On the Catalogs tab, click the Add Catalog button. 3 Type a catalog name and optional description and click Next. 4 (Optional) To share the catalog with members of the organization, click Add Members, select users and groups, select an access level, click OK, and click Next. 5 Select a catalog publishing option and click Next..
Chapter 5 Working with Catalogs 4 Click OK. Your catalog is available to organization administrators in all organizations. Share A Catalog Share a catalog to make its contents available to users in your organization. Users with the proper rights and access level can use vApp templates and media from the shared catalog to create their own vApps. You are at least a catalog author. Procedure 1 Click Catalogs > My Organization's Catalogs. 2 Select a catalog, right-click, and select Share.
vCloud Director User's Guide Delete a Catalog You can delete a catalog from your organization. You are at least a catalog author. Prerequisites The catalog must not contain any vApp templates or media files. You can move these items to a different catalog or delete them. Procedure 1 Click Catalogs. 2 In the left pane, click My Organization's Catalogs. 3 Select a catalog, right-click, and select Delete. 4 Click Yes. The empty catalog is deleted from your organization.
Chapter 5 Working with Catalogs Using Media Files in a Catalog You can access media files in a catalog in your organization or, if you are a organization administrator, a published catalog. To access a media file in a catalog in your organization, in the left pane, click My Organization's Catalogs and click on the Media tab. Select a media file and right-click to see the operations you can complete.
vCloud Director User's Guide What to do next You can select the media file and complete a variety of operations on it, such as move it to another catalog in your organization, delete it, or modify its properties. 50 VMware, Inc.
Working with Media Files 6 The catalog allows you to upload, copy, move, and edit the properties of media files. This chapter includes the following topics: n “Upload Media Files,” on page 51 n “Resume the Upload of a Media File,” on page 52 n “Copy Media Files to a Catalog,” on page 52 n “Move Media Files to Another Catalog,” on page 52 n “Delete Media Files,” on page 53 n “Modify Media File Properties,” on page 53 Upload Media Files You can upload media files to a catalog.
vCloud Director User's Guide Resume the Upload of a Media File If you paused, cancelled, or interrupted the upload of a media file, you can resume it. n You are at least a catalog author. n If you log out of vCloud Director and log in, transfer history is lost. You cannot resume the upload. n The default timeout for pending transfer sessions is one hour. You can configure this value. n During pending or stopped transfers, the session keep alive heartbeat kicks in every 15 minutes.
Chapter 6 Working with Media Files Procedure 1 Click Catalogs. 2 On the Media tab, select a media file, right-click, and select Move To Catalog. 3 Select a catalog and a vDC. The catalog you select must be in your organization. 4 Click OK. The media file is moved to the selected catalog. Delete Media Files You can delete media files from your catalog. You are at least a catalog author. Procedure 1 Click Catalogs > My Organization's Catalogs.
vCloud Director User's Guide 54 VMware, Inc.
Working with vApp Templates 7 A vApp template is a virtual machine image that is loaded with an operating system, applications, and data. These templates ensure that virtual machines are consistently configured across an entire organization.
vCloud Director User's Guide Add a vApp Template to My Cloud You can add a vApp template as a vApp from your catalog to My Cloud. You are at least a vApp author. If the vApp template is based on an OVF file that includes OVF properties for customizing its virtual machines, those properties are passed to the vApp. If any of those properties are user-configurable, you can specify the values. Prerequisites A vApp template is available in a published or a locally shared catalog. Procedure 1 Click Catalogs.
Chapter 7 Working with vApp Templates 4 Navigate to the local folder where you want to save the OVF file and click Save. You can click the Launch Uploads and Downloads Progress Window button from My Organization's Catalogs to track the progress. Upload an OVF Package as a vApp Template You can upload an OVF package from remote shares and your local directory to vCloud Director as a vApp template. You are at least a catalog creator.
vCloud Director User's Guide Procedure 1 In the Launch Uploads and Downloads Progress Window, click Pauseor Cancel. The status changes to Stopped in the progress window and Waiting in the vApp Template page. 2 In the Launch Uploads and Downloads Progress Window, click Resume. The upload or download process resumes. 3 Monitor the progress in the Launch Uploads and Downloads Progress Window .
Chapter 7 Working with vApp Templates Move a vApp Template Between an Organization's Catalogs You can move a vApp template from one catalog in your organization to another catalog in the same organization. This is useful if you want to move a template from a published catalog to an unpublished catalog or the reverse. You are an organization administrator or catalog author. Prerequisites You must have access to at least two catalogs and a vDC with available space.
vCloud Director User's Guide 4 Type a name and optional description for the vApp template. 5 Select a vDC, a catalog, and a storage lease. 6 Select a vApp creation option. This option applies when creating a vApp based on this template. It is ignored when building a vApp using individual virtual machines from this template. 7 Option Description Make identical copy vApps that are created from this vApp template must follow the guest operating system settings of the vApp template.
Working with vApps 8 A vApp consists of one or more virtual machines that communicate over a network and use resources and services in a deployed environment. A vApp can contain multiple virtual machines.
vCloud Director User's Guide n “Delete a vApp,” on page 82 Create a vApp From a vApp Template You can create a new vApp based on a vApp template stored in a catalog to which you have access. n Only organization administrators and vApp authors can access vApp templates in public catalogs. n vApp users and above can access vApp templates in organization catalogs shared to them.
Chapter 8 Working with vApps Complete the vApp Profile When you create a new vApp, you must provide some basic information. Procedure 1 Click My Cloud. 2 In the left pane, click vApps and click the Build New vApp button. 3 Type a name and optional description. 4 Select a runtime and storage lease and click Next. Add Virtual Machines to the vApp You can search your catalogs for virtual machines to add to the vApp or add new, blank virtual machines.
vCloud Director User's Guide 4 Review the summary for the vApp. 5 Click Finish. Copy a vApp To create a new vApp based on an existing vApp, you can copy a vApp and modify the copy to meet your needs. You are at least a vApp user. Procedure 1 Click My Cloud. 2 In the left pane, click vApps. 3 Select a vApp, right-click, and select Copy to. 4 Type a name and optional description. 5 Select a vDC. 6 Click OK. What to do next Modify the contents and properties of the new vApp.
Chapter 8 Working with vApps Stop a vApp Stopping a vApp powers off or shuts down all the virtual machines in the vApp. You must stop a vApp before you can perform certain actions. For example, adding it to a catalog, copying it, moving it, and so on. You can specify whether stopping a vApp powers off or shuts down its virtual machines in the vApp properties page. Prerequisites The vApp must be started. Procedure 1 Click My Cloud. 2 In the left pane, click vApps.
vCloud Director User's Guide Reset a vApp or Virtual Machine Resetting a virtual machine clears state (memory, cache, and so on), but the vApps and virtual machines continue to run. Prerequisites Your vApp is started and virtual machine is powered on. Procedure 1 Click My Cloud. 2 In the left pane, select vApps or VMs. 3 Select a vApp or virtual machine, right-click, and select Reset. View vApp Virtual Machines You can access and display the virtual machines in a vApp. Procedure 1 Click My Cloud.
Chapter 8 Working with vApps 9 (Optional) Select Show network adapter type and select a type for each NIC. 10 Select an IP assignment method for each NIC. If you select Static - Manual, type the IP address. 11 Click Next. 12 Select Show networking details, review the network information, and click Next. 13 Review the summary for the vApp and click Finish. Remove Virtual Machines from a vApp You can remove virtual machines from a vApp. You are at least a vApp author.
vCloud Director User's Guide 5 Click OK. Working with Networks in a vApp The virtual machines in a vApp can connect to vApp networks (isolated or routed) and organization networks (direct or fenced). You can add networks of different types to a vApp to address multiple networking scenarios. Select the Networking tab in a vApp and select the Show networking details check box to view a list of the networks that are available to the vApp. Virtual machines in the vApp can connect to these networks.
Chapter 8 Working with vApps 10 Click Apply. What to do next Connect a virtual machine in the vApp to the network. Add an Organization Network to a vApp Add an organization network to a vApp to make the network available to virtual machines in the vApp. Procedure 1 Click My Cloud. 2 In the left pane, click vApps, right-click, and select Open. 3 On the Networking tab, select the Show networking details check box. 4 Click the Add Network button. 5 Select Organization Network and click Next.
vCloud Director User's Guide Procedure 1 Click the My Cloud tab and click vApps in the left pane. 2 Right-click a vApp and select Open. 3 On the Networking tab, select Show networking details. 4 Right-click the vApp network and select Configure Services. 5 Click the DHCP tab and select Enable DHCP. 6 Type a range of IP addresses or use the default range. vCloud Director uses these addresses to satisfy DHCP requests.
Chapter 8 Working with vApps Add a Firewall Rule to a vApp Network You can add firewall rules to a vApp network that supports a firewall. You can create rules to allow or deny traffic that matches the rules to pass through the firewall. In order for a firewall rule to be enforced, you must enable the firewall for the vApp network. See “Enable the Firewall for a vApp Network,” on page 70. When you add a new firewall rule to a vApp network, it appears at the bottom of the firewall rule list.
vCloud Director User's Guide Reorder Firewall Rules for a vApp Network Firewall rules are enforced in the order in which they appear in the firewall list. You can change the order of the rules in the list. When you add a new firewall rule to a vApp network, it appears at the bottom of the firewall rule list. If you want to enforce the new rule before an existing rule, reorder the rules. Prerequisites A routed vApp network with two or more firewall rules.
Chapter 8 Working with vApps When you add a new port forwarding rule to a vApp network, it appears at the bottom of the NAT mapping rule list. For information about how to set the order in which port forwarding rules are enforced, see “Reorder Port Forwarding Rules for a vApp Network,” on page 74. Prerequisites A routed vApp network. Procedure 1 Click the My Cloud tab and click vApps in the left pane. 2 Right-click a vApp and select Open. 3 On the Networking tab, select Show networking details.
vCloud Director User's Guide Reorder Port Forwarding Rules for a vApp Network Port forwarding rules are enforced in the order in which they appear in the NAT mapping list. You can change the order of the rules in the list. When you add a new port forwarding rule to a vApp network, it appears at the bottom of the NAT mapping rule list. To enforce the new rule before an existing rule, reorder the rules. Prerequisites A routed vApp network with two or more port forwarding rules.
Chapter 8 Working with vApps Static routes only function when the vApps containing the routes are running. If you change the parent network of a vApp, delete a vApp, or delete a vApp network, and the vApp includes static routes, those routes cannot function and you must remove them manually. Prerequisites n vShield 5.0. n Two vApp networks routed to the same organization network. n The vApp networks are in vApps that were started at least once. n Static routing is enabled on both vApp networks.
vCloud Director User's Guide Reset Your vApp Network If the network services, such as DHCP settings, firewall settings, and so on, that are associated with a vApp network are not working as expected, an organization administrator can reset the network. Network services are not available during the reset. Prerequisites The vApp is running. Procedure 1 Click My Cloud. 2 In the left pane, click vApps. 3 Select a vApp, right-click, and select Open.
Chapter 8 Working with vApps Display the IP Allocations for Your vApp Network You can review the IP allocations for the networks in your vApp. Procedure 1 Click My Cloud. 2 In the left pane, selectvApps. 3 Select a vApp, right-click, and select Open. 4 On the Networking tab, select the Show networking detailscheck box. 5 Select a network, right-click, and select IP Allocations. 6 Review your allocations and click OK.
vCloud Director User's Guide 5 Click the Syslog Server Settings tab. Apply Syslog Server Settings to a vApp Network You apply syslog server settings to a routed vApp network to enable firewall rule logging. Syslog server settings can only be specified by a system administrator. You should apply those settings to any vApp network that was created before the system administrator specified them.
Chapter 8 Working with vApps Modify vApp OVF Environment Properties If a vApp includes user-configurable OVF environment properties, you can review and modify those properties. If a virtual machine in the vApp includes a value for a user-configurable property of the same name, the virtual machine value takes precedence. Prerequisites The vApp is stopped and its OVF environment includes user-configurable properties. Procedure 1 Click My Cloud. 2 In the left pane, click vApps.
vCloud Director User's Guide 6 7 Select an access level for the users and groups. Option Description Full control Users can open, start, save a vApp as a vApp template (Add to Catalog), change the owner, copy to a catalog, and modify properties. Read/write Users can open, start, save a vApp as a vApp template (Add to Catalog), copy to catalog, and modify properties. Read only Users only have read access to a vApp. Click OK. Your vApp is shared with the specified users or groups.
Chapter 8 Working with vApps Save vApp as a vApp Template to Your Catalog You can save a vApp as a vApp template and add it to the catalog. Procedure 1 Click My Cloud. 2 In the left pane, click vApps. 3 Select a vApp, right-click, and select Add to Catalog. 4 (Optional) Modify the name and description. 5 Select the destination vDC and catalog. 6 In the Storage lease: drop-down menu, select when you would like the vApp template to expire. 7 Select an option.
vCloud Director User's Guide Procedure 1 Click My Cloud. 2 In the left pane, click vApps. 3 Select a vApp, right-click, and select Move to. 4 Select a vDC. 5 Click OK. Delete a vApp You can delete a vApp, which removes it from your organization. You must be at least a vApp author. Prerequisites Your vApp must be stopped. Procedure 82 1 Click My Cloud. 2 In the left pane, click vApps. 3 Select a vApp, right-click, and select Delete. 4 Click Yes. VMware, Inc.
Working with Virtual Machines 9 Virtual machines have a guest operating system on which you can install and run any software supported by that operating system. In vCloud Director, you can install VMware Tools, insert DVDs and floppy disks, and remotely connect to virtual machines. These are the most basic operations that you can do on a virtual machine. n Power On, which is equal to powering on a physical machine. n Power Off, which is equal to powering off a physical machine.
vCloud Director User's Guide n “Configuring Virtual Machine Resource Allocation Settings,” on page 90 n “Modifying Virtual Machine Hard Disks,” on page 91 n “Modifying Virtual Machine Network Interfaces,” on page 92 n “Installing VMware Tools,” on page 94 n “Guest Operating Systems,” on page 104 Open a Virtual Machine Console Accessing your virtual machine console allows you to view information about a virtual machine, work with the guest operating system, and perform operations that affect the g
Chapter 9 Working with Virtual Machines Reset a vApp or Virtual Machine Resetting a virtual machine clears state (memory, cache, and so on), but the vApps and virtual machines continue to run. Prerequisites Your vApp is started and virtual machine is powered on. Procedure 1 Click My Cloud. 2 In the left pane, select vApps or VMs. 3 Select a vApp or virtual machine, right-click, and select Reset. Suspend a Virtual Machine Suspending a virtual machine preserves its current state.
vCloud Director User's Guide 4 Click Yes. Insert a CD/DVD You can access CD/DVD images from catalogs to use in a virtual machine guest operating system. You can install operating systems, applications, drivers, and so on. Prerequisites You have access to a catalog with media files. Procedure 1 Click My Cloud. 2 In the left pane, click VMs. 3 In the right pane, select a virtual machine, right-click, and select Insert CD/DVD from Catalog. 4 Select a media file and click Insert.
Chapter 9 Working with Virtual Machines 2 In the left pane, select VMs. 3 Select a virtual machine, right-click, and select Eject Floppy. The floppy disk is removed from the virtual machine. Upgrade the Virtual Hardware Version for a Virtual Machine You can upgrade the virtual hardware version for a virtual machine. Higher virtual hardware versions support more features.
vCloud Director User's Guide Procedure 1 Click My Cloud. 2 In the left pane, click VMs. 3 Select a virtual machine, right-click, and select Copy to or Move to. 4 Follow the prompts to complete the wizard. 5 Click Finish. Delete a Virtual Machine You can delete a virtual machine from your organization. Prerequisites Your virtual machine must be powered off. Procedure 1 Click My Cloud. 2 In the left pane, click VMs. 3 Select a virtual machine, right-click, and select Delete. 4 Click Yes.
Chapter 9 Working with Virtual Machines Option Description Memory hot add Select the check box to enable memory hot add. This allows you to add memory to a powered on virtual machine. This feature is only supported on certain guest operating systems and virtual machine hardware versions. Synchronize time Select the check box to enable time synchronization between the virtual machine guest operating system and the virtual datacenter in which it is running.
vCloud Director User's Guide Configuring Virtual Machine Resource Allocation Settings Reservation pool virtual datacenters support the ability to control resource allocation at the virtual machine level. Users with the necessary rights can customize the amount of resources that are allocated to their virtual machines. Use the resource allocation settings (shares, reservation, and limit) to determine the amount of CPU, memory, and storage resources provided for a virtual machine.
Chapter 9 Working with Virtual Machines For example, assume you have 2GHz available and specify a reservation of 1GHz for VM1 and 1GHz for VM2. Now each virtual machine is guaranteed to get 1GHz if it needs it. However, if VM1 is using only 500MHz, VM2 can use 1.5GHz. Reservation defaults to 0. You can specify a reservation if you need to guarantee that the minimum required amounts of CPU or memory are always available for the virtual machine.
vCloud Director User's Guide 4 On the Hardware tab, click Add in the Hard Disks section. 5 Select the disk size, bus type, bus number, and unit number and click OK. What to do next Power on the virtual machine and use the guest operating system tools to partition and format the new disk. Edit a Virtual Machine Hard Disk You can modify the bus number and unit number of a virtual machine hard disk. The virtual machine is powered off. Procedure 1 Click My Cloud. 2 In the left pane, click VMs.
Chapter 9 Working with Virtual Machines 4 5 In the NICs section on the Hardware tab, specify the network settings for each NIC. Option Action Connected Deselect the check box to disconnect a NIC. Network Select a network from the drop-down menu. Primary NIC Select a primary NIC. The primary NIC setting determines the default and only gateway for the virtual machine.
vCloud Director User's Guide 5 (Optional) Modify the NIC settings. 6 Click OK. Remove a Network Interface You can remove NICs from a virtual machines. Prerequisites The virtual machine is powered off. Procedure 1 Click My Cloud. 2 In the left pane, click VMs. 3 Select a virtual machine, right-click, and select Properties. 4 In the NICs section on the Hardware tab, click Delete. 5 Click OK.
Chapter 9 Working with Virtual Machines Installing VMware Tools in a vApp When you install VMware Tools in a virtual machine in a vApp, you need to understand the process. You can trigger VMware Tools installation on a powered on guest virtual machine in a vApp by selecting the virtual machine, right-click, and selecting Install VMware Tools. Open the virtual machine console to continue with the installation. For information on installing in a variety of guest OSs, see Table 9-3. Table 9-3.
vCloud Director User's Guide 6 Start the vApp on page 97 After you install VMware Tools, you must start the vApp. Disable Guest Customization To install VMware Tools in a virtual machine in a vApp, you must disable guest customization. Procedure 1 Click My Cloud. 2 In the left pane, select VMs. 3 Select a virtual machine, right-click, and select Properties. 4 On the Guest OS Customization tab, deselect the Enable guest customization check box.
Chapter 9 Working with Virtual Machines Prerequisites Your vApp is started. Procedure 1 Click My Cloud. 2 Power off your virtual machines. 3 Select a vApp, right-click, and select Stop. The vApp is stopped. Enable Guest Customization After you install or upgrade VMware Tools in your virtual machines, you must enable guest customization. Procedure 1 On the Guest OS Customization tab, select the Enable guest customization check box. 2 Select the other check boxes in the dialog box as relevant.
vCloud Director User's Guide Save the vApp Template as a vApp To install VMware Tools in a vApp, you must save it as a vApp. Procedure 1 Click Catalogs. 2 On the vApp Templates tab, select a vApp template, right-click, and select Properties. 3 Select Make Identical Copy. 4 Select the vApp template, right-click, and select Add to My Cloud. The vApp template has been saved as a vApp. What to do next You need to install VMware Tools.
Chapter 9 Working with Virtual Machines Enable Guest Customization After you install or upgrade VMware Tools in your virtual machines, you must enable guest customization. Procedure 1 On the Guest OS Customization tab, select the Enable guest customization check box. 2 Select the other check boxes in the dialog box as relevant. Add vApp to Catalog After you install or upgrade VMware Tools, you can add the updated vApp to your catalog. Procedure 1 Select a vApp, right-click, and select Stop.
vCloud Director User's Guide What to do next You need to install VMware Tools. Install or Upgrade VMware Tools You can either install VMware Tools or upgrade the current version in your virtual machine. Procedure 1 Click My Cloud. 2 In the left pane, select vApps. 3 On the vApps page, select a vApp, right-click, and select Open. 4 Select a virtual machine, right-click, and select Properties.
Chapter 9 Working with Virtual Machines 2 Enable Guest Customization on page 101 After you install or upgrade VMware Tools in your virtual machines, you must enable guest customization. 3 Start the vApp on page 101 After you install VMware Tools, you must start the vApp. Install a New Version of VMware Tools After you disable guest customization, you can upgrade VMware Tools. Procedure 1 Select the vApp, right-click, and select Start.
vCloud Director User's Guide 5 Click Finish. 6 Restart your virtual machine. Install VMware Tools on a Linux Guest in X with the RPM Installer You can use an RPM installer to install VMware Tools on a Linux guest operating system. Prerequisites The VMware Remote Console plug-in is installed. Procedure 1 Click My Cloud. 2 In the left pane, click VMs. 3 Select a Linux virtual machine, right-click, and select Popout Console. 4 In the guest operating system, start the RPM installer.
Chapter 9 Working with Virtual Machines 5 In the guest operating system, log in as root (su-), mount the VMware Tools virtual CD-ROM image, and change to a working directory (for example, /tmp. Some Linux distributions automatically mount CD-ROMs. If your distribution uses automounting, do not use the mount and unmount commands. You still must untar the VMware Tools installer to /tmp. Some Linux distributions use different device names or organize the /dev directory differently.
vCloud Director User's Guide 5 In the virtual machine, log in as root and, if necessary, mount the VMware Tools virtual CD-ROM image. The Solaris volume manager vold mounts the CD-ROM under /cdrom/vmwaretools. 6 7 8 If the CD-ROM is not mounted, restart the volume manager by running these commands. n /etc/init.d/volmgt stop n /etc/init.d/volmgt start After the CD-ROM is mounted, change to a working directory, for example, /tmp and extract VMware Tools.
Chapter 9 Working with Virtual Machines Customizing Your Guest Operating System When you customize your guest OS you can set up a virtual machine with the operating system that you want. vCloud Director can customize the network settings of the guest operating system of a virtual machine created from a vApp template. When you customize your guest operating system, you can create and deploy multiple unique virtual machines based on the same vApp template without machine name or network conflicts.
vCloud Director User's Guide After you install the guest OS and VMware Tools, you can power off the virtual machines, stop vApp, and select the Enable guest customization check box and start the vApp and virtual machines to perform guest customization.
Chapter 9 Working with Virtual Machines 4 On the Guest OS Customization tab, select or deselect the Enable guest customization check box. 5 Click OK. Guest customization in the selected virtual machine is enabled or disabled. Change Guest Customization Settings for Virtual Machines in a vApp Template You can change the guest customize settings on virtual machines in a vApp template when the virtual machines are used as building blocks to create a new vApp. Procedure 1 Click Catalogs.
vCloud Director User's Guide 4 In the guest OS, shut down the virtual machine. 5 Power off the virtual machine and ensure that the Enable guest customization check box is selected. You must ensure that the virtual machine's NIC is not set to NONE network. 6 Start the vApp and power on the virtual machine. The Customization CD is mounted automatically after the virtual machine powers on. 7 Right-click on the CD ROM and select Auto play. This step copies the deployPkg.dll file to WINNT folder.
Chapter 9 Working with Virtual Machines A script starts that copies files to the guest and prepares the virtual machine template for customization. NOTE If you add new Solaris vApp Templates, you need to complete only steps 4-7 once. You do not need to repeat these steps for additional virtual machines in the Catalog that result from copying these virtual machines. Upload a Customization Script You can upload a customization script to a virtual machine.
vCloud Director User's Guide Procedure 1 Click My Cloud. 2 In the left pane, click VMs. 3 Select a virtual machine, right-click, and select Properties. 4 On the Guest OS Customization tab, select the Enable guest customization check box. 5 Select the Allow local administrator password check box. 6 To force all administrators to change the password at the initial log in, select the Require administrator to change password on first login check box. Administrators must know the old password.
Chapter 9 Working with Virtual Machines 4 On the Guest OS Customization tab, select the Enable this VM to join a domain check box. Override organization settings is selected by default. 5 Type a domain name, user name, and password. 6 Under Customization Script, click Browse, to upload a locally saved file. 7 Click OK. The selected virtual machine joins the Windows guest domain.
vCloud Director User's Guide Table 9-5.
Chapter 9 Working with Virtual Machines Table 9-7.
vCloud Director User's Guide Table 9-10. Unsupported Guest Operating Systems (Continued) 114 Operating System Virtual Machine Version Customization Support FreeBSD (32-bit) Version 7 No FreeBSD (64-bit) Version 7 No OS/2 Version 7 No SCO OpenServer 5 Version 7 No SCO UnixWare 7 Version 7 No DOS Version 7 No Other (32-bit) Version 7 No Other (64-bit) Version 7 No VMware, Inc.
Index C catalog access contents 46 add new 45 change owner 47 delete 48 media file from public catalog 49 properties, modify 48 public catalogs 49 publish 46 share 47 understanding 48 vApp template from public catalog 49 working with 45 D DHCP network services 23, 69 E expired items, working with 36 F guest OS customizing guest OS when saving vApp template as a vApp 106 understanding guest customization 105 I IP address persistence 77 L leases, runtime and storage 37 limit 91 M media files access in
vCloud Director User's Guide ordering firewall rules 25 ordering NAT mapping rules 27 resetting 34 view syslog server settings 35 viewing IP usage 34 organizations adding LDAP users and groups 38 adding local users 39 change full name 38 cloud resources 21 email preferences 39 enable domain join 42 lease settings 40 limit settings 40 manage resources 42 manage users and groups 42 manage virtual machines 43 modify email settings 41 modify policies 41 monitoring events 43 monitoring tasks 44 monitoring the l
Index creating from a vApp template 62 delete 82 delete a network 76 deploy 64 discard suspended state 65 display diagram 78 display IP allocations for your vApp network 77 force recustomization of a virtual machine 107 managing expired 36 modify network properties 76 move to another vDC 81 networks 68 profile 63 remove VMs 67 reset 66, 85 reset a vApp network 76 resetting leases 79 save as vApp template 81 share 79 start with an older version of VMware Tools 64 stop 65 stopping 96 suspend 65 upgrading vir
vCloud Director User's Guide 118 VMware, Inc.