Installation

XorMon deploy in Kubernetes and OpenShift

You can run XorMon easily with docker image on Kubernetes / OpenShift.
No missing modules, library version conflicts or dependency hell.
It's based on the latest official Alpine Linux with all necessary dependencies installed.

Volumes

It is necessary to create volume for data.
We recommend 100 GB for data as persistentVolumeClaim with ClaimName xormon
This volume will be mounted on /root/xormon-data
Change TIMEZONE as is needed

Deployment pattern xormon:
apiVersion: v1
kind: Pod
metadata:
  name: xormon
  namespace: <your_namespace>
  labels:
    app: xormon
spec:
  containers:
  - name: xormon
    image: xorux/xormon
    env:
    - name: TIMEZONE
      value: "Europe/London"
    volumeMounts:
    - mountPath: /root/xormon-data
      name: xormon
    ports:
    - containerPort: 8443
  volumes:
   - name: xormon
      persistentVolumeClaim:
        claimName: xormon
After deployment go to the web UI (on port 8443), use user admin@xormon.com, password: xorux4you
You can connect via SSH on port 22 (exposed), username lpar2rrd, password xorux4you - please change it ASAP.

LPAR2RRD / STOR2RRD

After deploing it you need to connect LPAR2RRD and/or STOR2RRD instances to XorMon.
Use either not containerized instances or containerized once. Here are links for containerized installation of LPAR2RRD and STOR2RRD
Note, you must add this paramnetr into deployment of LPAR2RRD/STOR2RRD scripts when you want to use it with XorMon.
  env:
  - name: XORMON
    value: "1"

Troubleshooting

The first step in debugging a Pod is taking a look at it. Check the current state of the Pod and recent events with the following command:
$ kubectl describe pods xormon (for Kubernetes)
$ oc describe pods xormon (for OpenShift)