Member-only story

Stateful app DR with Portworx and Rancher

Andrew Parsons
10 min readMar 31, 2022

--

Following up on my previous blog I described my experience with rancher as a Kubernetes management tool, and how integrations with Portworx can simplify multi-cloud tenancy, and provide a more streamlined approach to managing Kubernetes(k8's) at scale across environments both on-prem and cloud.

Today I want to take a deeper look into getting those clusters up and running with Portworx and Setting up Disaster Recovery for your Stateful Applications.

What does it take to deploy Rancher, Portworx, and set up disaster recovery?

The first thing we need to do is deploy a Rancher server. I built a Linux VM following the Rancher Server requirements. Rancher server is deployed as a docker container. This can be on a VM, a Cloud instance, or even a BareMetal server.

Install Rancher

  • sudo docker run -d --restart=unless-stopped -p 80:80 -p 443:443 --privileged rancher/rancher

Result: Rancher is installed.

Login to Rancher

You can expose the login password with the following command.

docker logs  container-id  2>&1 | grep "Bootstrap Password:"

Now, let's start using the Rancher server to build Kubernetes!

--

--

Andrew Parsons
Andrew Parsons

Written by Andrew Parsons

Focused on storage in k8s and automation using ansible.

No responses yet