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.
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.
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.
# git clone https://github.com/hwameistor/reliable-helper-system.git
# cd deploy
# kubectl apply -f deploy/crds/
# kubectl apply -f deploy/
# 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
$ kubectl get replacedisk
NAME AGE
replacedisk-sample-node1 21h
kuebctl get replacedisk <name> -o yaml
View more information about replacedisk.
Please submit any feedback and issue at: Issues