Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

15.27.13.

Removing Tiers
You can remove a tier from a VPC. A removed tier cannot be revoked. When a tier is removed, only the resources of the
tier are expunged. All the network rules (port forwarding, load balancing and staticNAT) and the IP addresses associated
to the tier are removed. The IP address still be belonging to the same VPC.
1. Log in to the CloudStack UI as an administrator or end user.
2. In the left navigation, choose Network.
3. In the Select view, select VPC.
All the VPC that you have created for the account is listed in the page.
4. Click the Configure button of the VPC for which you want to set up tiers.
The Configure VPC page is displayed. Locate the tier you want to work with.
5. Select the tier you want to remove.
6. In the Network Details tab, click the Delete Network button.
Click Yes to confirm. Wait for some time for the tier to be removed.
15.27.14. Editing, Restarting, and Removing a Virtual Private Cloud
Note
Ensure that all the tiers are removed before you remove a VPC.
1. Log in to the CloudStack UI as an administrator or end user.
2. In the left navigation, choose Network.
3. In the Select view, select VPC.
All the VPCs that you have created for the account is listed in the page.
All the VPCs that you have created for the account is listed in the page.
4. Select the VPC you want to work with.
5. In the Details tab, click the Remove VPC button
You can remove the VPC by also using the remove button in the Quick View.
You can edit the name and description of a VPC. To do that, select the VPC, then click the Edit button.
To restart a VPC, select the VPC, then click the Restart button.
15.28. Persistent Networks
The network that you can provision without having to deploy any VMs on it is called a persistent network. A persistent
network can be part of a VPC or a non-VPC environment.
When you create other types of network, a network is only a database entry until the first VM is created on that network.
When the first VM is created, a VLAN ID is assigned and the network is provisioned. Also, when the last VM is destroyed,
the VLAN ID is released and the network is no longer available. With the addition of persistent network, you will have the
ability to create a network in CloudStack in which physical devices can be deployed without having to run any VMs.
Additionally, you can deploy physical devices on that network.
One of the advantages of having a persistent network is that you can create a VPC with a tier consisting of only physical
devices. For example, you might create a VPC for a three-tier application, deploy VMs for Web and Application tier, and
use physical machines for the Database tier. Another use case is that if you are providing services by using physical
hardware, you can define the network as persistent and therefore even if all its VMs are destroyed the services will not be
discontinued.
15.28.1. Persistent Network Considerations
Persistent network is designed for isolated networks.
All default network offerings are non-persistent.
A network offering cannot be editable because changing it affects the behavior of the existing networks that were
created using this network offering.
When you create a guest network, the network offering that you select defines the network persistence. This in turn
depends on whether persistent network is enabled in the selected network offering.
An existing network can be made persistent by changing its network offering to an offering that has the Persistent
option enabled. While setting this property, even if the network has no running VMs, the network is provisioned.
An existing network can be made non-persistent by changing its network offering to an offering that has the Persistent
option disabled. If the network has no running VMs, during the next network garbage collection run the network is shut
down.
When the last VM on a network is destroyed, the network garbage collector checks if the network offering associated
with the network is persistent, and shuts down the network only if it is non-persistent.
15.28.2. Creating a Persistent Guest Network
To create a persistent network, perform the following:
1. Create a network offering with the Persistent option enabled.
See the Administration Guide.
2. Select Network from the left navigation pane.
3. Select the guest network that you want to offer this network service to.
4. Click the Edit button.
5. From the Network Offering drop-down, select the persistent network offering you have just created.
6. Click OK.

Chapter 16. Best Practices


16.1. Process Best Practices
16.2. Setup Best Practices
16.3. Maintenance Best Practices
Deploying a cloud is challenging. There are many different technology choices to make, and CloudStack is flexible
enough in its configuration that there are many possible ways to combine and configure the chosen technology. This
section contains suggestions and requirements about cloud deployments.
These should be treated as suggestions and not absolutes. However, we do encourage anyone planning to build a cloud
outside of these guidelines to seek guidance and advice on the project mailing lists.
16.1. Process Best Practices
A staging system that models the production environment is strongly advised. It is critical if customizations have been
applied to CloudStack.
applied to CloudStack.
Allow adequate time for installation, a beta, and learning the system. Installs with basic networking can be done in
hours. Installs with advanced networking usually take several days for the first attempt, with complicated installations
taking longer. For a full production system, allow at least 4-8 weeks for a beta to work through all of the integration
issues. You can get help from fellow users on the cloudstack-users mailing list.
16.2. Setup Best Practices
Each host should be configured to accept connections only from well-known entities such as the CloudStack
Management Server or your network monitoring software.
Use multiple clusters per pod if you need to achieve a certain switch density.
Primary storage mountpoints or LUNs should not exceed 6 TB in size. It is better to have multiple smaller primary
storage elements per cluster than one large one.
When exporting shares on primary storage, avoid data loss by restricting the range of IP addresses that can access
the storage. See "Linux NFS on Local Disks and DAS" or "Linux NFS on iSCSI".
NIC bonding is straightforward to implement and provides increased reliability.
10G networks are generally recommended for storage access when larger servers that can support relatively more
VMs are used.
Host capacity should generally be modeled in terms of RAM for the guests. Storage and CPU may be overprovisioned.
RAM may not. RAM is usually the limiting factor in capacity designs.
(XenServer) Configure the XenServer dom0 settings to allocate more memory to dom0. This can enable XenServer to
handle larger numbers of virtual machines. We recommend 2940 MB of RAM for XenServer dom0. For instructions on
how to do this, see http://support.citrix.com/article/CTX126531. The article refers to XenServer 5.6, but the same
information applies to XenServer 6.0.
16.3. Maintenance Best Practices
Monitor host disk space. Many host failures occur because the host's root disk fills up from logs that were not rotated
adequately.
Monitor the total number of VM instances in each cluster, and disable allocation to the cluster if the total is
approaching the maximum that the hypervisor can handle. Be sure to leave a safety margin to allow for the possibility
of one or more hosts failing, which would increase the VM load on the other hosts as the VMs are redeployed. Consult
the documentation for your chosen hypervisor to find the maximum permitted number of VMs per host, then use
CloudStack global configuration settings to set this as the default limit. Monitor the VM activity in each cluster and keep
the total number of VMs below a safe level that allows for the occasional host failure. For example, if there are N hosts
in the cluster, and you want to allow for one host in the cluster to be down at any given time, the total number of VM
instances you can permit in the cluster is at most (N-1) * (per-host-limit). Once a cluster reaches this number of VMs,
use the CloudStack UI to disable allocation to the cluster.
Warning
The lack of up-do-date hotfixes can lead to data corruption and lost VMs.
Be sure all the hotfixes provided by the hypervisor vendor are applied. Track the release of hypervisor patches through
your hypervisor vendor’s support channel, and apply patches as soon as possible after they are released. CloudStack
will not track or notify you of required hypervisor patches. It is essential that your hosts are completely up to date with the
provided hypervisor patches. The hypervisor vendor is likely to refuse to support any system that is not up to date with
patches.

Revision History
Revision 1-0 October 5 2012 Jessica Tomechak, Radhika PC, Wido den Hollander
Initial publication

You might also like