2011-07-14 18:33:54 +02:00
. \" generated with Ronn/v0.7.3
. \" http://github.com/rtomayko/ronn/tree/0.7.3
.
2017-06-27 15:54:34 +02:00
.TH "ONEHOST" "1" "June 2017" "" "onehost(1) -- manages OpenNebula hosts"
2011-07-14 18:33:54 +02:00
.
.SH "NAME"
2015-08-17 15:09:19 +02:00
\fB onehost\fR \- manages OpenNebula hosts
2011-07-14 18:33:54 +02:00
.
.SH "SYNOPSIS"
\fB onehost\fR \fI command\fR [\fI args\fR ] [\fI options\fR ]
.
.SH "OPTIONS"
.
.nf
2012-03-29 13:02:25 +02:00
\- i, \- \- im im_mad Set the information driver for the host
\- v, \- \- vm vmm_mad Set the virtualization driver for the host
\- c, \- \- cluster id|name Selects the cluster
2017-06-27 15:54:34 +02:00
\- \- ec2access id Set the id access for EC2 Driver
\- \- ec2secret key Set the secret key for EC2 Driver
2013-08-06 07:42:57 -04:00
\- a, \- \- append Append new attributes to the current template
2013-11-27 13:32:10 +01: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 18:33:54 +02:00
\- l, \- \- list x,y,z Selects columns to display with list command
2016-09-14 17:29:22 +02:00
\- c, \- \- listconf conf Selects a predefined column list
2011-07-14 18:33:54 +02:00
\- d, \- \- delay x Sets the delay in seconds for top command
2013-01-24 16:18:30 +01:00
\- f, \- \- filter x,y,z Filter data\. An array is specified with
column=value pairs\.
2014-03-07 19:14:31 +01:00
\- \- csv Write table in csv format
2011-07-14 18:33:54 +02: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 11:58:17 +02:00
\- \- describe Describe list columns
2011-07-14 18:33:54 +02:00
\- h, \- \- help Show this message
\- V, \- \- version Show version and copyright information
2013-01-24 16:18:30 +01: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 18:33:54 +02:00
.
.fi
.
.SH "COMMANDS"
.
.IP "\(bu" 4
2017-06-27 15:54:34 +02:00
create \fI hostname\fR Creates a new Host valid options: im, vm, cluster, ec2access, ec2secret
2011-07-14 18:33:54 +02:00
.
.IP "\(bu" 4
2013-03-25 12:39:05 +01:00
delete \fI range|hostid_list\fR Deletes the given Host
2011-07-14 18:33:54 +02:00
.
.IP "\(bu" 4
2016-05-11 10:44:46 +02:00
enable \fI range|hostid_list\fR Enables the given host, fully operational
2011-07-14 18:33:54 +02:00
.
.IP "\(bu" 4
2016-05-11 10:44:46 +02:00
disable \fI range|hostid_list\fR Disables the given host:
.
.IP "" 4
.
.nf
\- monitor: enabled
\- scheduler deployment: disabled
\- manual deployment: enabled
.
.fi
.
.IP "" 0
.
.IP "\(bu" 4
offline \fI range|hostid_list\fR Sets the host offline:
.
.IP "" 4
.
.nf
\- monitor: disabled
\- scheduler deployment: disabled
\- manual deployment: disabled
.
.fi
.
.IP "" 0
2011-07-14 18:33:54 +02:00
.
.IP "\(bu" 4
2013-08-06 07: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 18:33:54 +02:00
.
.IP "\(bu" 4
2013-11-27 13:32:10 +01: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 18:33:54 +02:00
.
.IP "\(bu" 4
2016-09-14 17:29:22 +02:00
list Lists Hosts in the pool valid options: list, listconf, delay, filter, csv, xml, numeric, kilobytes, describe
2011-07-14 18:33:54 +02:00
.
.IP "\(bu" 4
2013-03-25 12:39:05 +01:00
show \fI hostid\fR Shows information for the given Host valid options: xml
2011-07-14 18:33:54 +02:00
.
.IP "\(bu" 4
2016-09-14 17:29:22 +02:00
top Lists Hosts continuously valid options: list, listconf, delay, filter, csv, xml, numeric, kilobytes
2012-07-05 11:51:05 +02:00
.
.IP "\(bu" 4
2013-03-25 12:39:05 +01:00
flush \fI range|hostid_list\fR Disables the host and reschedules all the running VMs in it\.
2011-07-14 18:33:54 +02:00
.
2013-10-11 16:37:35 +02:00
.IP "\(bu" 4
rename \fI hostid\fR \fI name\fR Renames the Host
.
2015-07-27 09:56:07 -04:00
.IP "\(bu" 4
importvm \fI hostid\fR \fI name\fR Import VM to OpenNebula
.
2011-07-14 18:33:54 +02:00
.IP "" 0
.
.SH "ARGUMENT FORMATS"
.
.IP "\(bu" 4
2013-03-25 12:39:05 +01:00
file Path to a file
2011-07-14 18:33:54 +02:00
.
.IP "\(bu" 4
2013-03-25 12:39:05 +01:00
range List of id\' s in the form 1,8\. \. 15
2011-07-14 18:33:54 +02:00
.
.IP "\(bu" 4
2013-03-25 12:39:05 +01:00
text String
2011-07-14 18:33:54 +02:00
.
.IP "\(bu" 4
2013-03-25 12:39:05 +01:00
hostid OpenNebula HOST name or id
2011-07-14 18:33:54 +02:00
.
.IP "\(bu" 4
2013-03-25 12:39:05 +01:00
hostid_list Comma\- separated list of OpenNebula HOST names or ids
2011-07-14 18:33:54 +02:00
.
.IP "" 0
.
.SH "LICENSE"
2017-06-27 15:54:34 +02:00
OpenNebula 5\. 3\. 85 Copyright 2002\- 2017, OpenNebula Project, OpenNebula Systems
2011-07-14 18:33:54 +02: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