Ceph Operations Guide

This is a guide for Ceph operations.

Operation
Ceph Operations Guide

Installation (Helm)

  1. Add the Rook Helm repository:

    bash
  2. Install the operator:

    bash
  3. Install the cluster:

    bash

Operator Configuration

Default Values for rook-ceph-operator

  • Pod Resource Requests & Limits:

    yaml
  • Global Log Level:

    yaml
  • CSI Configuration:

    • RBD Provisioner Resources:

      yaml
    • RBD Plugin Resources:

      yaml
    • CephFS Provisioner and Plugin Resources (similar format).

    • NFS Provisioner and Plugin Resources (similar format).

  • Monitoring:

    yaml

Cluster Configuration

  • Toolbox:

    yaml
  • Ceph Cluster Specifications:

    yaml

Removing OSDs

  1. Stop the Rook Operator:

    bash
  2. Mark OSD as out:

    bash
  3. Confirm OSD is down:

    bash
  4. Wait for backfilling to complete (active+clean PGs).

  5. Remove the OSD:

    bash
  6. Verify:

    bash
  7. Restart the Rook Operator.

Disk Partitioning

  1. List available disks:

    bash
  2. Partition a disk:

    bash

Clearing Devices

  1. Clear partitions:

    bash

Exposing Monitoring GUI

  1. Certificate Definition (Cert Manager):

    yaml
  2. Gateway Definition (Istio):

    yaml
  3. Virtual Service Definition (Istio):

    yaml

Issues and Troubleshooting

  1. Service Port Change:

    • Set cephClusterSpec.dashboard.port=7000 in Helm values.

  2. OSD Keyring Mismatch:

    • Retrieve keyrings and resolve mismatch.

  3. Entity Exists with Key Mismatch:

    • Delete older auth:

      bash

Monitoring

  • Enable monitoring in Helm values:

    yaml
  • Add labels for monitoring:

    yaml

Upgrade

  1. Upgrade Helm:

    bash
  2. Upgrade using Helm:

    bash

Recommended Posts

Responses (0)

No comments yet. Be the first to share your thoughts!