|
39 | 39 | </itemizedlist> |
40 | 40 | </section> |
41 | 41 | <section id="adding-primary-storage"> |
42 | | - <title>Adding Primary Stroage</title> |
| 42 | + <title>Adding Primary Storage</title> |
43 | 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> |
| 44 | + <warning><para>When using preallocated storage for primary storage, be sure there is nothing on the storage (ex. you have an empty SAN volume or an empty NFS share). Adding the storage to &PRODUCT; will destroy any existing data.</para></warning> |
| 45 | + <note><para>Primary storage can also be added at the zone level through the &PRODUCT; API (adding zone-level primary storage is not yet supported through the &PRODUCT; UI).</para><para>Once primary storage has been added at the zone level, it can be managed through the &PRODUCT; UI.</para></note> |
45 | 46 | <orderedlist> |
46 | 47 | <listitem><para>Log in to the &PRODUCT; UI (see <xref linkend="log-in" />).</para></listitem> |
47 | 48 | <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> |
|
69 | 70 | </listitem> |
70 | 71 | <listitem><para>Click OK.</para></listitem> |
71 | 72 | </orderedlist> |
72 | | - |
| 73 | + </section> |
| 74 | + <section> |
| 75 | + <title>Configuring a Storage Plug-in</title> |
| 76 | + <note> |
| 77 | + <para>Primary storage that is based on a custom plug-in (ex. SolidFire) must be added through the &PRODUCT; API (described later in this section). There is no support at this time through the &PRODUCT; UI to add this type of primary storage (although most of its features are available through the &PRODUCT; UI).</para> |
| 78 | + </note> |
| 79 | + <note> |
| 80 | + <para>At this time, a custom storage plug-in, such as the SolidFire storage plug-in, can only be leveraged for data disks (through Disk Offerings).</para> |
| 81 | + </note> |
| 82 | + <note> |
| 83 | + <para>The SolidFire storage plug-in for &PRODUCT; is part of the standard &PRODUCT; install. There is no additional work required to add this component.</para> |
| 84 | + </note> |
| 85 | + <para>Adding primary storage that is based on the SolidFire plug-in enables &PRODUCT; to provide hard quality-of-service (QoS) guarantees.</para> |
| 86 | + <para>When used with Disk Offerings, an administrator is able to build an environment in which a data disk that a user creates leads to the dynamic creation of a SolidFire volume, which has guaranteed performance. Such a SolidFire volume is associated with one (and only ever one) &PRODUCT; volume, so performance of the &PRODUCT; volume does not vary depending on how heavily other tenants are using the system.</para> |
| 87 | + <para>The createStoragePool API has been augmented to support plugable storage providers. The following is a list of parameters to use when adding storage to &PRODUCT; that is based on the SolidFire plug-in:</para> |
| 88 | + <itemizedlist> |
| 89 | + <listitem> |
| 90 | + <para>command=createStoragePool</para> |
| 91 | + </listitem> |
| 92 | + <listitem> |
| 93 | + <para>scope=zone</para> |
| 94 | + </listitem> |
| 95 | + <listitem> |
| 96 | + <para>zoneId=[your zone id]</para> |
| 97 | + </listitem> |
| 98 | + <listitem> |
| 99 | + <para>name=[name for primary storage]</para> |
| 100 | + </listitem> |
| 101 | + <listitem> |
| 102 | + <para>hypervisor=Any</para> |
| 103 | + </listitem> |
| 104 | + <listitem> |
| 105 | + <para>provider=SolidFire</para> |
| 106 | + </listitem> |
| 107 | + <listitem> |
| 108 | + <para>capacityIops=[whole number of IOPS from the SAN to give to &PRODUCT;]</para> |
| 109 | + </listitem> |
| 110 | + <listitem> |
| 111 | + <para>capacityBytes=[whole number of bytes from the SAN to give to &PRODUCT;]</para> |
| 112 | + </listitem> |
| 113 | + </itemizedlist> |
| 114 | + <para>The url parameter is somewhat unique in that its value can contain additional key/value pairs.</para> |
| 115 | + <itemizedlist> |
| 116 | + <para>url=[key/value pairs detailed below (values are URL encoded; for example, '=' is represented as '%3D')]</para> |
| 117 | + <listitem> |
| 118 | + <para>MVIP%3D[Management Virtual IP Address] (can be suffixed with :[port number])</para> |
| 119 | + </listitem> |
| 120 | + <listitem> |
| 121 | + <para>SVIP%3D[Storage Virtual IP Address] (can be suffixed with :[port number])</para> |
| 122 | + </listitem> |
| 123 | + <listitem> |
| 124 | + <para>clusterAdminUsername%3D[cluster admin's username]</para> |
| 125 | + </listitem> |
| 126 | + <listitem> |
| 127 | + <para>clusterAdminPassword%3D[cluster admin's password]</para> |
| 128 | + </listitem> |
| 129 | + <listitem> |
| 130 | + <para>clusterDefaultMinIops%3D[Min IOPS (whole number) to set for a volume; used if Min IOPS is not specified by administrator or user]</para> |
| 131 | + </listitem> |
| 132 | + <listitem> |
| 133 | + <para>clusterDefaultMaxIops%3D[Max IOPS (whole number) to set for a volume; used if Max IOPS is not specified by administrator or user]</para> |
| 134 | + </listitem> |
| 135 | + <listitem> |
| 136 | + <para>clusterDefaultBurstIopsPercentOfMaxIops%3D[Burst IOPS is determined by (Min IOPS * clusterDefaultBurstIopsPercentOfMaxIops parameter) (can be a decimal value)] |
| 137 | + </para> |
| 138 | + </listitem> |
| 139 | + </itemizedlist> |
| 140 | + <para>Example URL to add primary storage to &PRODUCT; based on the SolidFire plug-in (note that URL encoding is used with the value of the url key, so '%3A' equals ':','%3B' equals '&' and '%3D' equals '='):</para> |
| 141 | + <para> |
| 142 | + http://127.0.0.1:8080/client/api?command=createStoragePool |
| 143 | + &scope=zone |
| 144 | + &zoneId=cf4e6ddf-8ae7-4194-8270-d46733a52b55 |
| 145 | + &name=SolidFire_121258566 |
| 146 | + &url=MVIP%3D192.168.138.180%3A443 |
| 147 | + %3BSVIP%3D192.168.56.7 |
| 148 | + %3BclusterAdminUsername%3Dadmin |
| 149 | + %3BclusterAdminPassword%3Dpassword |
| 150 | + %3BclusterDefaultMinIops%3D200 |
| 151 | + %3BclusterDefaultMaxIops%3D300 |
| 152 | + %3BclusterDefaultBurstIopsPercentOfMaxIop%3D2.5 |
| 153 | + &provider=SolidFire |
| 154 | + &tags=SolidFire_SAN_1 |
| 155 | + &capacityIops=4000000 |
| 156 | + &capacityBytes=2251799813685248 |
| 157 | + &hypervisor=Any |
| 158 | + &response=json |
| 159 | + &apiKey=VrrkiZQWFFgSdA6k3DYtoKLcrgQJjZXoSWzicHXt8rYd9Bl47p8L39p0p8vfDpiljtlcMLn_jatMSqCWv5Cs-Q&signature=wqf8KzcPpY2JmT1Sxk%2F%2BWbgX3l8%3D |
| 160 | + </para> |
73 | 161 | </section> |
74 | 162 | </section> |
0 commit comments