Attaching the Storage to the Portal
  • 21 Mar 2022
  • 1 Minute to read
  • Dark
    Light
  • PDF

Attaching the Storage to the Portal

  • Dark
    Light
  • PDF

Article Summary

The Endurance storage that was created in Setting Up Storage must be attached to the portal instance. In the SoftLayer console, select Storage > Block Storage and click the storage name in the list to see, under Authorized Hosts, details used to attach the storage to the portal: the IP, host IQN and username and password to access the storage.

To attach storage to the portal instance:

  1. Connect to the virtual server, over SSH, with the public IP, username and password.
    The server starts showing the portal welcome screen.
  2. Enter the following:
    # portal-storage-util.sh attach_endurance_disk device_ip [user pass iqn ]
    Where the following are taken from the Block Storage Details screen:
    device_ip is the Target Address IP.
    user is the Username.
    pass is the Password. The password is not encrypted.
    iqn is the Host IQN.
    The name and address of the attached storage device is output with output similar to the following: /dev/mapper/3600a098038303051793f464462534b56.
    After the first storage is attached, the user, pass and iqn arguments are optional. If they are not specified, the values specified to attach the previous storage are used.
    After rebooting the virtual server it restarts along with the CTERA Portal, which has been configured to start up automatically. You have to stop the CTERA portal in order to configure it to recognize the storage attached in Attaching the Storage to the Portal.
  3. Connect to the virtual server, over SSH, with the public IP, username and password.
  4. List the storage to identify the name of the storage to create in the CTERA portal.
    # ll /dev/mapper
    A result similar to the following is returned:
    lrwxrwxrwx 1 root root 7 Aug 18 06:06 360a02f5d46474527749a -> ../dm-0
    lrwxrwxrwx 1 root root 7 Aug 18 06:06 360a02f5d46474527749a1 -> ../dm-1
    where dm-1 is the added storage.
  5. Create the storage in the portal:
    # portal-storage-util.sh create_storage /dev/ dm-n
    where dm-n is the name of the storage.
    A volume group and logical volume called DataPool are created.
  6. Start the portal server: # portal-manage.sh start

The portal starts.


Was this article helpful?