Introduction
Proxmox ve(Proxmox virtualenvironment) is a great environment integrated with openvz [1] to support KVM [2] applications. There is an easy-to-use web interface. Based on the Java UI and kernel interface, you can log on to the VM for convenient operations and easy-to-use template functions, which is basically similar to the commercial VPs environment of foreigners.
Procedure for creating a virtual machine using proxmox
1. First, log on to the Management Platform
2. Click the create VM button in the upper-right corner To Go To The following creation interface:
On the General tab, enter or select the inherent attributes of the virtual machine to be created.
3. Click the "Next" button (the same below) to switch to the OS Tab. The following page is displayed:
Select the operating system you want to install. Here, select the Linux operating system (kernel 2.6)
4. Switch to the CD/DVD tab and select the installation type.
Select ISO (image file) for installation. You have to prepare the image file of the operating system you want to install. Of course, you can also choose to use a physical CD/DVD drive or do not use any media [generally, ISO installation is used ].
5. Switch to the "Hard Disk" tab to set the required storage space or format.
If you have no special requirements, you can select the above settings. You only need to select the disk space you need.
Format: qemu [3], bus/device: virtio [4]
6. Switch to the CPU tab and select the CPU configuration you need.
There are no special test requirements. Here, sockets and cores usually choose 2. And the two parameters should be kept as consistent as possible. CPU type, which can be selected from 486 to 686.
7. Switch to the memory tab and set the maximum memory you need.
8. Switch to the "network" tab and set the following parameters:
In general, select bridged mode and virtio for model ). The other options are as follows.
9. Go to the "OK" tab and confirm all hardware configuration parameters.
All the configuration parameters of the virtual machine to be created are listed above. If no changes are made, click "finish" to create the virtual machine. If you find that you need to modify it, click "back" to return to the configuration page and complete the modification.
The above is the creation of the virtual machine on the proxmox management software. You can see that the management interface is really brief and friendly. If you have any questions or want to discuss the matter, contact Dr. Fan Jian of the Institute. These virtual machines can only be created on their servers.
Note:
[1] openvz is an operating system virtualization technology based on Linux kernel and operating system. Openvz allows physical servers to run multiple operating systems, which are called virtual private server (VPS virtual privateserver) or virtual environment (VE virtual environment ).
Compared with the semi-virtualization technology such as VMware and xen, the host OS and guestos of openvz must both be Linux (although different Linux distributions can be used in different virtual environments ). However, openvz claims to have a performance advantage. According to the openvz website, using openvz has a performance loss of 1-3% compared with using an independent server.
Openvz is the foundation of mongoozzo, a proprietary software developed by swsoft and Inc. Openvz authorization is gplv2.
Openvz consists of two parts: a modified operating system core and user tool.
[2] KVM (kernel-basedvirtual machine) is a full-featured virtualization solution on the x86 hardware platform in Linux, including a loadable kernel module KVM. ko provides and virtualizes core architecture and processor specification modules.
Using KVM allows multiple virtual machines, including Linux and Windows, to have private hardware, including NICs, disks, and graphics adapter.
[3] qemu is a free set of simulation processors compiled by fabricebellard. It is similar to bochs and pearpc, but it has some features not available in the latter two, such as high speed and cross-platform features. Through the open-source accelerator kqemu, qemu can simulate the speed close to the real computer.
Qemu supports many typesFormatThe qcow/qcow2 formats selected here are all supported formats. They support copy-on-write format. For example, when a copy operation is executed, only the copy operation is performed. During the read operation, the execution is similar to the concept of referencing the value assignment in Java/C # (that is, there is no memory for the new object during the copy, instead, let the new object and the old object execute the same memory address at the same time). For more information, seeCopy-on-write principle.
[4] virtio isI/O virtualization framework for LinuxIn the "sample virtio driver" section, qemu is required to practice the virtio semi-virtualization infrastructure in the Linux kernel.