Code Monkey home page Code Monkey logo

reliable-helper-system's Introduction

HwameiStor Reliable Helper System

Introduction

The Reliable-helper-system is one of subsidiary components of the HwameiStor. It provides the reliability maintenance functionality such as replacedisk which support after migrating the data on the hard disk, to perform the hard disk replacement operation .

Reliable-helper-system will work for LVM volumes now. At present, the RHS project is still in the alpha stage.

Architecture of HwameiStor Reliable Helper System

image

Concepts

ReplaceDisk(RD): A RD resource object represents one replace disk task on the host.

LocalVolumeMigrate(LVM): The way to migrate and backup replaced disk data to disks of other nodes.

Usage

If you want to entirely deploy HwameiStor, please refer to here. If you just want to deploy RHS separately, you can refer to the following installation steps.

Install Reliable Helper System

1. Clone this repo to your machine:

# git clone https://github.com/hwameistor/reliable-helper-system.git

2. Change to deploy directory:

# cd deploy

3. Deploy CRDs and run reliable-helper-system

3.1 Deploy RHS CRDs

# kubectl apply -f deploy/crds/

3.2 Deploy RBAC CRs and operators

# kubectl apply -f deploy/

3.3 Deploy RHS Instance

# cd deploy/samples
cat > ./replacedisk_cr.yaml <<- EOF
apiVersion: hwameistor.io/v1alpha1
kind: ReplaceDisk
metadata:
  name: <anyname>
  namespace: hwameistor
spec:
  driverGroup: <driver-group>
  sltId: <sltid>
  eId: <eid>
  nodeName: <node-name>
  oldUuid: <old-uuid>
  newUuid: <new-uuid>
  replaceDiskStage: ""
EOF
$ kubectl apply -f ./replacedisk_cr.yaml

4. Get ReplaceDisk Infomation

$ kubectl  get replacedisk
NAME                       AGE
replacedisk-sample-node1   21h

kuebctl get replacedisk <name> -o yaml View more information about replacedisk.

Feedbacks

Please submit any feedback and issue at: Issues

reliable-helper-system's People

Contributors

angel0507 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.