Skip to content

Commit b6fb19f

Browse files
gavinlxhMice Xia
authored andcommitted
docbook for adding primary and secondary storage
Signed-off-by: Gavin Lee <gavin.lxh@gmail.com> Signed-off-by: Mice Xia <mice_xia@tcloudcomputing.com>
1 parent 56b4ac1 commit b6fb19f

4 files changed

Lines changed: 71 additions & 6 deletions

File tree

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

Lines changed: 48 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,52 @@
2323
-->
2424

2525
<section id="primary-storage-add">
26-
<title>Adding Primary Storage</title>
27-
<para>TODO</para>
26+
<title>Add Primary Storage</title>
27+
<section id="sys-require-primary-storage">
28+
<title>System Requirements for Primary Storage</title>
29+
<para>Hardware requirements:</para>
30+
<itemizedlist>
31+
<listitem><para>Any standards-compliant iSCSI or NFS server that is supported by the underlying hypervisor.</para></listitem>
32+
<listitem><para>The storage server should be a machine with a large number of disks. The disks should ideally be managed by a hardware RAID controller.</para></listitem>
33+
<listitem><para>Minimum required capacity depends on your needs.</para></listitem>
34+
</itemizedlist>
35+
<para>When setting up primary storage, follow these restrictions:</para>
36+
<itemizedlist>
37+
<listitem><para>Primary storage cannot be added until a host has been added to the cluster.</para></listitem>
38+
<listitem><para>If you do not provision shared primary storage, you must set the global configuration parameter system.vm.local.storage.required to true, or else you will not be able to start VMs.</para></listitem>
39+
</itemizedlist>
40+
</section>
41+
<section id="adding-primary-storage">
42+
<title>Adding Primary Stroage</title>
43+
<para>When you create a new zone, the first primary storage is added as part of that procedure. You can add primary storage servers at any time, such as when adding a new cluster or adding more servers to an existing cluster.</para>
44+
<warning><para>Be sure there is nothing stored on the server. Adding the server to &PRODUCT; will destroy any existing data.</para></warning>
45+
<orderedlist>
46+
<listitem><para>Log in to the &PRODUCT; UI (see <xref linkend="log-in" />).</para></listitem>
47+
<listitem><para>In the left navigation, choose Infrastructure. In Zones, click View More, then click the zone in which you want to add the primary storage.</para></listitem>
48+
<listitem><para>Click the Compute tab.</para></listitem>
49+
<listitem><para>In the Primary Storage node of the diagram, click View All.</para></listitem>
50+
<listitem><para>Click Add Primary Storage.</para></listitem>
51+
<listitem>
52+
<para>Provide the following information in the dialog. The information required varies depending on your choice in Protocol.</para>
53+
<itemizedlist>
54+
<listitem><para><emphasis role="bold">Pod.</emphasis> The pod for the storage device.</para></listitem>
55+
<listitem><para><emphasis role="bold">Cluster.</emphasis> The cluster for the storage device.</para></listitem>
56+
<listitem><para><emphasis role="bold">Name.</emphasis> The name of the storage device.</para></listitem>
57+
<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>
58+
<listitem><para><emphasis role="bold">Server (for NFS, iSCSI, or PreSetup).</emphasis> The IP address or DNS name of the storage device.</para></listitem>
59+
<listitem><para><emphasis role="bold">Server (for VMFS).</emphasis> The IP address or DNS name of the vCenter server.</para></listitem>
60+
<listitem><para><emphasis role="bold">Path (for NFS).</emphasis> In NFS this is the exported path from the server.</para></listitem>
61+
<listitem><para><emphasis role="bold">Path (for VMFS).</emphasis> In vSphere this is a combination of the datacenter name and the datastore name. The format is "/" datacenter name "/" datastore name. For example, "/cloud.dc.VM/cluster1datastore".</para></listitem>
62+
<listitem><para><emphasis role="bold">Path (for SharedMountPoint).</emphasis> With KVM this is the path on each host that is where this primary storage is mounted. For example, "/mnt/primary".</para></listitem>
63+
<listitem><para><emphasis role="bold">SR Name-Label (for PreSetup).</emphasis> Enter the name-label of the SR that has been set up outside &PRODUCT;.</para></listitem>
64+
<listitem><para><emphasis role="bold">Target IQN (for iSCSI).</emphasis> In iSCSI this is the IQN of the target. For example, iqn.1986-03.com.sun:02:01ec9bb549-1271378984.</para></listitem>
65+
<listitem><para><emphasis role="bold">Lun # (for iSCSI).</emphasis> In iSCSI this is the LUN number. For example, 3.</para></listitem>
66+
<listitem><para><emphasis role="bold">Tags (optional).</emphasis> The comma-separated list of tags for this storage device. It should be an equivalent set or superset of the tags on your disk offerings..</para></listitem>
67+
</itemizedlist>
68+
<para>The tag sets on primary storage across clusters in a Zone must be identical. For example, if cluster A provides primary storage that has tags T1 and T2, all other clusters in the Zone must also provide primary storage that has tags T1 and T2.</para>
69+
</listitem>
70+
<listitem><para>Click OK.</para></listitem>
71+
</orderedlist>
72+
73+
</section>
2874
</section>

docs/en-US/secondary-storage-add.xml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,26 @@
2323
-->
2424

2525
<section id="secondary-storage-add">
26+
<title>Add Secondary Storage</title>
27+
<section id="sys-require-secondary-storage">
28+
<title>System Requirements for Secondary Storage</title>
29+
<itemizedlist>
30+
<listitem><para>NFS storage appliance or Linux NFS server</para></listitem>
31+
<listitem><para>(Optional) OpenStack Object Storage (Swift) (see http://swift.openstack.org)</para></listitem>
32+
<listitem><para>100GB minimum capacity</para></listitem>
33+
<listitem><para>A secondary storage device must be located in the same zone as the guest VMs it serves.</para></listitem>
34+
<listitem><para>Each Secondary Storage server must be available to all hosts in the zone.</para></listitem>
35+
</itemizedlist>
36+
</section>
37+
<section id="adding-secondary-storage">
2638
<title>Adding Secondary Storage</title>
27-
<para>TODO</para>
39+
<para>When you create a new zone, the first secondary storage is added as part of that procedure. You can add secondary storage servers at any time to add more servers to an existing zone.</para>
40+
<warning><para>Be sure there is nothing stored on the server. Adding the server to &PRODUCT; will destroy any existing data.</para></warning>
41+
<orderedlist>
42+
<listitem><para>If you are going to use Swift for cloud-wide secondary storage, you must add the Swift storage to &PRODUCT; before you add the local zone secondary storage servers. See <xref linkend="zone-add" />.</para></listitem>
43+
<listitem><para>To prepare for local zone secondary storage, you should have created and mounted an NFS share during Management Server installation. <phrase condition="install">See <xref linkend="prepare-nfs-shares" />.</phrase><phrase condition="admin">See Preparing NFS Shares in the Installation Guide.</phrase></para></listitem>
44+
<listitem><para>Make sure you prepared the system VM template during Management Server installation. <phrase condition="install">See <xref linkend="prepare-system-vm-template" />.</phrase><phrase condition="admin">See Prepare the System VM Template in the Installation Guide.</phrase></para></listitem>
45+
<listitem><para>Now that the secondary storage server for per-zone storage is prepared, add it to &PRODUCT;. Secondary storage is added as part of the procedure for adding a new zone. See <xref linkend="zone-add" />.</para></listitem>
46+
</orderedlist>
47+
</section>
2848
</section>

docs/publican-all.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ docname: cloudstack
2525
brand: cloudstack
2626
chunk_first: 1
2727
chunk_section_depth: 1
28+
condition: install

docs/publican-install.cfg

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,4 @@ docname: cloudstack_installation
2424
brand: cloudstack
2525
chunk_first: 1
2626
chunk_section_depth: 1
27-
28-
29-
27+
condition: install

0 commit comments

Comments
 (0)