# GlusterFS - Get started

## Deploy a cluster <a href="#postgresqlhowtos-commentprovisionnerunpaaspostgresql" id="postgresqlhowtos-commentprovisionnerunpaaspostgresql"></a>

To get started, go to ITCare and search for your target global service where you'll create your new **GlusterFS** cluster.

Search for your Global Service in the top search bar and click on it to display its information page.

Once in your Global Service, click on the **Create Resource** button, select **GlusterFS** and the required version.

Fill in the form:

* Define the name of the future cluster
* Storage required on each instance
* Target location
* Target network
* Management options (backup, monitoring, 24/7, remote site replication)

Click **Next** once all fields have been completed.

In the next step, add a user and define the password for the that user account which will access the volumes, then click **Next**.

{% hint style="warning" %}
Passwords are not saved by cegedim.cloud. Be sure to save your password!
{% endhint %}

Review the summary before submitting the form.

{% hint style="info" %}
Provisioning can take up to 2 hours, depending on the current automation load.
{% endhint %}

Once the deployment is ready, you'll be notified by e-mail.

## Start a cluster

At the top of the cluster page, click on the **Manage** button, then on **Start** and confirm.

{% hint style="info" %}
Cluster startup starts all virtual machines attached to the cluster.
{% endhint %}

An e-mail notification will be sent when the service is activated.

## Stop a cluster

At the top of the cluster page, click on the **Manage** button, then on **Stop.**

Enter an RFC number for tracking (optional). Click on **Submit**.

{% hint style="warning" %}
Shutting down a cluster will stop all virtual machines attached to the cluster, and monitoring will be disabled.
{% endhint %}

An e-mail notification will be sent when the cluster is shut down.

## Resize nodes

At the top of the cluster page, click on the **Manage** button, then on **Resize.**

Select the nodes you wish to resize and select the new size (cpu/ram).

{% hint style="info" %}
Each node will be resized and restarted sequentially.
{% endhint %}

An e-mail notification will be sent when all nodes have been resized.

## Delete a cluster

At the top of the cluster page, click on the **Manage** button, then on **Delete**. This will stop and delete all virtual machines.

{% hint style="danger" %}
Please note that this action is not recoverable!
{% endhint %}

Enter an RFC number for tracking (optional), then click **Submit**.

An e-mail notification will be sent when the cluster is deleted.

## Add a volume

At the top of the cluster page, click on the **Manage** button, then on **Add a volume**.

Before submiting, please provide :

* The desired storage in GB
* The owner's username who will access the volume and its password

An e-mail notification will be sent when the volume has been created.

## Delete a volume

In the **Volumes** tab of the cluster page, click on the **Arrow** button in the **Actions** column, then on **Delete**.

{% hint style="warning" %}
Confirm the deletion but typing the volume name then submit.
{% endhint %}

An e-mail notification will be sent when the volume has been deleted.

## Resize a volume

In the **Volumes** tab of the cluster page, click on the **Arrow** button in the **Actions** column, then on **Resize**.

Provide the desired size in GB then submit.

An e-mail notification will be sent when the volume has been resized.
