Code Monkey home page Code Monkey logo

curveadm's Introduction

CurveAdm

Deploy and manage Curve cluster

NOTE: CurveAdm only support CurveFS now, the CurveBS will be supported later

Table of Contents

Requirement

CurveAdm depends on docker, please install docker first.

Please make sure the docker daemon has running, you can run the below command to verify:

sudo docker run hello-world

This command downloads a test image and runs it in a container. When the container runs, it prints a message and exits.

Installation

sh -c "$(curl -fsSL https://curveadm.nos-eastchina1.126.net/script/install.sh)"

Usage

Deploy Cluster

Prepare cluster topology, you can refer to the sample configuration:

vi topology.yaml

Add cluster with specified topology:

curveadm cluster add c1 -f topology.yaml

Switch cluster:

curveadm cluster checkout c1

Deploy cluster:

curveadm deploy

Mount FileSystem

Prepare client config, you can refer to the sample configuration:

vi client.yaml

Mount filesystem:

sudo curveadm mount NAME-OF-CURVEFS MOUNTPONT -c client.yaml

Umount FileSystem

sudo curveadm umount MOUNTPOINT

Ask for help

If you encounter an unsolvable problem during deployment or using Curve, you can use the support command to seek help from the curve team. After executing this command, all Curve service logs and configuration files will be packaged and collected, and encrypted and uploaded to On our log collection server, so that the Curve team can analyze and solve problems.

curveadm support

After the support command is executed, the logs and config files will be packaged and uploaded. If the upload is successful, a secret key will be returned. You can get help by telling the secret key to the Curve team. You can contact the Curve team by adding the WeChat account opencurve.

Devops

Run curveadm -h for more information.

curveadm's People

Contributors

wine93 avatar aspirer avatar cyber-siku 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.