ViPR 2.1 - Add Linux Hosts and Clusters to ViPR

Table of Contents

Overview

ViPR Tenant Administrators can learn about ViPR support requirements, prerequisite information to prepare Linux® hosts for ViPR integration, the steps to add the host to ViPR, the steps to configure the Linux host initiators, and the optional steps to add the host to a ViPR cluster.

This article is part of a series

You can add hosts to ViPR at anytime. If, however, you are setting up the virtual data center for the first time, complete the steps in Step by Step: Setup a ViPR Virtual Data Center.

Back to Top

ViPR configuration requirements for Linux hosts

Linux hosts must be configured as follows to be discovered by ViPR, and used for ViPR provisioning.

Linux version support

For supported versions, see the EMC ViPR Support Matrix on the EMC Community Network (community.emc.com).

Configuration requirements

Linux user requirements

When ViPR storage is attached to a Linux host it needs to run commands on the host. To access the host, ViPR uses the credentials entered at the time the host is added to ViPR. These are usually the credentials for the root account. If you do not wish to give ViPR root access to a Linux host, it is recommended to give the sudo user ALL privileges to run the commands ViPR requires.

Back to Top

Add a Linux host to ViPR

The following steps describe how to add a host to ViPR using the ViPR UI. To use the REST API to add a host to ViPR see Add Hosts and Clusters with the ViPR REST API

Before you begin

Hosts can only be added to ViPR by ViPR Tenant Administrators.

Procedure

  1. Select Physical Assets > Hosts.
  2. If working in a multi-tenancy environment, select the tenant.
  3. Click Add.
  4. Select Linux, for the operating system type..
  5. Enter a name to identify the host in ViPR.
  6. Enter the host fully qualified domain name or IP address.
  7. Select the protocol; HTTP or HTTPs
  8. Enter the port that ViPR will use to communicate with the host.
  9. Enable Discoverable to allow ViPR to automatically discover and register the host initiators.
    If Discoverable is disabled, the host initiators must be manually registered in ViPR.
  10. Enter the host login credentials.
  11. Enable Validation on Save to enable ViPR to check connectivity to the host before saving the host details.
  12. Save.

After you finish

If Discoverable was not selected, continue to add and register the host initiators.

Back to Top

Network configuration requirements for hosts

After a host is added to ViPR, configure the networks if required before using the host in a service.

Fibre Channel

IP

Add the host ports to an IP network.

ViPR can discover the ports of IP connected storage systems and hosts , but it cannot discover the paths between them, so it is necessary to create IP networks, and then add the host, and storage system ports, which will be provisioned together, to the same IP network.

iSCSI

Hosts that use ViPR services with the iSCSI protocol must have their iSCSI ports logged into the correct target array ports before they can be used in the service.

Back to Top

Host initiator and host port configuration

Once the host has been added to ViPR, configure the host initiators, or host ports as required.

Back to Top

Deregister host initiators

Deregistering a host initiator leaves the host initiator in the ViPR assets, but makes it unavailable to use in any VIPR service operations.

Before you begin

Only host initiators, currently not in use in a ViPR export, can be deregistered.

Procedure

  1. Open the Host Initiators page.
    1. Select Physical Assets > Hosts.
    2. Locate the row for the host, and click the Initiators button in the Edit column.
  2. Check the box in first column of the row with the host initiator to deregister.
  3. Click Deregister.
Back to Top

Adding host initiators

Host initiators must be manually added for hosts that are not automatically discovered by ViPR.

Procedure

  1. Open the Host Initiators page
    1. Select Physical Assets > Hosts.
    2. Locate the row for the host, and click the Initiators button in the Edit column.
  2. Click Add.
  3. If Fibre Channel, enter the host initiator Node (World Wide Name) name.
  4. Enter the Port information:
    • World Wide Port Name (WWPN) for Fibre Channel.
    • iSCSI Qualified Name (IQN) for iSCSI .
  5. Click Add.

After you finish

After adding the host initiators, they must be registered before they are available for use in ViPR service operations.

Back to Top

Registering host initiators

Host initiators manually added to ViPR or host initiators previously unregistered in ViPR, must be registered to be used in a service.

Procedure

  1. Open the Host Initiators page.
    1. Select Physical Assets > Hosts.
    2. Locate the row for the host, and click the Initiators button in the Edit column.
  2. Check the box in first column of the row or rows with the host initiators to register.
  3. Click Register.
Back to Top

Add host ports to an IP network

If adding hosts to provision over an IP network, the host ports must be added to the IP network.

Before you begin

IP Networks are created by System Administrators. Tenant Administrators cannot configure IP networks or add host ports to the network.

Procedure

  1. Select Physical Assets Networks page.
  2. If the Network is already created, click the name from the list of networks.
    If the Network is not created, create it:
    1. Click Add IP Network.
    2. Enter the network Name.
    3. Select the storage systems to include in the network.
  3. Under the IP Ports table, click Add to manually add the host ports, or click the Add arrow, and select Add Host Ports to select from the list of discovered host ports.
  4. Enter or select the host ports to use in the IP network.
  5. Click Save.
Back to Top

Add the host to a cluster

Optionally, hosts can be added to ViPR clusters. Adding hosts to clusters allows service operations to be performed exclusively on a single host, or shared across all the hosts in a cluster.

Before you begin

Procedure

  1. Select Physical Assets > Clusters.
  2. If in a multi-tenancy environment, select the Tenant.
  3. If the cluster is not listed, create it:
    1. Click Add.
    2. Provide the Name, and click Save.
  4. Locate the cluster that will be edited in the list of clusters.
  5. Click Edit Hosts in the right column in the same row as the cluster.
  6. Click Add.
  7. Check the box next to the host to add to the cluster, and click Add again.
Back to Top