Skip to content

OpenNebula — Operations

Scope

Production deployment patterns, operational procedures, performance tuning, and troubleshooting for OpenNebula.

Deployment

Frontend Installation

# Install OpenNebula frontend (Debian/Ubuntu)
apt-get install opennebula opennebula-sunstone opennebula-fireedge

# Start services
systemctl start opennebula opennebula-sunstone opennebula-fireedge

# Default admin access
cat /var/lib/one/.one/one_auth  # oneadmin:password

KVM Node Setup

# Install on compute nodes
apt-get install opennebula-node-kvm

# Add node to cluster
onehost create node1 -i kvm -v kvm

VM Management

# Create VM from template
onetemplate instantiate mytemplate --name myvm

# VM lifecycle
onevm resume <id>
onevm suspend <id>
onevm poweroff <id>
onevm shutdown <id>

# Live migration
onevm migrate <id> <target_host> --live

Monitoring

# Check host status
onehost list
onehost show <id>

# Check VM status
onevm list
onevm show <id>

# Cluster monitoring
onecluster list

Common Issues

Issue Diagnosis Fix
VM stuck in PENDING onevm show <id> Check host capacity, scheduler
Migration fails Check libvirt connectivity Verify SSH keys between hosts
Sunstone login fails Check sunstone.log Restart sunstone service
Storage full onedatastore list Clean up images, add storage