• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

nova Command Examples in Linux

by Deepika

Nova is an OpenStack project that provides a way to provision and manage computing resources in a cloud environment. It is a core component of OpenStack and is responsible for managing the lifecycle of virtual machines (VMs), also known as “compute instances”. Nova provides an API that allows users to create, delete, and manage VMs, as well as perform other operations such as attaching and detaching storage volumes, configuring network connections, and assigning floating IP addresses. Nova works in conjunction with other OpenStack projects such as Neutron (for network management), Cinder (for storage management), and Glance (for image management), to provide a complete cloud computing platform. With Nova, users can create and manage their own virtual infrastructure, and deploy their applications in a flexible and scalable manner, making it an essential tool for cloud computing administrators and users.

nova Command Examples

1. List VMs on current tenant:

# nova list

2. List VMs of all tenants (admin user only):

# nova list --all-tenants

3. Boot a VM on a specific host:

# nova boot --nic net-id={{net_id}} --image {{image_id}} --flavor {{flavor}} --availability-zone nova:{{host_name}}{{vm_name}}

4. Start a server:

# nova start {{server}}

5. Stop a server:

# nova stop {{server}}

6. Attach a network interface to a specific VM:

# nova interface-attach --net-id {{net_id}} {{server}}

Filed Under: Linux

Some more articles you might also be interested in …

  1. wget Command Examples in Linux
  2. archivemount Command in Linux
  3. hdiutil Command Examples in Mac
  4. kscreen-doctor Command Examples in Linux
  5. How to use “yum downloadonly” to download a package without installing it
  6. feedreader: command not found
  7. Nohup Command Examples – Runs a Command that Keeps Running after You Log Out
  8. cpio Command Examples in Linux
  9. ifenslave Command Examples in Linux
  10. file: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • protonvpn-cli Command Examples in Linux
  • protonvpn-cli connect Command Examples
  • procs Command Examples in Linux
  • prlimit: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright