Installation: Difference between revisions
Line 73: | Line 73: | ||
====Create the first Virtual Machine (Container (OpenVZ))==== | ====Create the first Virtual Machine (Container (OpenVZ))==== | ||
[[Image: | [[Image:Screen-create-container-mailgateway.png|thumb|Create Virtual Machine]] | ||
Go to "VM Manager/Virtual Machines - Create": | Go to "VM Manager/Virtual Machines - Create": | ||
Revision as of 09:26, 6 April 2008
Introduction
Proxmox VE installs the complete operating system and management tools in 3 to 5 minutes (depends on the used hardware).
Including the following:
- Complete operating system (Debian Etch 64)
- Partition the hard drive with LVM2
- Proxmox VE Kernel with OpenVZ and KVM support
- Backup/Restore tools
- Web based management interface
Please note, the complete server is used and all existing data is removed.
System requirements
For production servers, high quality server equipment is needed. Keep in mind, if you run 10 Virtual Servers on one machine and you got a hardware failure, 10 services are lost. Proxmox VE supports clustering, means that multiple Proxmox VE installations can centrally managed via the included cluster functionality.
Proxmox VE uses local storage (DAS), there is no need for expensive SAN equipment.
Minimum requirements for evaluation:
- CPU: 64bit (Intel EMT64 or AMD64), Intel VT/AMD-V capable CPU/Mainboard (for KVM Full Virtualization support)
- Minimum 1024 GB RAM
- Hard drive
- One NIC
Recommended system requirements:
- CPU: 64bit (Intel EMT64 or AMD64), Multi core CPU recommended, Intel VT/AMD-V capable CPU/Mainboard (for KVM Full Virtualization support)
- Minimum 1 GB RAM, 4 GB is good, more is better
- Hardware RAID with batteries backup
- Fast hard drives, best results with 15rpm SAS, Raid10
- One NIC
Certified hardware
Basically you can use all hardware supporting Debian Etch 64 bit. If you are unsure, just pick one of these:
- HP DL380G5
- IBM x3650
Steps to get your Proxmox VE up and running
Install Proxmox VE server
- Download ISO image and burn it on a CD (see Downloads)
- Boot from CD and start the automatic installer on your dedicated hardware
- Follow the instructions on the screen
Proxmox VE web interface
Configuration is done via web interface, just point your browser to the given IP address during installation (https://youripaddress). Please make sure that your browser has sun-java plugin installed (GCJ for firefox does not work yet) as this is used for console view. Proxmox VE is tested for IE6/IE7, firefox 2.x and 3.x
Default login is "root" with the password "admin" - this is also the root account for console access.
Configure basic system setting
Please review the following settings, see "Configuration/System":
- Network
- DNS
- Time settings
- Options: language (for the management web interface)
- Options: set the keyboard layout (this is the keyboard layout for Virtual Machines)
Get Appliance Templates
Download
Just go to "VM Manager/Appliance Templates" and download pre-built Virtual Appliances directly to your server. This list is maintained by the Proxmox team and more and more Appliances will be available. This is the easiest way and a good place to start.
Upload from your desktop
If you already got Virtually Appliances you can upload them via the upload button. To install a virtual machine from an ISO image (using KVM full virtualization) just upload the ISO file via the upload button (limited to 2 GB).
Directly to filesystem
Templates and ISO images are stored on the Proxmox VE server (see /var/lib/vz/template/cache for openvz templates and /var/lib/vz/iso for ISO images). You can also transfer templates and ISO images via secure copy (scp) to these directories. If you work on a windows desktop, you can use a graphical scp client like [winscp].
Create the first Virtual Machine (Container (OpenVZ))
Go to "VM Manager/Virtual Machines - Create":
Configuration:
- Type: select "Container (OpenVZ)
- Template: select "proxmox-mailgateway" (or whatever you want)
- Hostname: give a unique server name
- Memory (MB): Memory for containers includes RAM and SWAP space - so as a rule give double memory as you would use on physical hardware. For the proxmox-mailgateway, use 1024 MB.
- Password: set the root password
- VMID: just use the given ID or overwrite the suggested one
- Cluster Node: If you have several Proxmox VE servers, select the node where you want to create the new virtual machine
- Start at boot: tick this if you want the Virtual Machine started on reboot of the Proxmox VE server
- Disk space (GB): default value 8 GB - please note you can change this later without reboot or modifications within the Virtual Appliance (very cool).
Network:
- Network Type: default Virtual Network (venet) - in only some case you need Bridged Ethernet(veth) here (see [OpenVZ wiki] for details
- IP Address: give a unique IP (if you select Brigded Ethernet, the IP configuration has to be done in the Virtual Machine)
- DNS Domain: e.g. yourdomain.com
- First/Second DNS Servers: enter DNS servers
Now review your setting and create your first Virtual Machine.