Skip to content

Files

Latest commit

f386a9f · Jan 22, 2018

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jan 22, 2018
Jan 22, 2018

The following instruction will install Zookeeper service on DC/OS cluster backed by Portworx volumes for persistent storage.

Prerequisites

  • A DC/OS v1.9 cluster with Portworx installed on at least 3 private agents
  • Portworx works best when installed on all nodes in a DC/OS cluster. If Portworx is to be installed on a subset of the cluster, then constraints must be used to specify the nodes where Portworx is installed.
  • A node in the cluster with a working DC/OS CLI.

Please review the main Portworx on DCOS documentation.

Install Zookeeper

portworx-zookeeper package should be available under Universe->Packages Zookeeper Package List

Default Install

If you want to use the defaults, you can now run the dcos command to install the service

 $ dcos package install --yes portworx-zookeeper

You can also click on the “Install” button on the WebUI next to the service and then click “Install Package”. This will install all the prerequisites and start a 3 node Zookeeper cluster.

Advanced Install

If you want to modify the defaults, click on the “Install” button next to the package on the DC/OS UI and then click on “Advanced Installation” Zookeeper Install Options This provides an option to change the service name, volume name, volume size, and provide any additional options that needs to be passed to Portworx volume. Zookeeper related parameters can also be modified, for example: number of Zookeeper nodes. Zookeeper Install Options Zookeeper Portworx Options Click on “Review and Install” and then “Install” to start the installation of the service.

Install Status

Click on the Services page to monitor the status of the installation. Zookeeper Service Status Zookeeper cluster is ready to use when the scheduler service and all the Zookeeper services are in running state. Zookeeper Install Complete Checking the Portworx's cluster will list multiple volumes that were automatically created using the options provided during install. There will be one volume for each Zookeeper node Zookeeper Portworx Volume

Install Zookeeper CLI using the following command on DC/OS client

 $ dcos package install portworx-zookeeper --cli
Installing CLI subcommand for package [portworx-zookeeper] version [stub-universe]
New command available: dcos portworx-zookeeper

Further resource

For more detailed description on using Portworx through DCOS please visit Portworx on DCOS framework homepage