The following article goes along way in configuring Peer Persistence Replication for the HPE 3PAR Volume Plugin for Docker. However there are several documentation issues that need to be corrected. Use the following as an example for configuring iSCSI based Hosts in your /etc/hpedockerplugin/hpe.conf file:
host_etcd_port_number=<ETCD_PORT_NUMBER> hpe3par_username=<Source-3PAR-Username> hpe3par_password=<Source-3PAR-Password> hpe3par_cpg=<Source-User-CPG> hpedockerplugin_driver=hpedockerplugin.hpe.hpe_3par_iscsi.HPE3PARISCSIDriver logging=DEBUG san_ip=<Source-3PAR-SAN-IP> san_login=<Source-3PAR-SAN-Username> san_password=<Source-3PAR-SAN-Password> host_etcd_ip_address=<IP1>[:PORT1[,IP2[:PORT2]][,IP3[:PORT3]]...] hpe3par_api_url=https://<Source-Array-IP>:8080/api/v1 hpe3par_iscsi_ips=<ISCSI_IP1>[,ISCSI_IP2,ISCSI_IP3...] replication_device = backend_id:<Target-Array-Name>, quorum_witness_ip:<Quorum-Witness-IP>, replication_mode:synchronous, cpg_map:<Source-User-CPG>:<Target-User-CPG>, snap_cpg_map:<Source-Snap-CPG>:<Target-Snap-CPG>, hpe3par_api_url:https://<Target-Array-IP>:8080/api/v1, hpe3par_username:<3PAR-Username>, hpe3par_password:<3PAR-Password>, san_ip:<3PAR-SAN-IP>, san_login:<3PAR-SAN-Username>, san_password:<3PAR-SAN-Password>, hpe3par_iscsi_ips:<ISCSI_IP1>[;ISCSI_IP2;ISCSI_IP3...]
There are only a few issues missing commas, and the replication device listed twice. I will be notifying HPE to update their documentation with the above fixes. I Hope this helps anyone seeing this issue.
Advertisements