2011-07-14 20:33:54 +04:00
. \" generated with Ronn/v0.7.3
. \" http://github.com/rtomayko/ronn/tree/0.7.3
.
2015-03-09 12:29:02 +03:00
.TH "ONEHOST" "1" "March 2015" "" "onehost(1) -- manages OpenNebula hosts"
2011-07-14 20:33:54 +04:00
.
.SH "NAME"
\fB onehost\fR
.
.SH "SYNOPSIS"
\fB onehost\fR \fI command\fR [\fI args\fR ] [\fI options\fR ]
.
.SH "OPTIONS"
.
.nf
2012-03-29 15:02:25 +04:00
\- i, \- \- im im_mad Set the information driver for the host
\- v, \- \- vm vmm_mad Set the virtualization driver for the host
\- n, \- \- net vnet_mad Set the network driver for the host
\- c, \- \- cluster id|name Selects the cluster
2013-08-06 15:42:57 +04:00
\- a, \- \- append Append new attributes to the current template
2013-11-27 16:32:10 +04:00
\- \- force Force probe upgrade in onehost sync
\- \- rsync Use rsync to synchronize remotes\. In case some
probes are no longer in the fronted are deleted
in the hosts\. rsync command must be installed in
the frontend and nodes\.
2011-07-14 20:33:54 +04:00
\- l, \- \- list x,y,z Selects columns to display with list command
\- d, \- \- delay x Sets the delay in seconds for top command
2013-01-24 19:18:30 +04:00
\- f, \- \- filter x,y,z Filter data\. An array is specified with
column=value pairs\.
2014-03-07 22:14:31 +04:00
\- \- csv Write table in csv format
2011-07-14 20:33:54 +04:00
\- x, \- \- xml Show the resource in xml format
\- n, \- \- numeric Do not translate user and group IDs
\- k, \- \- kilobytes Show units in kilobytes
2012-10-04 13:58:17 +04:00
\- \- describe Describe list columns
2011-07-14 20:33:54 +04:00
\- h, \- \- help Show this message
\- V, \- \- version Show version and copyright information
2013-01-24 19:18:30 +04:00
\- \- user name User name used to connect to OpenNebula
\- \- password password Password to authenticate with OpenNebula
\- \- endpoint endpoint URL of OpenNebula xmlrpc frontend
2011-07-14 20:33:54 +04:00
.
.fi
.
.SH "COMMANDS"
.
.IP "\(bu" 4
2013-03-25 15:39:05 +04:00
create \fI hostname\fR Creates a new Host valid options: im, vm, net, cluster
2011-07-14 20:33:54 +04:00
.
.IP "\(bu" 4
2013-03-25 15:39:05 +04:00
delete \fI range|hostid_list\fR Deletes the given Host
2011-07-14 20:33:54 +04:00
.
.IP "\(bu" 4
2013-03-25 15:39:05 +04:00
enable \fI range|hostid_list\fR Enables the given Host
2011-07-14 20:33:54 +04:00
.
.IP "\(bu" 4
2013-03-25 15:39:05 +04:00
disable \fI range|hostid_list\fR Disables the given Host
2011-07-14 20:33:54 +04:00
.
.IP "\(bu" 4
2013-08-06 15:42:57 +04:00
update \fI hostid\fR [\fI file\fR ] Update the template contents\. If a path is not provided the editor will be launched to modify the current content\. valid options: append
2011-07-14 20:33:54 +04:00
.
.IP "\(bu" 4
2013-11-27 16:32:10 +04:00
sync [\fI range|hostid_list\fR ] Synchronizes probes in /var/lib/one/remotes ($ONE_LOCATION/var/remotes in self\- contained installations) with Hosts\. Examples: onehost sync onehost sync \- c myCluster onehost sync host01,host02,host03 valid options: cluster, force, rsync
2011-07-14 20:33:54 +04:00
.
.IP "\(bu" 4
2014-03-07 22:14:31 +04:00
list Lists Hosts in the pool valid options: list, delay, filter, csv, xml, numeric, kilobytes, describe
2011-07-14 20:33:54 +04:00
.
.IP "\(bu" 4
2013-03-25 15:39:05 +04:00
show \fI hostid\fR Shows information for the given Host valid options: xml
2011-07-14 20:33:54 +04:00
.
.IP "\(bu" 4
2014-03-07 22:14:31 +04:00
top Lists Hosts continuously valid options: list, delay, filter, csv, xml, numeric, kilobytes
2012-07-05 13:51:05 +04:00
.
.IP "\(bu" 4
2013-03-25 15:39:05 +04:00
flush \fI range|hostid_list\fR Disables the host and reschedules all the running VMs in it\.
2011-07-14 20:33:54 +04:00
.
2013-10-11 18:37:35 +04:00
.IP "\(bu" 4
rename \fI hostid\fR \fI name\fR Renames the Host
.
2011-07-14 20:33:54 +04:00
.IP "" 0
.
.SH "ARGUMENT FORMATS"
.
.IP "\(bu" 4
2013-03-25 15:39:05 +04:00
file Path to a file
2011-07-14 20:33:54 +04:00
.
.IP "\(bu" 4
2013-03-25 15:39:05 +04:00
range List of id\' s in the form 1,8\. \. 15
2011-07-14 20:33:54 +04:00
.
.IP "\(bu" 4
2013-03-25 15:39:05 +04:00
text String
2011-07-14 20:33:54 +04:00
.
.IP "\(bu" 4
2013-03-25 15:39:05 +04:00
hostid OpenNebula HOST name or id
2011-07-14 20:33:54 +04:00
.
.IP "\(bu" 4
2013-03-25 15:39:05 +04:00
hostid_list Comma\- separated list of OpenNebula HOST names or ids
2011-07-14 20:33:54 +04:00
.
.IP "" 0
.
.SH "LICENSE"
2015-03-09 12:29:02 +03:00
OpenNebula 4\. 12\. 0 Copyright 2002\- 2015, OpenNebula Project (OpenNebula\. org), C12G Labs
2011-07-14 20:33:54 +04:00
.
.P
Licensed under the Apache License, Version 2\. 0 (the "License"); you may not use this file except in compliance with the License\. You may obtain a copy of the License at http://www\. apache\. org/licenses/LICENSE\- 2\. 0