mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-24 21:34:01 +03:00
135 lines
4.0 KiB
Groff
135 lines
4.0 KiB
Groff
.\" generated with Ronn/v0.7.3
|
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
|
.
|
|
.TH "ONEHOST" "1" "June 2016" "" "onehost(1) -- manages OpenNebula hosts"
|
|
.
|
|
.SH "NAME"
|
|
\fBonehost\fR \- manages OpenNebula hosts
|
|
.
|
|
.SH "SYNOPSIS"
|
|
\fBonehost\fR \fIcommand\fR [\fIargs\fR] [\fIoptions\fR]
|
|
.
|
|
.SH "OPTIONS"
|
|
.
|
|
.nf
|
|
|
|
\-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
|
|
\-a, \-\-append Append new attributes to the current template
|
|
\-\-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\.
|
|
\-l, \-\-list x,y,z Selects columns to display with list command
|
|
\-d, \-\-delay x Sets the delay in seconds for top command
|
|
\-f, \-\-filter x,y,z Filter data\. An array is specified with
|
|
column=value pairs\.
|
|
\-\-csv Write table in csv format
|
|
\-x, \-\-xml Show the resource in xml format
|
|
\-n, \-\-numeric Do not translate user and group IDs
|
|
\-k, \-\-kilobytes Show units in kilobytes
|
|
\-\-describe Describe list columns
|
|
\-h, \-\-help Show this message
|
|
\-V, \-\-version Show version and copyright information
|
|
\-\-user name User name used to connect to OpenNebula
|
|
\-\-password password Password to authenticate with OpenNebula
|
|
\-\-endpoint endpoint URL of OpenNebula xmlrpc frontend
|
|
.
|
|
.fi
|
|
.
|
|
.SH "COMMANDS"
|
|
.
|
|
.IP "\(bu" 4
|
|
create \fIhostname\fR Creates a new Host valid options: im, vm, cluster
|
|
.
|
|
.IP "\(bu" 4
|
|
delete \fIrange|hostid_list\fR Deletes the given Host
|
|
.
|
|
.IP "\(bu" 4
|
|
enable \fIrange|hostid_list\fR Enables the given host, fully operational
|
|
.
|
|
.IP "\(bu" 4
|
|
disable \fIrange|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 \fIrange|hostid_list\fR Sets the host offline:
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
\- monitor: disabled
|
|
\- scheduler deployment: disabled
|
|
\- manual deployment: disabled
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
|
|
.
|
|
.IP "\(bu" 4
|
|
update \fIhostid\fR [\fIfile\fR] Update the template contents\. If a path is not provided the editor will be launched to modify the current content\. valid options: append
|
|
.
|
|
.IP "\(bu" 4
|
|
sync [\fIrange|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
|
|
.
|
|
.IP "\(bu" 4
|
|
list Lists Hosts in the pool valid options: list, delay, filter, csv, xml, numeric, kilobytes, describe
|
|
.
|
|
.IP "\(bu" 4
|
|
show \fIhostid\fR Shows information for the given Host valid options: xml
|
|
.
|
|
.IP "\(bu" 4
|
|
top Lists Hosts continuously valid options: list, delay, filter, csv, xml, numeric, kilobytes
|
|
.
|
|
.IP "\(bu" 4
|
|
flush \fIrange|hostid_list\fR Disables the host and reschedules all the running VMs in it\.
|
|
.
|
|
.IP "\(bu" 4
|
|
rename \fIhostid\fR \fIname\fR Renames the Host
|
|
.
|
|
.IP "\(bu" 4
|
|
importvm \fIhostid\fR \fIname\fR Import VM to OpenNebula
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.SH "ARGUMENT FORMATS"
|
|
.
|
|
.IP "\(bu" 4
|
|
file Path to a file
|
|
.
|
|
.IP "\(bu" 4
|
|
range List of id\'s in the form 1,8\.\.15
|
|
.
|
|
.IP "\(bu" 4
|
|
text String
|
|
.
|
|
.IP "\(bu" 4
|
|
hostid OpenNebula HOST name or id
|
|
.
|
|
.IP "\(bu" 4
|
|
hostid_list Comma\-separated list of OpenNebula HOST names or ids
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.SH "LICENSE"
|
|
OpenNebula 5\.0\.1 Copyright 2002\-2016, OpenNebula Project, OpenNebula Systems
|
|
.
|
|
.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
|