<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Command Line Interface on</title><link>https://docs.opennebula.io/7.2/product/operation_references/command_line_interface/</link><description>Recent content in Command Line Interface on</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 17 Feb 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://docs.opennebula.io/7.2/product/operation_references/command_line_interface/index.xml" rel="self" type="application/rss+xml"/><item><title>Overview</title><link>https://docs.opennebula.io/7.2/product/operation_references/command_line_interface/overview/</link><pubDate>Mon, 17 Feb 2025 00:00:00 +0000</pubDate><guid>https://docs.opennebula.io/7.2/product/operation_references/command_line_interface/overview/</guid><description>&lt;p&gt;&lt;a id="command-line-interface"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;!--# Overview --&gt;
&lt;p&gt;Here you will find information about the core command-line interfaces and support utilities available to manage and diagnose an OpenNebula installation.&lt;/p&gt;
&lt;h2 id="how-should-i-read-this-chapter"&gt;How Should I Read This Chapter&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://docs.opennebula.io/7.2/product/operation_references/command_line_interface/cli/"&gt;Command Line Interface (CLI)&lt;/a&gt;: provides a comprehensive reference for the suite of one* commands (e.g., onevm, onehost, onedatastore) used for full lifecycle management of cloud resources.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.opennebula.io/7.2/product/operation_references/command_line_interface/cli_configuration/"&gt;Command Line Interface Configuration&lt;/a&gt;: details the configuration of the shell environment using variables like &lt;code&gt;ONE_XMLRPC´ and &lt;/code&gt;ONE_AUTH´, and explains how to customize CLI output formats.&lt;/p&gt;</description></item><item><title>Command Line Interface</title><link>https://docs.opennebula.io/7.2/product/operation_references/command_line_interface/cli/</link><pubDate>Mon, 17 Feb 2025 00:00:00 +0000</pubDate><guid>https://docs.opennebula.io/7.2/product/operation_references/command_line_interface/cli/</guid><description>&lt;p&gt;&lt;a id="cli"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;!--# Command Line Interface --&gt;
&lt;p&gt;OpenNebula provides a set of commands to interact with the system:&lt;/p&gt;
&lt;h2 id="cli"&gt;CLI&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://docs.opennebula.io/doc/7.2/cli/oneacct.1.html"&gt;oneacct&lt;/a&gt;: gets accounting data from OpenNebula.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.opennebula.io/doc/7.2/cli/oneacl.1.html"&gt;oneacl&lt;/a&gt;: manages OpenNebula ACLs.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.opennebula.io/doc/7.2/cli/onecfg.1.html"&gt;onecfg&lt;/a&gt;: manages OpenNebula configuration files upgrade.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.opennebula.io/doc/7.2/cli/onecluster.1.html"&gt;onecluster&lt;/a&gt;: manages OpenNebula clusters.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.opennebula.io/doc/7.2/cli/onedatastore.1.html"&gt;onedatastore&lt;/a&gt;: manages OpenNebula datastores.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.opennebula.io/doc/7.2/cli/onedb.1.html"&gt;onedb&lt;/a&gt;: OpenNebula database migration tool.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.opennebula.io/doc/7.2/cli/onegroup.1.html"&gt;onegroup&lt;/a&gt;: manages OpenNebula groups.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.opennebula.io/doc/7.2/cli/onehook.1.html"&gt;onehook&lt;/a&gt;: manages OpenNebula hooks.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.opennebula.io/doc/7.2/cli/onehost.1.html"&gt;onehost&lt;/a&gt;: manages OpenNebula Hosts.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.opennebula.io/doc/7.2/cli/oneimage.1.html"&gt;oneimage&lt;/a&gt;: manages OpenNebula images.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.opennebula.io/doc/7.2/cli/onemarket.1.html"&gt;onemarket&lt;/a&gt;: manages internal and external Marketplaces.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.opennebula.io/doc/7.2/cli/onemarketapp.1.html"&gt;onemarketapp&lt;/a&gt;: manages appliances from Marketplaces.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.opennebula.io/doc/7.2/cli/onesecgroup.1.html"&gt;onesecgroup&lt;/a&gt;: manages OpenNebula security groups.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.opennebula.io/doc/7.2/cli/oneshowback.1.html"&gt;oneshowback&lt;/a&gt;: OpenNebula Showback tool.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.opennebula.io/doc/7.2/cli/onetemplate.1.html"&gt;onetemplate&lt;/a&gt;: manages OpenNebula templates.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.opennebula.io/doc/7.2/cli/oneuser.1.html"&gt;oneuser&lt;/a&gt;: manages OpenNebula users.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.opennebula.io/doc/7.2/cli/onevdc.1.html"&gt;onevdc&lt;/a&gt;: manages OpenNebula Virtual Data centers.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.opennebula.io/doc/7.2/cli/onevm.1.html"&gt;onevm&lt;/a&gt;: manages OpenNebula Virtual Machines.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.opennebula.io/doc/7.2/cli/onevmgroup.1.html"&gt;onevmgroup&lt;/a&gt;: manages OpenNebula VMGroups.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.opennebula.io/doc/7.2/cli/onevnet.1.html"&gt;onevnet&lt;/a&gt;: manages OpenNebula networks.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.opennebula.io/doc/7.2/cli/onevntemplate.1.html"&gt;onevntemplate&lt;/a&gt;: manages OpenNebula networks templates.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.opennebula.io/doc/7.2/cli/onevrouter.1.html"&gt;onevrouter&lt;/a&gt;: manages OpenNebula Virtual Routers.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.opennebula.io/doc/7.2/cli/onezone.1.html"&gt;onezone&lt;/a&gt;: manages OpenNebula Zones.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.opennebula.io/doc/7.2/cli/oneirb.1.html"&gt;oneirb&lt;/a&gt;: opens an irb session.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.opennebula.io/doc/7.2/cli/onelog.1.html"&gt;onelog&lt;/a&gt;: access to OpenNebula services log files.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.opennebula.io/doc/7.2/cli/oneswap.1.html"&gt;oneswap&lt;/a&gt;: convert Virtual Machines from vCenter to OpenNebula.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The output of these commands can be customized by modifying the configuration files found in &lt;code&gt;/etc/one/cli/&lt;/code&gt;. They also can be customized on a per-user basis, in this case the configuration files should be placed in &lt;code&gt;$HOME/.one/cli&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>Command Line Interface Configuration</title><link>https://docs.opennebula.io/7.2/product/operation_references/command_line_interface/cli_configuration/</link><pubDate>Mon, 17 Feb 2025 00:00:00 +0000</pubDate><guid>https://docs.opennebula.io/7.2/product/operation_references/command_line_interface/cli_configuration/</guid><description>&lt;p&gt;&lt;a id="cli-configuration"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;!--# Command Line Interface Configuration --&gt;
&lt;p&gt;There are necessary environment variables and command-line arguments for OpenNebula users to authenticate and communicate with the core services, ensuring proper function of the one* CLI tools. You will also find about the use of command-line parameters (&amp;ndash;user, &amp;ndash;password, &amp;ndash;endpoint) as an alternative to environment variables and notes configuration for OneFlow and OneGate services.&lt;/p&gt;
&lt;p&gt;&lt;a id="cli-shell"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h1 id="shell-environment"&gt;Shell Environment&lt;/h1&gt;
&lt;p&gt;OpenNebula users should have the following environment variables set, you may want to place them in the &lt;code&gt;.bashrc&lt;/code&gt; of the user’s Unix account for convenience:&lt;/p&gt;</description></item><item><title>Support Utilities (EE)</title><link>https://docs.opennebula.io/7.2/product/operation_references/command_line_interface/support/</link><pubDate>Mon, 17 Feb 2025 00:00:00 +0000</pubDate><guid>https://docs.opennebula.io/7.2/product/operation_references/command_line_interface/support/</guid><description>&lt;p&gt;&lt;a id="support"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;!--# Support Utilities (EE) --&gt;
&lt;p&gt;OpenNebula provides customers with the means to generate diagnostic bundles with all details necessary to handle support cases. The OpenNebula server package contains &lt;a href="https://docs.opennebula.io/7.2/product/operation_references/command_line_interface/support/#support-bundle"&gt;OneGather&lt;/a&gt;, a specialized tool that generates an archive bundle with information about the OpenNebula instance, such as configuration, database, and Hosts&amp;rsquo; state.&lt;/p&gt;









&lt;div class="alert alert-info" role="alert"&gt;
 
 &lt;div class="alert-heading"&gt;
 &lt;i class="alert-icon fa-sharp fa-solid fa-circle-info"&gt;&lt;/i&gt; Important
 &lt;/div&gt;
 
 &lt;div class="alert-body"&gt;
 This feature is available only in OpenNebula &lt;strong&gt;Enterprise Edition&lt;/strong&gt;.
 &lt;/div&gt; 
&lt;/div&gt;
&lt;p&gt;&lt;a id="support-bundle"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="generate-support-bundle"&gt;Generate Support Bundle&lt;/h2&gt;
&lt;p&gt;If there are no special requirements, the support diagnostic bundle can be generated just by running &lt;code&gt;onegather&lt;/code&gt; &lt;strong&gt;on the Front-end&lt;/strong&gt; without any extra parameters. The command must be running under &lt;strong&gt;privileged user&lt;/strong&gt; (directly by &lt;code&gt;root&lt;/code&gt; or via &lt;code&gt;sudo&lt;/code&gt;). For example:&lt;/p&gt;</description></item></channel></rss>