---
name: "onehost"
section: "1"
platform: "linux"
package: "opennebula-tools"
version: "3.4.1-3.1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/onehost"
---

# onehost(1)

## NAME

**onehost**

## SYNOPSIS

**onehost** *command* \[*args*\] \[*options*\]

## OPTIONS

```
 -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
 -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
```

## COMMANDS

- •

  create *hostname*

-

  ```
  Creates a new Host
  valid options: im, vmm, vnm, cluster
  ```

-

  - •

  delete *range\|hostid\_list*

-

  ```
  Deletes the given Host
  ```

-

  - •

  enable *range\|hostid\_list*

-

  ```
  Enables the given Host
  ```

-

  - •

  disable *range\|hostid\_list*

-

  ```
  Disables the given Host
  ```

-

  - •

  update *hostid*

-

  ```
  Launches the system editor to modify and update the template contents
  ```

-

  - •

  sync

-

  ```
  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
  ```

-

  - •

  list

-

  ```
  Lists Hosts in the pool
  valid options: list, delay, xml, numeric, kilobytes
  ```

-

  - •

  show *hostid*

-

  ```
  Shows information for the given Host
  valid options: xml
  ```

-

  - •

  top

-

  ```
  Lists Hosts continuously
  valid options: list, delay, xml, numeric, kilobytes
  ```

-

  -

  ## ARGUMENT FORMATS

- •

  file

-

  ```
  Path to a file
  ```

-

  - •

  range

-

  ```
  List of id´s in the form 1,8..15
  ```

-

  - •

  text

-

  ```
  String
  ```

-

  - •

  hostid

-

  ```
  OpenNebula HOST name or id
  ```

-

  - •

  hostid\_list

-

  ```
  Comma-separated list of OpenNebula HOST names or ids
  ```

-

  -

  ## LICENSE

OpenNebula 3.4.1 Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org)

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
