Creating Virtual Machine in VSphere 5


first you need your media on the vsphere server or your storage.Once you log into vsphere you have the default screen as seen below.Go to Configuration and then Storage.


Vsphere 5 console



Now you will be able to see your storage, whether it be local or NAS/SAN etc. Right click your storage and then select browse data-store. This will bring up a screen with the menu options as seen below. Select the folder with the “+” on it and create a folder called “ISO” this is where we will store the media.
datastore icons

data-store icons
Once you have your “ISO” folder double click it. We now need to upload the media to this folder. So Click the image of the Disk with the up arrow and select upload file. Browse to your iso that you have either created or downloaded and it will upload to the storage. We are now read to start building your virtual 2008 r2 server.
Now down the left hand side of your main VI client console you will see either the name of your host or the ip address of your host. Right click it and select New Virtual Machine

Create a new virtual machine

Create a new virtual machine
You will then see the screen below, it give you the option of either typical or custom virtual machine , a typical machine will have a CPU, hard disk, memory…you get it the usual hardware setup on it. Custom is exactly that you can add USB etc or more hard disks. Don’t worry, if you select typical you can always add more virtual hardware later. I selected typical for this guide.

Typical or custom virtual machine

Typical or custom virtual machine
Then it will ask what you would like to call this virtual machine, call it whatever you like.Next you now get asked where you would like to store this VM, I am storing mine on my data-store 1 as you can see below. ( you can call your data-stores anything you like).Highlight your storage and click next

Select what datastore you would like to store your VM

Select what data-store you would like to store your VM
Now you will get the option to select what operating system you would like to install onto your virtual machine. I require 2008r2 64bit, you choose whatever you require then click next.

Select virtual machine operating system

Select virtual machine operating system
You will now get asked how many virtual NICS you require. 99% of the time you need one and one only, the only time you would need two is if your server requires access to two different networks or maybes a DMZ. The other option is what network you would like to connect to, by default it will say VM network. This is a switch that is created in vsphere by default, unless you have servers or other VMs that you do not want to see each other then you will only need this default switch.You can just click next to this screen if none of the above applies.

Virtual machine network properties

Virtual machine network properties
The next screen will ask you what size hard drive you would like your operating system to be installed on. If you are not sure then look up the recommended operating system volume size you require for you OS.I like to build my server 2008 servers with a minimum of 60 GB.
The next option is either Thick provisioned or Thin provisioned. Thick provisioning means immediately 60 GB will be taken from my storage Thin provisioning means as and when the OS needs the drive space, it will take it until it eventually eats up then 60 GB. I have allocated. I recommend you NEVER thin provision an OS drive. It is perfectly fine to thin provision a data volume for when your files and folders grow.

Thick provsioned or thin provisioned

Thick provsioned or thin provisioned
Finally we get the complete screen which basically shows you a run down of the options we have selected. Pop a tick in the bottom tick box that says Edit the virtual machines before completion. If you forget to do this right click your virtual machine and select edit properties.

Vm completion screen
Vm completion screen
When you click continue the Virtual Machine is created. Once done the edit settings screen will appear where you will get the option to allocate more memory,more hard drives and more CPUS etc. Allocate resources as you require by highlighting the device and then entering the value required.. Then select ok. I require just 4 gig ( yes I know its 64 bit before the smarties have a pop! ) and a few cpu`s.

Edit virtual machine settings
Edit virtual machine settings
Now, you remember we uploaded you ISO image? we need to point your CD-Rom to it. You could of just pointed the VM to the hosts CD-Rom and then put the CD in there however this is quicker and easier IMO. So, select the CD-Rom on the hardware list.
Then select the Data-storage ISO File option and hit browse.Then browse to your ISO file and select it. Make sure you put a tick in the box that says connect at power on. Then finally click OK.
That is it your Virtual machine is complete and ready to build its operating system.You will now see your virtual machine down the left hand side. Right click it and select Open Console. You will then see the screen below. Hit the > Play button and the server will start to build.Job done :).
Virtual machine console
Virtual machine console

No comments:

ORA-00059: Maximum Number Of DB_FILES Exceeded in 19C database

When I am adding datafile to my 19C database facing the below error. SQL> alter tablespace DATA  add datafile '/u01/data/data15.dbf&#...