Statement:
this blog welcome reprint, but please keep the original author information !
Lin Kai
team: Huawei Hangzhou OpenStack Team
In the case of limited physical conditions, but also want to engage in cluster environment, or need to do environmental functional verification, need to set up a lot of environment, this time is very headache, how to do? So the idea is to use VMware ESX to physically bare-metal virtualization, and then start multiple guestos on top of these guestos, you can "do whatever" (because there are snapshots, you can revert to the original state at any time).
I'm going to start with the OpenStack environment on these OS, and imagine if creating a virtual machine in OpenStack is a virtual machine on a virtual machine, the loop continues, wouldn't it be spectacular. Amount: I again "naughty", nonsense not much to say, let us start the text bar.
Software Preparation:
Includes VMware ESX installation image and client software on Windows side
Bare-Metal BIOS environment preparation:
Before installing the single board BIOS, check whether the white option is enabled, if yes, modify it to: Disabled
Otherwise, this error will occur:
To begin installing ESX:
All the way to default options down
Select the first disk, or you will have to set the disk boot order in the BIOS to enter the system.
The default option is down, set the password, and remember.
F11 confirm installation and start installing ESX 5.5.0
Reboot after installation
Reboot, if not previously selected disk, but also into the BIOS to modify the disk sequence, into the boot load
Software and other content loading and service startup, etc.
ESX Environment started successfully
F2 can modify the configuration or view the log, F12 can shut down or restart
Configure by F2
Select Configure Network to configure the network
Configure IP and VLANs (configuration options are similar to other system configuration methods)
After you have configured your network, you will be prompted to save your settings when you exit and restart your network after saving
OK, the configuration on the BMC is complete, the normal words should be able to be managed by ESX client.
The installation of ESX client software is straightforward all the way down to the default option.
Open ESX client and log in with the IP and password you just set
Enter the client's main interface after landing
First upload the image, click the "Configure" option next to "performance" option on the right, select the storage
Select the appropriate disk, right-click Browse data Store
Click the third icon above to create a new "ISO" folder
To enter the ISO file, click on the fourth icon to upload an image
Select the appropriate image upload, here choose to upload Ubuntu14.04 ISO file
Right-click 192.168.206.149, click New Virtual Machine
Choose Custom, or typically, choose custom here.
Next, fill in the hostname and choose the default settings
To select the installation of the system needs to be modified
After the modification is complete, the next step is to modify the CPU cores and memory size according to your needs, then configure the NIC
This side add two network cards, about the network configuration after a detailed article introduction
Continue with default options down to disk size settings
Disk provisioning selection Thin provision
Thin provision
On demand, the virtual magnetic plate will not be allocated to all the required space, but according to the need, the vmdk increase, and zero on the side of the use of these new space; the true size of a vmdk file is not equal to the size of the created virtual magnetic plate, but only to the actual size. (zero is the magnetic disc blank written in 0, is the initialization of the work.) )
Then go all the way to the default selection down to the last virtual Machine Check edit virtual machine settings
Select the disc and load the image you just uploaded. Then tick "Connect when power is turned on"
Click Done and the virtual machine settings are complete.
The main interface has already shown the virtual machine that you just configured, check the virtual machine, click on the right to start the virtual machine
Start the virtual machine and you can start the same installation system as usual.
This allows multiple sets of environments to be installed on a single board.
VMware Esx easily virtualize physical machines to make the most of their physical machines