Professional Documents
Culture Documents
Cloud
Version 3.3
Introduction
The Power of the Cloud
Who are Rainpole Inc and ABigTelco
Rainpole, Inc. has decided that cloud is the future and they are focusing their effort and energy into becoming a recognized provider
of of cloud services. In order to move this strategy forward, Rainpole has acquired Code Nebulous, a smaller and more agile
organization specializing in cloud-based commerce solutions. Code Nebulous has been very successful in helping top
brand-name clients implement eCommerce services that take advantage of a hybrid cloud model. This allows their eCommerce
application to run across private and public clouds seamlessly.
Code Nebulous is a small start up with a large footprint. They have successfully leveraged the power of the cloud to be more agile
than their competitors. Their time-to-market has been immediate and since they have no in-house resources, all development is
done in the public cloud. Code Nebulous currently leverages compute capacity provided by ABigTelco, Inc. who is a global
telecommunications provider providing a variety of offerings that encompass Infrastructure as a Service (IaaS) and Software as a
Service (SaaS). ABigTelco Inc has recently launched their first Cloud Service for IaaS based on VMware's vCloud Datacenter
certification for Public Cloud providers. This service provides enterprise customers including Code Nebulous with a cloud-based
extension to their secure, enterprise-class datacenters.
While Code Nebulous operates 100% in the public cloud, Rainpole has sensitive workloads that they are not yet ready to allow
beyond the confines of their datacenter and firewalls. As such it has been decided that Rainpole will build and operate an internal
cloud which will be securely connected to the external cloud. This will allow appropriate workloads to securely transfer between
environments. This lets Rainpole leverage the best of both worlds; securing sensitive resources within their datacenter and
allowing appropriate workloads to run in the public cloud.
Please launch the Demo Video which was given to Rainpole before the acquisition to show how Code Nebulous operates in the
Cloud.
The Code Nebulous acquisition should go smoothly as both companies already use vSphere virtualization. Rainpole's CIO knows
how critical the cloud build out will be for the company's plans to become a recognized leader in the space. To ensure
consistency, the strategy is to manually build the cloud infrastructure first and then leverage automation to capture and automate
key work flows going forward. This will enhance the IT department's ability to rapidly deal with increasing demand and help limit
human error during new deployments.
The benefits of this approach will be:
1. Minimize the impact of the IT department which is already overstretched.
2. Keep the acquisition costs down by mitigating the need to purchase additional hardware.
3. Keep costs down by hiring contractors to help the IT Ops team absorb the extra workload during the implementation.
3. Give the Code Nebulous development group the infrastructure they need now with a self-service model ensuring they are agile
enough to meet the launch deadline.
4. Everyone learns what is involved in consuming, providing, managing and reporting on a hybrid cloud service.
This diagram give you a logical view of the Build Your Hybrid Cloud environment.
You are connected from your client device via a VMware View desktop which in turn has a remote desktop session to the
ControlCenter VM. The Hybrid Cloud Lab environment is created within a vApp within a cloud itself, hosted on vSphere and vCloud
Director.
There are a set of logical subnets identified by the colored lines with the final octet of the IP address of each VM or service
identicated by the purple badge.
Where you see the same IP address indicated for a number of different services, it means that the services are hosted on the
same VM.
This is the main Control Center Desktop where you'll spend most of your time in the vCloud Build Lab.
Logon to vCenter
Click "Use Windows session credentials" to pre-populate the login credentials and then click "Login".
To prepare for the move to the cloud, the administrator must first take stock of what exists. Because the Rainpole environment is
already more than 80% virtualized they are perfectly positioned to extend their infrastructure into the cloud and build powerful layers
of abstraction on their existing virtual infrastructure.
Open Internet Explorer and "VMware vCloud Director rainpole.com" will open automatically. If not, you can use the favorites bar.
A blank slate
The first step is to attach to the existing vCenter and start to build a new layer of abstraction that will create a powerful self-service
environment to get resources into the hands of users faster.
The workhorse behind the cloud is vCenter 5.0 and ESXi 5.0. Therefore, the first step is to give vCloud Director direct access to a
vCenter instance which provides access to the raw capacity for building a new type of consumption model called a "Provider Virtual
DataCenter".
vCenter Server is: vc-w8-01a
Again, the password is VMware1! but the User is rpadmin.
The Rainpole security team has put vShield through weeks of testing and they are comfortable that it provides as good if not better
security then the "old" way of securing the network.
Review the steps and click the "Finish" button to complete the first building block of Rainpole's cloud which provides access to the
capacity for the first "Provider Virtual Datacenter".
The Rainpole administrators are new to cloud computing and as such they want to make sure the configuration was successful..
Press on "Manage & Monitor" (labeled "1" above) then on "vCenters" (labeled "2" above) to verify the new "Rain Cloud vCenter"
connection. After you're done click on "Home" (labeled "3" above) to get back to the next steps.
Rainpole can now allocate capacity from the newly connected vCenter and allow different groups to seamlessly and securely share
the underlying infrastructure.
Click the link "2. Create a Provider vDC" to assign resources from vCenter that you want to vCloud Director to control. This step will
create a "Provider Virtual Datacenter" (pVDC). We will create one pVDC for development.
The most important thing for Rainpole is to get resources into the hands of developers so they can build and release products to
market. Therefore, the first pVDC will be built for the development group.
With vsphere 5 a new Hardware Version 8 is introduced. You can choose Version 7 or 8.
A pVDC needs access to a vSphere Resource Pool or a vSphere cluster which is the best practice. A vSphere cluster actually is a
Resource Pool at the root level.
Select the Resource Pool named "Development" and click the "Next" button.
Developers also need storage so add a vSphere data store to the pVDC. Select the datastore named "vol1_60gb".
vSphere hosts are the code components of the "cloud engine" which provide the "horsepower" to run virtual machines. Preparing
the vSphere hosts installs a small agent that enables vCloud Director to directly interact with the vSphere host for some required
low-level functions.
The "root" password is "VMware1!"
Review the steps and then click the "Finish" button to complete the first Rainpole "Provider Virtual Datacenter" built specifically to
provide developers with faster access to the resources they need to do their jobs.
View the hosts dedicated to the cloud by navigating to the "Manage & Monitor" tab. Right now, in its infancy, the Rainpole cloud
only has two hosts but this will change quickly as developers start to leverage the benefits of rapid, agile, self-service provisioning.
The first step is creating external networks that can route organization resources to the resources they need. External networks in
vCloud Director are Layer 3 networks which provide access to resources outside of vCloud Director and potentially vSphere. Click
on the link "3. Create an external network".
External networks need to connect and route to a network portgroup defined in vSphere. This is one area where the vCloud
Director administrator has to interface with the vSphere and network administrators to get access to the right network resources.
The Rainpole architects spent time in the planning phase working with the network team to identify VLANs and networks which
would be dedicated to the cloud. Select the network labeled "VM Network" and click the "Next" button.
Configure the external network
Based on the information provided by the network team, the external network must be configured with the proper "Network mask",
"Default gateway", "Primary DNS" and a static pool of IP addresses that vCloud Director can supply to virtual machines as needed.
Enter the values provided in the screenshot. Click the "Next" button.
Mask: 255.255.255.0
GW: 192.168.110.2
DNS: 192.168.110.10
Suffix : rainpole.com
Range: 192.168.110.200-192.168.110.240
Naming the external network
vCloud Directors external network needs a unique name which will identify where it's going to connect. In this case name it
"Rainpole Intranet" as it will provide Internet access for VMs in the cloud (at least as long as the security team allows it).. Click the
"Next" button.
Review and then click the "Finish" button to complete the external network setup.
The power of the cloud is providing users a way to automatically create powerful and secure network constructs. This is
accomplished through network pools which can be a range of pre-allocated VLANs or Port Groups either pre-created or
dynamically provisioned if attached to distributed switches. Users within an organization can draw from their network segment
quota as needed. These network pools are used while a dynamic workload is in existence and then go back into the pool when
the workload is stopped. In this way, users can deploy complex networking without any administrative assistance.
Click "Create a network pool" to build the resources to automatically deploy networks
2. network isolation-backed
3. vSphere port group-backed
In our case, we are using network isolation-backed which is the most automated and offers robust security through the use of
vShield MAC-in-MAC encapsulation. Port groups are dynamically created and distributed networking is required. After selecting
"Network isolation-backed", click the "Next" button.
Configure Network Isolation
We will allow up to 200 networks (labeled "1" above) based on VLAN 101 (labeled "2" above).
We choose our vCenter (labeled "3" above)and then an appropriate distributed virtual switch (labeled "4" above).
We can see on the bottom that this switch can be accessed from resources in Production and Development. Click the "Next"
button.
Name the pool
The network pool needs an intuitive name so cloud administrators know which pool to use for various organizations. Click the
"Next" button.
Review and finalize the network pool. Click the "Finish" button.
Now that the core infrastructure components of the cloud are in place, it is time to create an organization for our tenant: our internal
developers. Click on "5. Create a new organization".
eCOM-DEV is a core group of top-notch developers within Rainpole and as such they will get the first vCloud Director Organization.
The internal champions of the cloud within Rainpole have guaranteed faster development and time-to-market by providing these
developers almost instant access to the compute capacity they need.
Note*** The name becomes the unique URL which users will put into their web browser to access cloud resources for this vCD
Organization. In this case the URL will be: https://vcloud.rainpole.com/cloud/org/eCOM-DEV/
Click the "Next" button.
Integrating into the user directory
The first vCloud Organization within Rainpole needs to integrate into the company Active Directory. The Distinguished name is:
"cn=users, dc=corp, dc=local".
Note: The DN is cn=users not "dc= users or ou=users" The build in "users" in Active Directory is cn=users.
We have to add a local admin for the Organization in the event that Active Directory is ever down or not accessible.
Click the "Add.." button. Then enter the user, Orgadmin, password, VMware1!.
Click the "Next" button.
Populate the fields for "User Name" and "Password" to create the local "Orgadmin user.
Certain privileged organizations can share their catalogs with all other groups in the Rainpole cloud. ****Note: Set the publishing
option to "Allow publishing catalogs to all organizations" as eCOM-DEV will be creating vApps that will be consumed by other
business units. Click the "Next" button.
Use the default system settings which are pushed down from the vCloud Director instance. Click the "Next" button.
Self Cleanup
Runtime and storage leases are a very powerful feature of the cloud. An internal audit of Rainpole resources found that thousands
of dollars of storage was being wasted due to orphaned virtual machines that were never cleaned up properly. Now with
self-cleaning in the cloud, un-used resources will be expired and can then be deleted if not needed. Users can set preferences for
To ensure that no single group consumes all the resources it is necessary to set quotas and limits. The alpha-dog developers of
eCOM-DEV don't like this but it's a fact of life in a world where resources are shared.
The "Running VM Quota" which is how many machines eCOM-DEV can have powered on at a given time is set to 20.
The "Stored VM Quota" which is how many machines can exist within the Organization powered down is set to 40.
This provides enough capacity for the initial eCOM-DEV roll out and will be expanded as needed when the capacity requirements
mandate it.
We change the "Limits" to the values shown to restrict the organization to create too much IO due to heavy operations, such as
cloning of vApps.
The number of simultaneous connections define the concurrent connections to a VMs console.
Click the "Next" button.
Review and finalize the settings for the new vCD Organization. Click the "Finish" button.
Notice how a new tab labeled "eCOM DEV" is created. Click on the new tab (1). Click on Administration (2) Click on Users (3).
Then Click on the Import from LDAP icon (4) and search for user TeamLeader (5). Click the "Search" button and then add (5) him
as Organization Administrator.
This delegates the administration of the new organization "eCOM-DEV" to the TeamLeader.
If the search result is empty the b ase distinguished name entered during the organization setup might b e wrong. You can change
this in "System/Manage&Monitor/Organizations". Then select "Properties" of the organization and check the DN in "LDAP Options"
"cn=users,dc=corp,dc=local" and search again.
Allocating resources to Organizations within the Cloud
Now go back to your "System" tab and the "Home" section. Click the link "6. Allocate resources to an Organization".
Select the Organization within the cloud that will be given some capacity. Click the "Next" button.
Providing resources
Select the Provider vDC which will provide resources for this Organization. In this case, it will be "Developers pVDC" which will be
used for the different development groups within Rainpole. Click the "Next" button.
Allocation Models
There are different models to allocate consumer resources within the cloud. Each model provides for slightly different user options
and resource commitment as well as affecting vCenter Chargeback billing policies. Because this is the first group to leverage the
cloud, Rainpole wants to use a "Pay-As-You-Go" model. This allows Rainpole finance to know exactly how much is being spent for
The "Pay-As-You-Go" model offers the ability to throttle the speed of the virtual CPU regardless of the physical CPU speed.
eCOM-DEV is currently working on physical physical hardware with 2Ghz CPUs so to allow for comparison, the virtual CPU will be
set to 2 GHz as well. The benefit is that the speed can now be increased in the virtual data center without having to upgrade any
The new Organization needs storage and capabilities. Because it is still unknown how much capacity the eCOM-DEV developers
will need, the capacity is temporarily set to unlimited. However, the total amount of disk space used will be reduced by using "thin
provisioning" behind the scenes which allocates storage blocks on-demand. This is invisible to the developers but allows
Rainpole to use considerably less storage. Enabling "fast provisioning" uses linked clones which means a new virtual machine
is quickly deployed by creating a disk snapshot of an existing VM. This makes the developers even more productive as they don't
have to wait for long virtual machine copies. Click the "Next" button.
Leveraging the power of pools.
We now assign a portion of the network pool that was created earlier. This will give the eCOM-DEV developers the ability to deploy
their own complex firewalls on private networks and quickly replicate complex testing environments that used to take weeks to
setup in the physical world. Give the eCOM Dev users 20 networks from the "RP-vCDNI-Pool". Click the "Next" button.
Finally give the "Organization Virtual Datacenter" an intuitive name so it is easy to understand which group is using these
resources. Click the "Next" button.
Review and complete the first Organization Virtual Datacenter. Click the "Finish" button.
Select eCOM-DEV as the Organization which will contain the new new Organization network. Organization networks allow units
within the Cloud to connect to external resources such as Internet, DMZ or IP based storage. There are also internal networks that
are private to the Organization. In the next step we will be creating both types of network.
We are creating a directly connected Organization network which will have direct access to an external network. The other option is
to create a Routed network which will be contained behind a vShield firewall which will connect the two layer three networks
together. The Routed network would allow for NAT, Firewall and Port Forwarding in the event that external IP's were limited or
Network Settings
A network pool is a group of undifferentiated networks that is available for use within an Org vDC. A network pool is backed by
vSphere network resources such as VLAN IDs, port groups, or Cloud isolated networks. vCloud Director uses network pools to
create NAT-routed and internal organization networks and all vApp networks. Network traffic on each network in a pool is isolated at
Choose the default setting for the Internal Network which will allow virtual machines in a vApp to communicate with each other. You
can connect an Internal network to an organization network to allow a vApp to communicate with other vApps in the organization.
vApp networks are backed by network pools. Users with access can manage and create their own networks through the power of
dynamically leveraging Network Pools.
Apply Network Name
Name the Organization Network something that makes it readily apparent to vApp authors what it's connectivity is and when it
should be included in a vApp configuration.
Organization need to be able to get outside to access resources and to do that their networks need to attach to the Provider
external networks created previously.
Give this external network an intuitive name so it's obvious that it's assigned to eCOM-DEV for external access.
Reviewing
In the resulting file explorer box, navigate to the "Desktop" and then the "Branding" folder and select the file named
"RainpoleLogov1".
View Logo
Confirm that the logo is now displayed below the "Logo:" field. Note the size and type of image that can be used. Next click the
"Browse" button next to the "Theme:" field.
In the resulting file explorer window, select the file named "cloud-director-template-rp" in the "Branding" folder as before. Click
the "Open" button.
Click "Ok" on the warning popup and then allow the 10 second preview to complete.
Company name
Click the "Apply" button on the bottom right to use the new theme, logo and company name.
The Rainpole Cloud has now been branded appropriately.
The power of the cloud is delivered through a catalog of pre-configured servers for users to easily add to their virtual data center. In
this case, Rainpole has worked with the developers of eCOM-DEV (their customer) and determined what they need in their catalog.
Sharing catalog's
The catalog can be published to other organizations if desired. In this case eCOM-DEV will be creating resources that can be
consumed but other Organizations within the Cloud as such the setting will be to allow "Publish to all Organizations".
Complete catalog
Review and complete and the catalog creation. Click the "Finish" button.
Importing VMs
There are different ways to bring VMs into a vCloud Director environment including importing (powered off) VMs directly from the VC
instance that is backing the Provider Virtual Datacenter. Another way is to upload an OVF template directly into vCloud Director
using the Java upload tool.
Select the "Ubuntu Server VM" and give it a name. The "Move VM" choice means the VM is deleted from vCenter and only exists in
vCloud Director. The "Copy VM" choice leaves the vCenter instance of the VM intact. However, this will use twice the amount of
storage. Because the current datacenter has limited storage, please choose "Move VM".
Make the VM a "Gold Master" as it will be used as the base image for all Ubuntu deployments going forward. A "Gold Master"
designation in the vCD Catalog simply serves as a visual cue to users that this vApp is of good quality.
Import status
Second Import
Import an Ubuntu Webserver as the second VM. Move the VM as before and designate as a "Gold Master".
Import status
Navigate to "Manage & Monitor", select the "Organizations" section at the top left, then right-click the "eCOM-DEV" organization and
select "Properties".
Portal URL
Deploying cloud to users is all about first impressions. If the first user's experience is bad, then the project will be at risk before it
even gets fully implemented. Therefore, it is imperative that the Rainpole architects test the system as a typical user in order to
gauge the ease-of-use and ensure a positive experience for those critical first users of the private cloud. This is especially true at
Rainpole because the eCOM-DEV developers are used to getting their way and will not accept a new system unless it meets their
expectations and prior experiences.
Next we'll log in and experience the Cloud from the perspective of a user.
Make sure you have the right URL : "https://vcloud.rainpole.com/cloud/org/eCOM-DEV/" ****Note: For security purposes if you put
in the wrong URL, the vCloud Director portal will still come up. This is to make it harder for unwelcome guests to randomly guess
organization names and try to hack into the system. Even though a login/password portal will be available for a non-existant URL,
The TeamLeader login has the role "Org Administrator" inside the Cloud and as such is able to " Build a new vApp". Other users
can be set to only consume previously built vApps. It is important to "know your customer" and provide the right amount of access
based on their capabilities. Too much or too little access will result in help desk calls, wasted time and resources which is exactly
what cloud is meant to avoid.
Name the vApp something to indicate it will only be a temporary test to view the experience from a users perspective.
Because it is a test, we can set the Runtime and Storage Lease to the minimum.
The user is able to select from the machines which were previously added to the catalog. Multiple VMs or multiple versions of the
same VM can be added to the vCD Catalog. Adding the same VM multiple times requires that it be customized upon deployment
which vCloud Director will do automatically. This is to change things like the MAC address, SID and IP/hostname and the root
password if needed.
Please add the two Ubuntu systems to your vAp.p
Configuring a vApp
Note the "Computer Name" as this is what the hostname of the machine will become. In this case, the user is able to set that
(remember that eCOM-DEV developers demand control). There is also a way to limit the user and only allow them to provision a
vApp exactly the way it was captured. In this case, the user would not be able to change the hostnames or the number of VMs in
the vApp. Again, it depends on the complexity and needs of the user.
vApp Networking
The status of the new vApp creation task will be shown. Behind the scenes vCloud Director is performing API calls to vCenter and
building the new VMs which are linked clones of the Gold Master template in the catalog. Because they are linked clones, the vApp
creation will be significantly faster than if full copies were being created.
Click the "Home" tab to go back to the s creen that a typical user would see when logging in. From the "Home" screen, a user is
presented with a view of available vApps and can very easily start, stop or pause the workloads. Click into one of the Screen Boxes
to get access to the console. Note: you have to power on the vApp (1) before you can access the console (2).
Open Console
My Cloud
The "My Cloud" tab is the workspace for active vApps. This is where the Code Nebulous developers will be spending most of their
time. Here they can see console thumbnails of their powered-on vApps, access properties and open the vApp. Right click any
vApp in "My Cloud" and select open to view the individual VM configuration.
Opening a vApp
Here you can see a logical diagram of the networking for the VMs in the vApp.
As a user of the cloud system navigate to the "Virtual Machines" tab and note the IP address of the webserver.
Open a new browser and put in the noted webserver IP address (http://192.168.110.201) of the new cloud system to reach the
basic Apache homepage of this web server.
Due to the Guest Customization process the web server may take additional time to start (a few minutes!), if this is the case give it
The main access point for creating and running workflows is the vCenter Orchestrator Client. There is also a web interface to
offload the execution of the workflows to other groups in an easy-to-access fashion. In this scenario, the Rainpole Administrator is
creating workflows for the first time and will need the power of the vCO Client to edit and create scheduled automation.
Start the vCenter Orchestrator Client from the Desktop or the Start Menu. Leave the "Host name" and "User name" fields values
since they were previously populated. Enter VMware1! in the "Password" field click "Login".
The Workflows
vCenter Orchestrator is a powerful tool with many capabilities. For Rainpole's needs, the most important area is the "Workflows"
section which contain integrations with vCloud Director to quickly perform a variety of automated tasks. The vCloud Director vCO
plugin has been previously installed to enable this additional integration.
Select the "Workflow" bar and expand the folder "vcoAdmin@vco.rainpole.com" and "RainPole Automation".
Code Nebulous is only the first of what will be many acquisitions by RainPole and it will be key to quickly enable each new
organization to become operational in the cloud as quickly as possible. The first added workflow focuses on creating a new vCD
Organization complete with OrgvDC, Networks, an Allocation Model and a Catalog.
Right-clicking the workflow exposes the available options for interacting with it. Here you can start a workflow and schedule it for
future execution. You will manually start the "Provision Production RainPole Organization" but a little later you will schedule the
"Instantiate vApp" at regular intervals to meet a development process requirement.
Certain fields must be filled before the workflow can be executed or scheduled to execute. By filling in just the required values or
using good defaults, it will be quick and automated to setup a vCD Organization when a new acquisition or business unit needs
access to cloud resources.
vCloud Director workflows must run against a specific vCloud Director instance. As the environment grows, most likely multiple
copies of workflows will be needed which will run against different vCloud Director instances that may be geographically separate.
Click on "Host" and in the resulting popup navigate to the "vCloud Director Server" and Click "Select". Note****: The select option
The "Create Organization" workflow must be run against one Provider vDC. The first use case for the Rainpole Private Cloud is
for developers and this workflow will focus on automating the task of bringing future development groups online quickly inside the
Development pVDC.
Click on "Provider vDC" and in the resulting popup navigate to the "Admin" -> "Provider vDCs" folder. Then select the
"Development pVDC" element and click "Select".
Network Pool
It is important to add the Network Pool or vApps will not start in the new vDC Organization.
First click "Not Set" in the "Network Pool" text box. Then navigate to the "Admin" -> "Extension" -> "VMW Network Pools" folder and
select the "RP-VCDNI-Pool" element.
Code Nebulous is the latest acquisition of RainPole and the first thing their developers need is a dedicated vCD Organization
inside the cloud.
Name the new vCD Organization CodeNeb ulous. Note**** The "Name" field cannot have any spaces or special characters.
Click "Not set" in the "Allocation Model" field.
The "Allocation Model" field
Click in the "Filter:" text field and press the Enter key on the keyboard. The three vCloud Director allocation models populate the
pick list.
Reservation Pool is one of 3 vCD Allocation Models available. It creates a hard reservation that guarantees the Organization will
get a fixed share of the resources available. When introducing new technology, first impressions are of the utmost importance so
the Rainpole administrator decided that creating a guaranteed reservation for the new developers is the best way to ensure a
As a cloud administrator, it is important to understand the customer. An OrgVDC is different type of abstraction for compute
resources and it is critical to understand the needs of the customer in order to provide sufficient capacity.
Enter the values as shown.
Review the settings and click "Submit" to execute the workflow. Going forward this workflow can be shared in the vCO Web Views
to allow easier and faster access to execute as needed.
Navigate back to vCloud Director and view the new CodeNebulous Organization which was created faster and more accurately
through automation than it could ever be done manually. This type of automation will significantly improve the lives of the cloud
administrators and allow them to scale even as the demand for resources increases.
The new vCD Organization has all the settings supplied in the orchestration workflow.
Under System select "Manage & Monitor" Tab and click on "Organizations". You can create the Tab "CodeNebulous" by double
clicking on the organization name.
Log back into vCD
Navigate to the favorites bar in "Internet Explorer" and choose vCloud Director rainpole.com
Log into the Rainpole Cloud as a provider administrator to view the new Organization.
View the new Organization within vCloud Director that has been automatically created. Note it has 1 vDC, 2 Catalogs and 1 User
that were all created by the workflow.
Navigate to Organization vDCs on the left pane and view the new vDC. It should be set to "Reservation Pool" as it was specified in
the workflow.
IMPORTANT: please start at the bottom with "vDC" not with "vApp Template"
Now select the vDC for the new vApp. Note*** Make sure you do this before selecting the vApp.
1) Click "Not set" in the vDC field.
1) Click on "Not set" next to to the "vApp Template " choice box.
2) Expand the "vCloud Director" folder and sub-folders as shown.
3) Choose one of the Ubuntu Templates and click "Select" on the bottom right.
Click "Submit".
Workflow status
Using the favorites bar navigate back to "vCloud Director rainpole.com" and open VCD as administration as "administrator"
"VMware1!"
Navigate to vApp
Through vCloud Director navigate to the Organization that holds the newly created vApp.
Double Click on "CodeNebulous"
View the new vApp and if it's finished creating power it on.
vCenter ChargeBack
In order for a shared model like the cloud to be successful, the incurred costs must be completely transparent. This transparency
reinforces responsible behavior in how users consume resources. The eCOM-DEV developers have historically requested the
biggest most expensive Virtual Machines for their testing and development needs. Now that success can be tied to the total cost of
the project and the resources consumed, it behooves the developers to only request what they need to "get the job done" and save
money along the way to improve the profit and success of the overall project.
vCenter Chargeback is an easy way of charging for consumed resources in vCenter and vCloud Director. With connectors to
vCloud Director, vShield Manager and vCenter Server, Chargeback tracks all consumed resources. Chargeback can be used to
create actual bills for customers or for delivering the metrics to an external billing system.
In this lesson we will login to the web interface of vCenter Chargeback and create a report based on the resources that RainPole
developers are consuming.
You can find the URL of vCenter Chargeback in the Internet Explorer favorites bar.
User: Admin
Password: VMware1!
Login: "Local"
If LDAP / AD is configured as a login source, it can be used to validate users. RainPole.com is using local Chargeback users at the
moment.
Show vCenter Chargeback settings
From the "Getting Started" Tab click on Settings, to see if the attached data collectors are installed and working.
The "Basic Tasks " list are shortcuts to im portant tasks inside vCenter Chargeback such as adding vCenter servers.
Look at vCenter servers and Cloud Data Collectors. You can add up to 10 vCenter Servers. The list shows you the attached
sources. Rainpole.com is using a single vCenter server with the instance name "vCenter01".
Collectors en details
The Data Collectors for vShield and vCloud Director can be monitored and may also be installed on different servers. vCenter
Chargeback is based on a distributed software architecture. vCenter Chargeback gets all the information about the vApps a tenant
has created from vCloud Director. vShield Manager is used to collect information about network activities, such as transferred data
and configured network services such as DHCP addresses, NAT, Firewall, etc..
Introducing hierarchies
vCenter Chargeback is collecting data based on hierarchies. A hierarchy is a collection of vApps, VMs, networks etc.. vCloud
Director has a collection of vApp, VMs, networks, etc. for every tenant. These collections are automatically created and maintained
as a Hierarchy in vCenter Chargeback.
As you can see vCenter Chargeback has created entries in the hierarchy matching the vCD inventory. Every vCD Organization
Virtual Datacenter (oVDC) is listed under the appropriate Allocation Model.
Creating a report
If you want to charge for a resource, e.g. a whole oVDC you may click on the "Reports" tab (1.) and then right-click on the
"eCOM-dev-ovdc" element (2.)
Select "Generate Cost Report".
Report continued
A cost model is a set of costs for resource metrics like vCPU, MEM Disk etc.
As you can see at the "Computation Resources" (4.) you can charge various resources. The rates are stored in the Cost Model (3.)
You can open and modify a Cost Model under the "Manage Cost" tab. We will do this at the end of this Chargeback section
(5.) Click the "Generate Report" button.
Show running reports
As you can see, the report is being generated. Depending on the size of the hierarchy and the billing period this may take some
time. You can run multiple reports at the same time. You can also schedule and email the reports.
Report options
When the report is ready, you can expand the folder tree as well as look at the report in greater detail using RTF, PDF or CSV
formats. Click an icon to generate the desired format. We recommend downloading the report as a PDF!
Download report
If Internet Explorer asks for permission to open the file, please do so.
Open report
If the report looks good to you, the next step is to schedule the report so that it runs automatically every chosen period. The first tab
of the "Generate Cost Report" dialog controls the am ount of detail in a report. The report for the Finance department might be more
detailed, than the report for the CTO.
Activate schedule
If you think the report looks good and it's worth having it each month send out as an email to controlling or others, activate the
scheduling.
You have several options here that pretty much describe themselves.
After selecting a scheduled report, if you want to email the created report automatically every period, click on the envelope and enter
some email addresses. The detailed report is attached to the email as a PDF.
Click "Show" (5.) to display the base rates for each metric. You are also able to charge for HA, Operating Systems, etc. These are
shown in the "Other Costs" Tab(4.).
Roam around and see that it looks almost the same as your internal cloud Rainpole.com. CodeNebulous has a eCommerce vApp
deployed in the cloud!
Catalog
Look at the empty Catalog, we will fill it with the next section
After the vCloud Connector plug in for vCenter has been installed, it will be available under "Solutions and Applications" area in the
"Home" view in vCenter.
Accept Certificate
Accept the certificate warning after clicking the "vCloud Connector" Link
Connect to the eCOM-DEV Organization Cloud by clicking "Add Cloud"
This will require the URL for the Organization created earlier. "Cloud URL:" https://vcloud.rainpole.com/cloud/org/CodeNeb ulous
User:orgadmin
Password: VMware1!
Click "Add" to finish the dialog.
If necessary get the URL for the Organization by looking at the properties of the Org inside Cloud Director
If you don't know the Cloud URL right click properties of the Org within vCloud Director
Note the organization URL which is used to access the Cloud from a web browser:
https://vcloud.rainpole.com/cloud/org/CodeNebulous/
Now workloads can be transferred between any of the 3 constructs shown in vCloud Connector.
Copy a vApp
Right click the vApp to copy and select "Copy to". Note*** The vApp must be powered off, it's similar to a cold Motion.
Transfer options
Fill in the required fields to complete the transfer. Note*** Select Internal as the target Network in the "Network" drop down. When
complete click "OK" Ensure the target Cloud is "ABigTelco".
Please use the "Internal Network only" since this is the right subnet for that vApp
Copy status
Let the workload copy. Depending on size and network speed this copy can take a long time. It this case the vApp is small and
the copy should take around 3 - 5 minutes. You can view the steps performed to transfer the vApp in the screen shot below.
Transfer steps in vSphere
Underneath the transfer dialog you should be able to see the tasks being performed in vSphere to move the workload to the public
cloud.
When the task has completed expand the "ABigTelco" Cloud and right click on the Organization which will then provide a link to
launch a web browser and connect directly to the ABigTelco portal.
After connecting to the ABigTelco Cloud log in with User: orgadmin, Pass:VMware1!. Navigate to "Catalogs" -> "CodeNebulous
Archived vApps".
Right Click on the new vApp in the Catalog and select "Add to My Cloud"
Add to Cloud
In the resulting popup leave the defaults intact and click "Finish"
If you like, set the leases to 1 hour, since the vApp is just a test vApp.
Navigate to "My Cloud" and view the progress of the new vApp creation
The Rainpole developer wants the new vApp to be exactly the same as the original that was transferred so we are disabling guest
customization. To do this select "VMs" (1) on the left side right the click the new VM (2) then select "Properties" (3).
VM Properties
In the resulting "Properties" window navigate to the "Guest OS Customization" Tab and uncheck "Enable guest customization".
Guest Customization is a powerful component to leverage when it makes sense, not only can the SID and Passwords be reset but
the machine can be joined to a domain and custom post scripts can be executed inside the Operating System.
Power on the new VM by high lighting the VM (1) and clicking the Play icon (2) on the top left and the new transferred Virtual Machine
is running in the Public Cloud.
Summary
The Initial Cloud Infrastructure
This completes Lab01 "Building the Hybrid Cloud". Agility and scalability were two of the main drivers for cloud adoption, offering
Rainpole an elastic, scalable source of computing power. The cloud holds the scalability to support sudden peaks in demand,
which would be impossible to deal with within the "business as usual" traditional datacenter. But the journey to the cloud isnt free
of pitfalls and roadblock either. at this stage Rainpole has a solid foundation to start from but there is still much more do be done
especially around "Managing" and Monitoring" the Hybrid Cloud.
Lab02 and Lab03 continue the Rainpole Cloud journey and go deeper into the challenges inherent in Cloud adoption and how to
successfully address them.
x1612