Skip to content

Commit a23322b

Browse files
committed
Merge branch '4.2-forward' into 4.2
2 parents a70708d + ad6fc9f commit a23322b

90 files changed

Lines changed: 2596 additions & 1447 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎client/tomcatconf/commands.properties.in‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -609,15 +609,15 @@ addBaremetalPxeKickStartServer=1
609609
addBaremetalPxePingServer=1
610610
addBaremetalDhcp=1
611611
listBaremetalDhcp=1
612-
listBaremetalPxePingServer=1
612+
listBaremetalPxeServers=1
613613

614614
#### UCS commands
615615
addUcsManager=1
616616
listUcsManagers=1
617617
listUcsProfiles=1
618618
listUcsBlades=1
619619
associateUcsProfileToBlade=1
620-
deleteUcsManager=1
620+
removedeleteUcsManager=1
621621

622622
#### New Load Balancer commands
623623
createLoadBalancer=15

‎core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java‎

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1256,6 +1256,41 @@ public String connect(final String ipAddress, final int port) {
12561256
return "Unable to connect";
12571257
}
12581258

1259+
public boolean connect(final String ipAddress, int retry, int sleep) {
1260+
for (int i = 0; i <= retry; i++) {
1261+
SocketChannel sch = null;
1262+
try {
1263+
if (s_logger.isDebugEnabled()) {
1264+
s_logger.debug("Trying to connect to " + ipAddress);
1265+
}
1266+
sch = SocketChannel.open();
1267+
sch.configureBlocking(true);
1268+
1269+
final InetSocketAddress addr = new InetSocketAddress(ipAddress, _port);
1270+
sch.connect(addr);
1271+
return true;
1272+
} catch (final IOException e) {
1273+
if (s_logger.isDebugEnabled()) {
1274+
s_logger.debug("Could not connect to " + ipAddress);
1275+
}
1276+
} finally {
1277+
if (sch != null) {
1278+
try {
1279+
sch.close();
1280+
} catch (final IOException e) {}
1281+
}
1282+
}
1283+
try {
1284+
Thread.sleep(sleep);
1285+
} catch (final InterruptedException e) {
1286+
}
1287+
}
1288+
1289+
s_logger.debug("Unable to logon to " + ipAddress);
1290+
1291+
return false;
1292+
}
1293+
12591294

12601295
@Override
12611296
public String getName() {

‎docs/en-US/Developers_Guide.xml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
<xi:include href="whats-new.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
5151
<xi:include href="api-calls.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
5252
<xi:include href="working-with-usage-data.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
53+
<xi:include href="storage-plugins.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
5354
<xi:include href="working-with-documentation.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
5455
<xi:include href="tools.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
5556
<xi:include href="event-types.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />

‎docs/en-US/Release_Notes.xml‎

Lines changed: 47 additions & 47 deletions
Large diffs are not rendered by default.

‎docs/en-US/about-primary-storage.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
<section id="about-primary-storage">
2626
<title>About Primary Storage</title>
27-
<para>Primary storage is associated with a cluster and/or a zone. It stores the disk volumes for all of the VMs running on hosts in that cluster. You can add multiple primary storage servers to a cluster or a zone (at least one is required at the cluster level). Primary storage is typically located close to the hosts for increased performance.</para>
27+
<para>Primary storage is associated with a cluster and/or a zone. It stores the disk volumes for all of the VMs running on hosts in that cluster. You can add multiple primary storage servers to a cluster or a zone (at least one is required at the cluster level). Primary storage is typically located close to the hosts for increased performance. &PRODUCT; manages the allocation of guest virtual disks to particular primary storage devices.</para>
2828
<para>Primary storage uses the concept of a storage tag. A storage tag is a label that is used to identify the primary storage. Each primary storage can be associated with zero, one, or more storage tags. When a VM is spun up or a data disk attached to a VM for the first time, these tags, if supplied, are used to determine which primary storage can support the VM or data disk (ex. say you need to guarantee a certain number of IOPS to a particular volume).</para>
2929
<para>Primary storage can be either static or dynamic. Static primary storage is what CloudStack has traditionally supported. In this model, the administrator must present CloudStack with a certain amount of preallocated storage (ex. a volume from a SAN) and CloudStack can place many of its volumes on this storage. In the newer, dynamic model, the administrator can present CloudStack with a storage system itself (ex. a SAN). CloudStack, working in concert with a plug-in developed for that storage system, can dynamically create volumes on the storage system. A valuable use for this ability is Quality of Service (QoS). If a volume created in CloudStack can be backed by a dedicated volume on a SAN (i.e. a one-to-one mapping between a SAN volume and a CloudStack volume) and the SAN provides QoS, then CloudStack can provide QoS.</para>
3030
<para>&PRODUCT; is designed to work with all standards-compliant iSCSI and NFS servers that are supported by the underlying hypervisor, including, for example:</para>

‎docs/en-US/about-secondary-storage.xml‎

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,28 @@
2424

2525
<section id="about-secondary-storage">
2626
<title>About Secondary Storage</title>
27-
<para>Secondary storage is associated with a zone, and it stores the following:</para>
27+
<para>Secondary storage stores the following:</para>
2828
<itemizedlist>
2929
<listitem><para>Templates &mdash; OS images that can be used to boot VMs and can include additional configuration information, such as installed applications</para></listitem>
3030
<listitem><para>ISO images &mdash; disc images containing data or bootable media for operating systems</para></listitem>
3131
<listitem><para>Disk volume snapshots &mdash; saved copies of VM data which can be used for data recovery or to create new templates</para></listitem>
3232
</itemizedlist>
33-
<para>The items in zone-based NFS secondary storage are available to all hosts in the zone. &PRODUCT; manages the allocation of guest virtual disks to particular primary storage devices.</para>
34-
<para>To make items in secondary storage available to all hosts throughout the cloud, you can add OpenStack Object Storage (Swift, <ulink url="http://swift.openstack.org">swift.openstack.org</ulink>) in addition to the zone-based NFS secondary storage. When using Swift, you configure Swift storage for the entire &PRODUCT;, then set up NFS secondary storage for each zone as usual. The NFS storage in each zone acts as a staging area through which all templates and other secondary storage data pass before being forwarded to Swift. The Swift storage acts as a cloud-wide resource, making templates and other data available to any zone in the cloud. There is no hierarchy in the Swift storage, just one Swift container per storage object. Any secondary storage in the whole cloud can pull a container from Swift at need. It is not necessary to copy templates and snapshots from one zone to another, as would be required when using zone NFS alone. Everything is available everywhere.</para>
33+
<para>The items in secondary storage are available to all hosts in the scope of
34+
the secondary storage, which may be defined as per zone or per region.</para>
35+
<para>To make items in secondary storage available to all hosts throughout the cloud, you can
36+
add object storage in addition to the
37+
zone-based NFS Secondary Staging Store.
38+
It is not necessary to
39+
copy templates and snapshots from one zone to another, as would be required when using zone
40+
NFS alone. Everything is available everywhere.</para>
41+
<para>&PRODUCT; provides plugins that enable both
42+
OpenStack Object Storage (Swift,
43+
<ulink url="http://swift.openstack.org">swift.openstack.org</ulink>)
44+
and Amazon Simple Storage Service (S3) object storage.
45+
When using one of these storage plugins, you configure Swift or S3 storage for
46+
the entire &PRODUCT;, then set up the NFS Secondary Staging Store for each zone. The NFS
47+
storage in each zone acts as a staging area through which all templates and other secondary
48+
storage data pass before being forwarded to Swoft or S3.
49+
The backing object storage acts as a cloud-wide
50+
resource, making templates and other data available to any zone in the cloud.</para>
3551
</section>

‎docs/en-US/about-zones.xml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,20 @@
5555
</itemizedlist>
5656
<para>When you add a new zone using the &PRODUCT; UI, you will be prompted to configure the zone’s physical network
5757
and add the first pod, cluster, host, primary storage, and secondary storage.</para>
58+
<para>In order to support zone-wide functions for VMware, &PRODUCT; is aware of VMware Datacenters and can map each Datacenter to a
59+
&PRODUCT; zone. To enable features like storage live migration and zone-wide
60+
primary storage for VMware hosts, &PRODUCT; has to make sure that a zone
61+
contains only a single VMware Datacenter. Therefore, when you are creating a new
62+
&PRODUCT; zone, you can select a VMware Datacenter for the zone. If you
63+
are provisioning multiple VMware Datacenters, each one will be set up as a single zone
64+
in &PRODUCT;. </para>
65+
<note>
66+
<para>If you are upgrading from a previous &PRODUCT; version, and your existing
67+
deployment contains a zone with clusters from multiple VMware Datacenters, that zone
68+
will not be forcibly migrated to the new model. It will continue to function as
69+
before. However, any new zone-wide operations, such as zone-wide primary storage
70+
and live storage migration, will
71+
not be available in that zone.</para>
72+
</note>
73+
<para/>
5874
</section>

‎docs/en-US/basic-zone-configuration.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
<listitem><para>Choose which traffic types will be carried by the physical network.</para>
6666
<para>The traffic types are management, public, guest, and storage traffic. For more information about the types, roll over the icons to display their tool tips, or see Basic Zone Network Traffic Types. This screen starts out with some traffic types already assigned. To add more, drag and drop traffic types onto the network. You can also change the network name if desired.</para>
6767
</listitem>
68-
<listitem><para>3. (Introduced in version 3.0.1) Assign a network traffic label to each traffic type on the physical network. These labels must match the labels you have already defined on the hypervisor host. To assign each label, click the Edit button under the traffic type icon. A popup dialog appears where you can type the label, then click OK.</para>
68+
<listitem><para>Assign a network traffic label to each traffic type on the physical network. These labels must match the labels you have already defined on the hypervisor host. To assign each label, click the Edit button under the traffic type icon. A popup dialog appears where you can type the label, then click OK.</para>
6969
<para>These traffic labels will be defined only for the hypervisor selected for the first cluster. For all other hypervisors, the labels can be configured after the zone is created.</para>
7070
</listitem>
7171
<listitem><para>Click Next.</para></listitem>

‎docs/en-US/images/vds-name.png‎

63.2 KB
Loading

‎docs/en-US/primary-storage-add.xml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,10 @@
5252
<listitem>
5353
<para>Provide the following information in the dialog. The information required varies depending on your choice in Protocol.</para>
5454
<itemizedlist>
55-
<listitem><para><emphasis role="bold">Pod.</emphasis> The pod for the storage device.</para></listitem>
56-
<listitem><para><emphasis role="bold">Cluster.</emphasis> The cluster for the storage device.</para></listitem>
55+
<listitem><para>Scope. Indicate whether the storage is available to all hosts in the zone or only to hosts in a single cluster.</para></listitem>
56+
<listitem><para>Pod. (Visible only if you choose Cluster in the Scope field.) The pod for the storage device.</para></listitem>
57+
<listitem><para>Cluster. (Visible only if you choose Cluster in the Scope field.) The cluster for the storage device.</para></listitem>
58+
<listitem><para>Name. The name of the storage device</para></listitem>
5759
<listitem><para><emphasis role="bold">Name.</emphasis> The name of the storage device.</para></listitem>
5860
<listitem><para><emphasis role="bold">Protocol.</emphasis> For XenServer, choose either NFS, iSCSI, or PreSetup. For KVM, choose NFS or SharedMountPoint. For vSphere choose either VMFS (iSCSI or FiberChannel) or NFS.</para></listitem>
5961
<listitem><para><emphasis role="bold">Server (for NFS, iSCSI, or PreSetup).</emphasis> The IP address or DNS name of the storage device.</para></listitem>

0 commit comments

Comments
 (0)