Giter VIP home page Giter VIP logo

decadebot's Introduction

#A What is decadebot? ISUCONの勉強をした際に一々Vmを作り直すのが面倒さ臭かったので、 さくらのクラウド上VMの操作自動化するために作ったbot 基本的にはクラウド上のVMを操作するためのbotである。 #bot_test チャンネルに生息してます。

中身はusacloudを使ってるだけ。

ベンチマーク実行

対象VM内に設置してあるベンチマークスクリプトをたたきます。 実行のためには条件がいくつかあります。 ・対象VMに/root/bench.shが設置してあること ・ansibleから対象VMにSSHできること

@世界の破壊者 bench vm01 
or
@世界の破壊者 ベンチ vm01 

OS再インストール

ディストリビューションは指定してなかったらUbutnu16.04が入ります

@世界の破壊者 reinstall vm01 [centos6/centos7/ubuntu1604]
or
@世界の破壊者 再インストール vm01 [centos6/centos7/ubuntu1604]

電源操作

VMの強制停止

@世界の破壊者 stop vm01 
or 
@世界の破壊者 停止 vm01

VMの起動

@世界の破壊者 start vm01
or 
@世界の破壊者 起動 vm01

VMの強制再起動

@世界の破壊者 restart vm01
or 
@世界の破壊者 再起動 vm01

decadebot's People

Contributors

akihirok2k2 avatar

Watchers

 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.