|
23 | 23 | --> |
24 | 24 |
|
25 | 25 | <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> |
28 | 74 | </section> |
0 commit comments