Giter VIP home page Giter VIP logo

datadomain's Introduction

Overview

  • Data domain file system GC ddcli -host 10.98.xx.xx -user sysadmin -password changeme -x=0
  • Data domain restart ddboost ddcli -host 10.98.xx.xx -user sysadmin -password changeme -x=1
  • Data domain delete all storage unit ddcli -host 10.98.xx.xx -user sysadmin -password changeme -x=2
  • Data domain delete oldest storage unit ddcli -host 10.98.xx.xx -user sysadmin -password changeme -x=3
  • Data movement to cloud ddcli -host 10.98.xx.xx -user sysadmin -password changeme -x=4
  • Avamar GC ddcli -host 10.98.xx.xx -user admin -password changeme -x=5

Usage

Usage of ddcli.exe:
  -host string
        Remote server host name or ip address
  -password string
        Remote server password
  -user string
        Remote server user name
  -v    prints current version and exits
  -x int
        0: Data domain file system GC
        1: Data domain restart ddboost
        2: Data domain delete all storage unit
        3: Data domain delete oldest storage unit
        4: Data movement to cloud
        5: Avamar GC

e.g.

Data domain file system GC

Include those dd commands:

  • filesys clean start
  • filesys clean watch
ddcli -host=<remote server host> -user=<remote server user name> -password=<remote server password> -x=0

T

Data domain restart ddboost

Include those dd commands:

  • ddboost disable
  • ddboost enable
ddcli -host=<remote server host> -user=<remote server user name> -password=<remote server password> -x=1

T

Data domain delete all storage unit

Include those dd commands:

  • ddboost storage-unit show
  • ddboost storage-unit delete (Loop)
ddcli -host=<remote server host> -user=<remote server user name> -password=<remote server password> -x=2

T

Data domain delete oldest storage unit

Include those dd commands:

  • ddboost storage-unit show
  • ddboost storage-unit delete
ddcli -host=<remote server host> -user=<remote server user name> -password=<remote server password> -x=3

T

Data domain datamovement to cloud

Include those dd commands:

  • data-movement start to-tier cloud
  • data-movement watch
ddcli -host=<remote server host> -user=<remote server user name> -password=<remote server password> -x=4

Avamar GC

Include those dd commands:

  • avmaint sched stop --ava
  • avmaint checkpoint --ava --wait
  • avmaint --ava garbagecollect
  • avmaint --ava gcstatus
ddcli -host=<remote server host> -user=<remote server user name> -password=<remote server password> -x=5

Develop from master

If you want to build a package yourself, or contribute. Here is a guide for how to do that. You can always find the latest master builds here

Dependencies

  • Go 1.21.5

Building

git clone http://github.com/xiak/datadomain.git

# windows
go build -o bin\ddcli.exe pkg\cmd\main.go
.\bin\ddcli.exe

# linux
go build -o bin/ddcli pkg/cmd/main.go
chmod a+x bin/ddcli
./bin/ddcli

Github build and release with a tag

The repo will be built and released automatically by github action when you push a tag (format reg: '[0-9]+.[0-9]+.[0-9]+') to github.com

git tag -a 0.0.1 -m '0.0.1 release'
git push origin 0.0.1

Contribute

If you have any idea for an improvement or found a bug do not hesitate to open an issue. And if you have time clone this repo and submit a pull request and help me make Diablo better that is all we dream about it!

License

ddcli is distributed under MIT License.

datadomain's People

Contributors

xiak avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Forkers

qd888

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.