Docker Enterprise and HPE 3PAR Volume Plugin 3.0

For those of you that might be interested, I was successfully able to configure the HPE 3PAR Volume Plugin 3.0 for Docker Enterprise version 18.09 using Red Hat Enterprise Linux 7.6 hosts.  The HPE 3PAR Volume Plugin quickstart guide for Docker is a good place to start however, there are some issues with the documentation. I have opened up a support case with HPE and will provide them with this information, but until the documentation is updated, the details will be listed here.

HPE 3PAR Volume Plugin Quickstart guide

Step 2 has the incorrect formatting for the multipath.conf file. The squiggly brackets “{” have to follow defaults, devices, and device on the same line. It should look like the following:

Step 2. Configure /etc/multipath.conf

$ vi /etc/multipath.conf

Copy the following into /etc/multipath.conf

    polling_interval 10
    max_fds 8192

        vendor                  "3PARdata"
        product                 "VV"
        no_path_retry           18
        features                "0"
        hardware_handler        "0"
        path_grouping_policy    multibus
        #getuid_callout         "/lib/udev/scsi_id --whitelisted --device=/dev/%n"
        path_selector           "round-robin 0"
        rr_weight               uniform
        rr_min_io_rq            1
        path_checker            tur
        failback                immediate

ETCD config

You may notice that I include the restart option “–restart unless-stopped”. This option starts etcd if the host reboots etc. It is also critical in setting up a production environment.
The "-initial-advertise-peer-urls http://${HostIP}:23800" port should be  2380 NOT 23800
The following can be used to launch the supported version of etcd on a single host:

sudo docker container run -d --restart unless-stopped -v /usr/share/ca-certificates/:/etc/ssl/certs -p 4001:4001 \
-p 2380:2380 -p 2379:2379 \
--name etcd \
-name etcd0 \
-advertise-client-urls http://${HostIP}:2379,http://${HostIP}:4001 \
-listen-client-urls, \
-initial-advertise-peer-urls http://${HostIP}:2380 \
-listen-peer-urls \
-initial-cluster-token etcd-cluster-1 \
-initial-cluster etcd0=http://${HostIP}:2380 \
-initial-cluster-state new

Plugin Installation Information



$ docker plugin install --grant-all-permissions --alias hpe --disable store/hpestorage/hpedockervolumeplugin:3.0
$ docker plugin set hpe glibc_libs.source=/lib64 certs.source=/tmp
$ docker plugin enable hpe
  1. Confirm the plugin is successfully installed by
$ docker plugin ls

About Parker Jardine

Manager of Systems Administration in the Information Technology Higher Education space. I enjoy biking, climbing, hockey, camping, mountaineering, hunting, paragliding, and just being outdoors. You can read my Make Magazine project articles about a diy solar panel and solar systems design in volumes 12 and 14.
This entry was posted in Docker, HPE 3PAR, Linux, RHEL7 and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s