Giter VIP home page Giter VIP logo

ovirtctl's Introduction

ovirtctl

Ovirt control script to manage VMs via REST API [http://ovirt.github.io/ovirt-engine-api-model/4.3/].

Warning! The script is compatible with Ovirt 4.3 and is not tested with other versions.

Using this script, for example, you can make autostart of Ovirt VMs when OS started. Ovirt 4.3 is not supports that feature from "out of the box".

Usage:
	vm-list
	vm-start|vm-stop|vm-shutdown|vm-reboot|vm-suspend|vm-get <vmName>
	vm-start-all|vm-stop-all|vm-shutdown-all

Before use the script:

  1. Set variables in /bin/ovirtctl: host, user, password which using for login to ovirt-engine Web UI.
  2. Check path of cacert variable. If correct, then not need touch.
  3. Change value of vms_queue_start_timeout variable if need. Script waiting(in seconds) before start next VM from queue.
  4. Registry to vm_map variable the VMs which will be manage by the script. For example: vm_map["bar"]="0074d052-283a-44ae-8788-c50e295dde67". Where bar is VM name and 0074d052-283a-44ae-8788- c50e295dde67 is VM id.
Usage examples:
	PATH=$PATH:/opt/ovirtctl/bin
	ovirtctl vm-start foo
	ovirtctl vm-start bar
	ovirtctl vm-shutdown-all

ovirtctl's People

Contributors

deivastra avatar

Stargazers

Denis Kvist avatar

Watchers

 avatar

Forkers

zad2712 crrs666

ovirtctl's Issues

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.