# HPE Alletra MP Storage

## Prerequisites

- All HPE Alletra MP Storage iSCSI ports are reachable from each of the cluster hosts
- The `multipath.conf` settings on each node should be configured as follows:

```
```
defaults {  
    find_multipaths yes  
    user_friendly_names no  
}
```
```

Before you set up Active-Active Peer Persistence (AAPP) replication, ensure that the following requirements are met:

**Supported configurations**

- Remote Copy is configured using either Fibre Channel (RCFC) or IP (RCIP).
- Replication targets are synchronous only.
- HPE Alletra MP B10000 arrays running OS version 10.5.x.
- AAPP replication supports only a 1:1 target mapping.

**Array configuration for AAPP (outside VM Essentials)**

- Complete the AAPP Remote Copy configuration on both primary and secondary arrays.
- Configure replication ports and define targets on both arrays.
- Configure a Quorum Witness for the arrays.

For more information about array configuration for AAPP, see HPE GreenLake for Block Storage UI 2.5 User Guide.

**VM Essentials setup**

- Add both primary and secondary arrays as Storage Servers in Infrastructure > Storage > Server.
- Create a datastore on both the primary and secondary Storage Servers.

**Array configuration for File Share (outside VM Essentials)**

- Configure file port on the array to support file sharing capabilities
- Enable file service on the array
- Set up IP ports or network connectivity on the array and HVM hosts for file access

For more information about array configuration for File Share, see [HPE Alletra Storage MP B10000: SUSE Linux Enterprise Implementation Guide](https://support.hpe.com/hpesc/public/docDisplay?docId=sd00002431en_us&page=GUID-4CF8C4BC-0F51-4EDE-9B9F-D10315558583.html).

## Add HPE Alletra MP Storage

### About this task

The first step is to create a storage server in HPE Morpheus Enterprise. Once the storage server is added, you can create a datastore and provision Instances. Follow these steps to add a Storage Server:

### Procedure

1. Navigate to Infrastructure > Storage
2. In the “Servers” tab, Click the + ADD button
3. From the ADD STORAGE SERVER wizard, input the following: 

   NAME:
   :   Name of the storage server in HPE Morpheus Enterprise

   TYPE:
   :   Select “HPE Alletra MP”

   URL:
   :   URL of HPE Alletra MP Storage (ex. `https://storage-system.example.com` or `https://192.1.2.3:1234`)

   USERNAME:
   :   Add your administrative user account

   PASSWORD:
   :   Add your administrative user account password
4. Select SAVE CHANGES

### Results

![../../_images/add-storage-server.png](https://support.hpe.com/hpesc/public/api/document/sd00008014en_us/GUID-432FC4EC-3961-492E-9423-55CC7E6BCACA-high.png)

The Storage Server will be added and displayed in the Datastore tab.

## Create Datastore

### About this task

Add a Datastore to the Storage Server.

### Procedure

1. Navigate to Infrastructure > Clusters.
2. Click into the detail page for the cluster where the datastore is to be created.
3. Select the Storage tab.
4. Under the Data Stores sub tab, click + ADD.
5. From the ADD DATASTORE wizard, input the following: 

   NAME:
   :   Name of the datastore in HPE Morpheus Enterprise.

   TYPE:
   :   Select the type of storage system.

   STORAGE SERVER:
   :   Select the storage server that is created using the ADD STORAGE SERVER wizard.

   PROTOCOL TYPE:
   :   Select the type of storage protocol.

   RANSOMWARE DETECTION:
   :   Select the check box to enable ransomware detection for all VMs created with this datastore.

   NOTE

   The datastore creation fails if storage servers other than HPE Alletra Storage MP B10000 are selected along with the Ransomware Detection option.

   CPG
   :   Use the drop-down list to select a Common Provisioning Group (CPG) for allocating storage to the new datastore.
6. Click SAVE.

### Results

![Add data store](https://support.hpe.com/hpesc/public/api/document/sd00008014en_us/GUID-6894A520-8797-40DF-9252-2F696167BA9F-high.png)

The datastore is added and displayed in the Datastore tab. Confirm that its status is healthy.

## Create Instance

### About this task

Create an Instance with the Datastore.

### Procedure

1. Navigate to Provisioning > Instances
2. In the Instances tab, Click the + ADD button
3. From the ADD INSTANCE wizard input the following: 

   - From the TYPE section: Select “HVM”
   - Click NEXT

     ![../../_images/create-instance-type.png](https://support.hpe.com/hpesc/public/api/document/sd00008014en_us/GUID-55F890E0-47C6-4621-9A97-C399B1AD1BB0-high.png)
   - From the GROUP tab, input the following:

     GROUP:
     :   Select the Group for the Instance

     CLOUD:
     :   Select the Cloud for the Instance

     NAME:
     :   Name for the Instance in HPE Morpheus Enterprise
   - Click NEXT

     ![../../_images/create-instance-group.png](https://support.hpe.com/hpesc/public/api/document/sd00008014en_us/GUID-4EEB766E-54E0-4C82-A60B-59AE6B75D705-high.png)
   - From the CONFIGURE tab, input the following:

     LAYOUT:
     :   Select the Layout for the Instance

     PLAN:
     :   Select the Plan for the Instance

     RESOURCE POOL:
     :   Select the Resource Pool (Cluster) for the Instance

     VOLUMES:
     :   Add one or more Volumes to the Instance. Select the datastore created in the previous section

     NETWORK:
     :   Add Networks to the Instance

     IMAGE:
     :   Select the Image for the Instance

     HOST:
     :   Select the cluster host for the Instance

     Other configurations may be added as needed.

     ![../../_images/create-instance-configure.png](https://support.hpe.com/hpesc/public/api/document/sd00008014en_us/GUID-358491C6-43F7-4197-9F53-94D50A1E99F1-high.png)
   - Click NEXT
   - Add Automation Tasks, if needed
   - Click NEXT
   - Review the Instance configuration
   - Click COMPLETE![../../_images/create-instance-review.png](https://support.hpe.com/hpesc/public/api/document/sd00008014en_us/GUID-22C7AB89-6966-4E4D-8514-6A2FAD489B61-high.png)

### Results

The Instance is now provisioned to the new datastore and is viewable within the Instances (Provisioning > Instances) section.

## Add a storage server

The first step is to create a storage server in VM Essentials. After the storage server is added, you can view the storage summary and alerts, view or edit volumes, and create and manage file shares. For more information on adding a storage server, see Add HPE Alletra MP Storage.

### Viewing the Summary page

The Summary tab displays system information, capacity utilization of the system, and the number of ransomware alerts detected

1. Navigate to Infrastructure > Storage > Servers.
2. In the Servers tab, select the server. The Summary tab displays the information for the selected server. ![Storage servers summary](https://support.hpe.com/hpesc/public/api/document/sd00008014en_us/GUID-86043600-14FF-43AF-9C2F-3BF2728C7B63-high.png) 

   The Summary tab contains:

   - **Model**: Displays the model name of the system.
   - **Uptime**: Displays the total time that the system has been operational.
   - **IP Address**: Displays the IP address of the system.
   - **System Name**: Displays the system name of the selected server.
   - **Serial #**: Displays the serial number of the system.
   - **System Health**: Displays the system health status of the array depending on the highest severity type of the alerts listed in the Alerts tab for the storage system. The health status values can be Critical, Normal, or Warning.

     | Highest Severity Type of Alerts | Health status |
     | --- | --- |
     | Critical or Fatal | Critical (The system has some major issues that will affect performance) |
     | Major | Warning (The system is operational but with some non-critical issues) |
     | Other types | Normal (The system is functioning as expected) |
   - **Firmware version**: Displays the firmware version of the storage system.
   - **WWN**: Displays a unique identifier name of the system.
   - **Ransomware Detected**: Displays the number of ransomware alerts detected. A hyperlink is displayed when one or more ransomware alert is detected; otherwise, it is displayed as a plain text.

     If a ransomware is detected, you can click the hyperlink to view the alert details by selecting Ransomware monitoring from the Filter by Type drop-down list.

     ![Alerts - ransomware monitoring](https://support.hpe.com/hpesc/public/api/document/sd00008014en_us/GUID-0E521724-F9E5-4619-B9D9-BB943E488958-high.png)
   - **Protection - VM**

     The doughnut chart displays the snapshot protection and remote replication status of virtual machines (VMs) on the storage system. Protection is determined based on snapshot availability with or without remote replication. The protection data is auto-refreshed periodically.

     NOTE

     Click the information (i) icon beside each field to display the description.

     Replication refers to Remote Replication.

     For VMs, the following VM protection status information is displayed:
     - **Snapshot:** Count of VMs where each volume has a point-in-time snapshot.
     - **Replication:** Count of VMs that have replicated volumes.
     - **Snapshot + Replication:** Count of VMs that have replicated volumes, where each volume also has a point-in-time snapshot.
     - **Unprotected:** Count of VMs that have neither replicated volumes nor point-in-time snapshot on any volume.
   - **Protection - Instance**

     This doughnut chart displays the snapshot protection and remote replication status of instances on the storage system. Protection is determined based on snapshot availability with or without remote replication. The protection data is auto-refreshed periodically.

     NOTE

     Click the information (i) icon beside each field to display the description.

     Replication refers to Remote Replication.

     For Instances, the following instance protection status information is displayed:
     - **Snapshot:** Count of instances where every volume associated with each VM has a point-in-time snapshot.
     - **Replication:** Count of instances where every volume associated with each VM is replicated.
     - **Snapshot + Replication:** Count of instances where each associated VM has replicated volumes and every volume has a point-in-time snapshot.
     - **Partially Protected:** Count of instances where some, but not all, of the instance's VMs have snapshots and can be in remote replication.
     - **Unprotected:** Count of instances where each associated VM neither has replicated volumes nor point-in-time snapshot on any volume.
   - **Capacity Utilization**

     The doughnut chart displays the percentage of used capacity and the remaining free capacity in the selected storage system. You can hover over the doughnut chart to view the used and free capacity in TiB.

     - For models HPE Alletra MP B10000, the Capacity Utilization chart populates the usable capacity.
     - For models prior to HPE Alletra MP B10000, the Capacity Utilization chart populates the raw capacity information.

     NOTE

     You can get the latest system information by clicking the Summary tab.

### Viewing Alerts

The Alerts tab displays system alerts with severity levels of Fatal, Critical, or Major.

1. Navigate to Infrastructure > Storage > Servers.
2. In the Servers tab, select the server.
3. Select the Alerts tab.
4. Select the type of alert that you want to view from the Filter by Type drop-down list.
5. The alerts displayed in the Alerts tab provide the following information:
   - **Severity**: Displays the severity of the alert. The severity can be Fatal, Critical, or Major. The severity of the alert determines the health status of the system.
   - **Type**: Displays the type of the alert message.
   - **Message**: Displays the description of the alert message.
   - **Time**: Displays the time when the alert was created. The UTC timezone is the standard timezone in the HPE Morpheus VM Essentials Software.![Storage servers alerts](https://support.hpe.com/hpesc/public/api/document/sd00008014en_us/GUID-727356CD-5252-4B3F-8B26-1C35C6496ADC-high.png)

### Volumes tab

#### Viewing Volumes

The Volumes tab provides a list of all volumes, including their summary, capacity information, and ransomware monitoring status.

1. Navigate to Infrastructure > Storage > Servers.
2. In the Servers tab, select the server name.
3. Select the Volumes tab. You can view the following information:
   - **Volume Name**: Displays the clickable volume name associated with the VM; clicking it redirects to the Infrastructure > Storage  > Volumes page for that specific volume.
   - **Details**: Displays comments or notes associated with the volume.
   - **Usage**: Displays a capacity usage ring indicating storage utilization. The number inside the circle shows the percentage of used space. Hovering over the circle reveals a tooltip with the used space out of the total available space.
   - **IOPS**: Displays the number of read and write operations performed by the volume periodically.
   - **Throughput**: Displays the amount of data transferred to or from the volume periodically.
   - **Ransomware Monitoring**: Indicates whether ransomware monitoring is enabled or disabled for the volume. Ransomware monitoring is enabled or disabled while creating the datastore.

     NOTE

     Once ransomware monitoring is enabled for a datastore, the ransomware monitoring status cannot be edited.

   ![Storage server volumes](https://support.hpe.com/hpesc/public/api/document/sd00008014en_us/GUID-41BFDFBA-960B-4147-B207-A4CE26181568-high.png)

#### Editing volumes

##### About this task

You can edit the volumes individually for VMs created without selecting the Ransomware Detection check box in the ADD DATA STORE screen.

##### Procedure

1. Create a datastore without selecting the Ransomware Detection check box. 

   To create a datastore, go to Infrastructure > Clusters, click the cluster name, then click Storage > Add. For more information on creating a datastore, see [Create Datastore](https://support.hpe.com/hpesc/public/api/document/sd00008014en_us/render?page=GUID-45A52EF2-E1DD-4625-BDE5-C4BE51EA01AD.html#GUID-5332DFF1-C4D9-4CB9-9EB7-53E9A73719DE).
2. Create a VM with the Ransomware Detection disabled datastore.

   To begin provisioning a VM instance with the Ransomware Detection disabled datastore, go to Provisioning > Instances. For more information on creating a VM instance, see Creating Instance.
3. Navigate to Infrastructure > Storage > Servers > Volumes tab.

   The Actions drop-down menu is available for each volume that has the Ransomware Detection disabled.

   NOTE

   For VMs created with Ransomware Detection enabled datastore, the Actions drop-down is not displayed for such volumes.
4. Click Actions > Edit.

   The EDIT VOLUME message is displayed.

   ![Edit volume](https://support.hpe.com/hpesc/public/api/document/sd00008014en_us/GUID-3C0BB41C-91A5-4DEF-B8B5-2061C5B7973F-high.png)
5. To change the status, select the Ransomware Detection check box if it is disabled or clear the check box if it is enabled.
6. Click Save. The changes to the ransomware monitoring are saved.
