2011-07-14 20:33:54 +04:00
. \" generated with Ronn/v0.7.3
. \" http://github.com/rtomayko/ronn/tree/0.7.3
.
2012-07-05 13:51:05 +04:00
.TH "ONEHOST" "1" "July 2012" "" "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
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
\- x, \- \- xml Show the resource in xml format
\- n, \- \- numeric Do not translate user and group IDs
\- k, \- \- kilobytes Show units in kilobytes
\- v, \- \- verbose Verbose mode
\- h, \- \- help Show this message
\- V, \- \- version Show version and copyright information
.
.fi
.
.SH "COMMANDS"
.
.IP "\(bu" 4
2012-03-29 15:02:25 +04:00
create \fI hostname\fR
2011-07-14 20:33:54 +04:00
.
.IP "" 4
.
.nf
2011-09-12 15:00:47 +04:00
Creates a new Host
2012-07-05 13:51:05 +04:00
valid options: im, vm, net, cluster
2011-07-14 20:33:54 +04:00
.
.fi
.
.IP "" 0
.
.IP "\(bu" 4
2011-09-12 15:00:47 +04:00
delete \fI range|hostid_list\fR
2011-07-14 20:33:54 +04:00
.
.IP "" 4
.
.nf
2011-09-12 15:00:47 +04:00
Deletes the given Host
2011-07-14 20:33:54 +04:00
.
.fi
.
.IP "" 0
.
.IP "\(bu" 4
2011-09-12 15:00:47 +04:00
enable \fI range|hostid_list\fR
2011-07-14 20:33:54 +04:00
.
.IP "" 4
.
.nf
2011-09-12 15:00:47 +04:00
Enables the given Host
2011-07-14 20:33:54 +04:00
.
.fi
.
.IP "" 0
.
.IP "\(bu" 4
2011-09-12 15:00:47 +04:00
disable \fI range|hostid_list\fR
2011-07-14 20:33:54 +04:00
.
.IP "" 4
.
.nf
2011-09-12 15:00:47 +04:00
Disables the given Host
2011-07-14 20:33:54 +04:00
.
.fi
.
.IP "" 0
.
.IP "\(bu" 4
2012-06-22 18:05:02 +04:00
update \fI hostid\fR [\fI file\fR ]
2011-07-14 20:33:54 +04:00
.
.IP "" 4
.
.nf
2012-06-22 18:05:02 +04:00
Update the template contents\. If a path is not provided the editor will
be launched to modify the current content\.
2011-07-14 20:33:54 +04:00
.
.fi
.
.IP "" 0
.
.IP "\(bu" 4
sync
.
.IP "" 4
.
.nf
Synchronizes probes in /var/lib/one/remotes ($ONE_LOCATION/var/remotes
in self\- contained installations) with Hosts\.
The copy is performed the next time the Host is monitored
.
.fi
.
.IP "" 0
.
.IP "\(bu" 4
2011-09-12 15:00:47 +04:00
list
2011-07-14 20:33:54 +04:00
.
.IP "" 4
.
.nf
2011-09-12 15:00:47 +04:00
Lists Hosts in the pool
valid options: list, delay, xml, numeric, kilobytes
2011-07-14 20:33:54 +04:00
.
.fi
.
.IP "" 0
.
.IP "\(bu" 4
2011-09-12 15:00:47 +04:00
show \fI hostid\fR
2011-07-14 20:33:54 +04:00
.
.IP "" 4
.
.nf
2011-09-12 15:00:47 +04:00
Shows information for the given Host
valid options: xml
2011-07-14 20:33:54 +04:00
.
.fi
.
.IP "" 0
.
.IP "\(bu" 4
2011-09-12 15:00:47 +04:00
top
2011-07-14 20:33:54 +04:00
.
.IP "" 4
.
.nf
2011-09-12 15:00:47 +04:00
Lists Hosts continuously
valid options: list, delay, xml, numeric, kilobytes
2011-07-14 20:33:54 +04:00
.
.fi
.
.IP "" 0
2012-07-05 13:51:05 +04:00
.
.IP "\(bu" 4
flush \fI range|hostid_list\fR
.
.IP "" 4
.
.nf
Disables the host and reschedules all the running VMs in it\.
.
.fi
.
.IP "" 0
2011-07-14 20:33:54 +04:00
.
.IP "" 0
.
.SH "ARGUMENT FORMATS"
.
.IP "\(bu" 4
2011-09-12 15:00:47 +04:00
file
.
.IP "" 4
.
.nf
Path to a file
.
.fi
.
.IP "" 0
2011-07-14 20:33:54 +04:00
.
.IP "\(bu" 4
2011-09-12 15:00:47 +04:00
range
.
.IP "" 4
.
.nf
List of id\' s in the form 1,8\. \. 15
.
.fi
.
.IP "" 0
2011-07-14 20:33:54 +04:00
.
.IP "\(bu" 4
text
2011-09-12 15:00:47 +04:00
.
.IP "" 4
.
.nf
String
.
.fi
.
.IP "" 0
2011-07-14 20:33:54 +04:00
.
.IP "\(bu" 4
hostid
2011-09-12 15:00:47 +04:00
.
.IP "" 4
.
.nf
OpenNebula HOST name or id
.
.fi
.
.IP "" 0
2011-07-14 20:33:54 +04:00
.
.IP "\(bu" 4
2011-09-12 15:00:47 +04:00
hostid_list
.
.IP "" 4
.
.nf
Comma\- separated list of OpenNebula HOST names or ids
.
.fi
.
.IP "" 0
2011-07-14 20:33:54 +04:00
.
.IP "" 0
.
.SH "LICENSE"
2012-07-05 13:51:05 +04:00
OpenNebula 3\. 7\. 0 Copyright 2002\- 2012, OpenNebula Project Leads (OpenNebula\. org)
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