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
defaults{
polling_interval 10
max_fds 8192
}
devices{
device{
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 quay.io/coreos/etcd:v2.2.0 \
-name etcd0 \
-advertise-client-urls http://${HostIP}:2379,http://${HostIP}:4001 \
-listen-client-urls http://0.0.0.0:2379,http://0.0.0.0:4001 \
-initial-advertise-peer-urls http://${HostIP}:2380 \
-listen-peer-urls http://0.0.0.0:2380 \
-initial-cluster-token etcd-cluster-1 \
-initial-cluster etcd0=http://${HostIP}:2380 \
-initial-cluster-state new
Plugin Installation Information
RHEL/CentOS
version=3.0
$ 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
- Confirm the plugin is successfully installed by
$ docker plugin ls