VMware, 5.5

Migrate VMs with VMware vMotion

vMotion enables live migration of VM machines from one Host to another with no impact on the Daily operation But Let me tell you this
Before migrating a virtual machine with vMotion, ensure that your hosts and virtual machines have the same network card & share the storage believe me you don’t want your machine to come with different IP Address  ;D

So Similar to how we did earlier when we add a Storage in the last blog we need to add a VMkernel specific for vMotion
in your Home Dashboard go to Host and Cluster1
Select your Host – Manage – Networking – Virtual Switches – Add Host Networking
2
Choose VMkernel Network Adapter
3
Choose a New Standard Switch
4
Click on the + Sign to add a network card5
Select the card you want to use6
Press Next 7
Here we will Check the Box for vMotion Traffic8
Give a static IP Address to the VMKernel9
Press Finish10
Now it’s created we are ready to move to the next step11

Now as you can see my VM Machine (Windows 10) is located under my Host 192.168.208.210 and using my ISCSI Storage (ISCSI-A)
30
Right CLick on the Machine and Select Migrate
20
Now i have the option either to change the Host of the Machine or Change the Datastore or Both
since in my last blog i added an External storage then i will change Both31
I choose to move it to the Host and the compatibility check sign is successful
(the red sign Most of the time memory size give a red sign you have to take care about it but this is just a lab) 33
Now choose the storage you want to move to 34
It’s better to choose the Recommended option35
Select Finish36
and you can see your Machine is Moving in the Recent Task
37
And Walla your Machine Moved under host 192.168.208.209 38
and if you go down you can see the storage information  which show ISCSI-B39

;D

Standard
5.5, VMware

Clone your perfect Virtual Machine

Cloning

okay i know
Same face, Different Hair style and Different dress
its like i created a copy of my self
Guess what!!
VMware have the same Capabilities called (Cloning)
Cloning Feature allow you to create a copy of your perfect Virtual Machine instead of repetitively creating a VM from scratch over and over

So this is how you can do it
Select your Perfect VM Machine1
Right Click and choose – Clone to Virtual Machine
2
Select a name to your new machine and choose a Datacenter3
Select which Host you want to put your VM in4
Select the Storage5
I will not go in detail of Edit the Machine file but for a better practice you need to do it6
Press Finish7
you can Monitor the recent task while the machine is been created
8
and just like that your machine is created9.PNG
Of course you need to change the IP Address to save your self from Conflict IP Address and PC Name cause we did this clone without operation system customize

10.PNG

;D

 

Standard
5.5, VMware

How to Add ISCSI Storage to VMware ESXi

When i start my road to VMware in 2013 this is the subject that kill my head and i got the help from a friend of mine so the thanks here goes to Mohammed Hadi Bafaqeer
164

ISCSI Storage is one of the best solution for VMware Design cause you cant depend on the Storage of the server in case the server crashed all your data crashed and you cant retrieve it and also it can help you in enabling feature like Vmotion

so lets start configuring
in Home Page – choose “Hosts and Clusters”
2
Select the Host3
Go to Manage tab – Networking – Virtual Switch 4
Choose to Add host networking5
Select the VMKernel Network Adapter 6
I use the same vSwitch since I have only one network interface in my server that is up now.
I suggest to have a separate network vSwitch for Storage1.PNG
Put name to it and leave the rest for default and no need to enable any Services11
It better to select a static IP but since this is a lab i let it Automatically obtain an IP from DHCP12
Finish
2
and you can see your vSwitch0 when you highlight it it show the Storage3

now Second Step
go to the host – Manage – Storage – Storage Adapter –
+ Software ISCSI Adapter15
Press OK
16
Now highlights the ISCSI Storage Adapter
Select tab Target – Add18Put the IP Address of you Storage
Mine is 192.168.200.100 press Ok19
Now the Target is added20Now I will associate the VMKernel Adapter with it
Select Network Port Binding – +21Select the Storage VMKernel Adapter that I configure in the beginning of the blog
4.PNG
It is Added and show status Not Used5Click In Rescan icon to refresh the page and 24

25
And it change from Not used to Last Active
6Now Third Step is to add Datastore
Select Host – Related Objects tab – Datastores –
Choose to create a new datastore27
Select the Location28
Choose the Type29
Choose a datastore name90
and select the Version31
ok here i only chooses to use 50 Gig of my 93 Gig 91
Then hit Finish92
as you can see the storage been added under my ESXi host 192.168.208.21093.PNG
and if i go to my second host 10.1.1.23 i will see the same shared Storage
94
Now i want to increase my Storage cause of the 50 Gig is not enough and i want to utilize my whole storage
in my Home Page go to Storage
100
Then go to select the storage i create
ISCSI-A – Manage – Settings – General – Increase 101
Select the Device102
Use the free space103
Increase to the size you wish 104
And simply it increase now hit finish105
and as you can see it change from 50 Gig to 93 Gig106Now lets Create a Virtual Machine to be inside that storage
1
Choose to create a virtual Machine2
Choose the Datacenter3
Select the host4
and now you choose the storage you create earlier5
Choose the compatibility version6
And select the Guest family
i am about to install Windows  ;D7
ALmost finish i will just select my ISO file8
Windows 10 CD yessssssssss9
Hit Next10
and that it’s press Finish11
Power on the Machine12
open console to see the procedure
13
and proceed with he installation16
And that it is
install the windows on our new storage20

 

;D

Standard
5.5, Active Directory, VMware

Integrate VMware vCenter Single Sign-On (SSO) with Active Directory

Single Sign-On (SSO) is a part of vCenter Installation and important step in Authentication and Authorization
once you install vCenter you would have a “vSphere.local” Domain in your server, it would be better if you could integrate your existing Microsoft Active Directory (AD) environment with your organizational structure of groups and users.

So before we start with the configuration i will login with my Domain User and check that i can see anything (vCenter, Datacenter or Hosts)
10
And as you can see under my vCenter there is nothing of my Datacenter or Hosts
12.PNG
So to start as my luck i added my server to a domain already in my Earlier Blog
so to complete the steps here and add give permission to users
Go to Administrator – Single Sign-on – users and groups
1
so to give a permission for my self
From drop down i can change the “vsphere.local” to “mynaghi.com”
2
i put in the search my name so it will not list the whole organization
3
and if you go under Adminstration – Single Sign-on – Configuration – identity Sources

you see from were you get your configuration
for my case i already added my server to the domain4
so to configure the user and give him access so in Home Page
vCenter – vCenter Servers – Then Select the VC-CCIEROOT.Mynaghi.com
then click on “Manage Tab” – Permission – +
5
Select the Assigned role as Administrator
6
I change the Domain to “Mynaghi” and in the Search bar i put my name and Click Add 7
Now I press OK8
As you can see now it show under the permissions9
Now let me login using my Domain Username & Password again
10
and as you can see i can see under the vCenter my vCenter Servers, My Data Center and My Hosts11

;D

 

 

Standard
5.5, VMware

VMware vCenter Server Appliance 5.5 (vCSA)

Helooooo
in my last Blog i show you how to install VMware vCenter on Windows Platform, well that is a history cause VMware decide to let go of it after vCenter 6.5 and complete with Linux. Yes linux virtual appliance running Linux and comes as an OVF and i download it to my Desk
So what i will show you is installation of vCenter Server Appliance 5.5

1
so let proceed with the installation
2
i login to my Host and
File – i choose to deploy OVF Template3
Browse to the location of my OVF5
Choose Next and it show detail of my OVF6
Choose a Name to my Machine and press Next7
Select the storage were i will install my machine to 8
I choose Thin Provision 9
Last press Finish10
Wait till Machine been Deployed
11
And finally Successfully Deployed
12
As you can see my machine been Deployed on my Host so i Turn it on by press the power13
Choose the VMware vCenter Server Appliance14

15
And it finish and it show the link for my vCenter Server which giving to me by my DHCP Server
https://192.168.208.59:5480
17
go to my Firefox Browser and type the vCenter URL
https://192.168.208.59:5480
18
Choose Advanced and make an exception 19
Now login to my vCenter using The initial default user name and the default password
username: root
Password: vmware20
First thing Accept the EULA21
Choose to configure the default settings22
And press start23
It will take time but then press Close25
And then you can see the Summary Page
26
Go to network Tab – Address
to change your configuration from DHCP to static 27
Type the required IP Address and Netmask
and Save your settings28

29
Press Refresh30
Go to vCenter Server Tab – Time tab
and Choose VMware Tools Synchronization and Save Settings
This gives you the option to synchronize the time of the guest OS with the ESXi host32
Then go to Database Setting and choose embedded33
Now to test the SSO Settings first we need to stop the Server
Go to vCenter Server Page – Summary
and press Stop front of the Server
34A
Now go to SSO Tab and set the password of the Administrator and press (Test Settings) and it may take little time and then it as you see it show Operation was Successful34
Now when you press Save it will show this warning
its okay just press OK

35
And again the Operation was Successful
36
Now go back to Summary page and start the Server Again37
now go to your Explorer and browse to the ip address of the vCSA
https://192.168.208.59:9443
and accept the warning38
now login with the
username: Administrator@vsphere.local
Password: you choose in the SSO39
And just like that it finally installed40

Standard
5.5, VMware

VMware vCenter 5.5

The Management King
well i show you in the last blog how to Install VMware ESXi 5.5
Imagin if you have multiple ESXi machine its nonsense to go to each machine and manage it, well today i will introduce The VMware vCenter which will help you to manage all your ESXi hosts from a centeral place and also it will introduce you to so many feature later on.

you can download it from VMware page but When vSphere 5.5 was released, 19 September 2013, its end of support date was also published.

So first there is two Option for vCenter installation either a windows installation or Server Appliance, This is a Windows installation so first thing make sure your server is joined to the domain and next step is installing of .Net Framwork on my Windows server
Let begin i have the exe in my D Drive

1
i will start the installation and choose to accept the License Agreement
2

3
and the installation is complete
4
now i attach the CD to my PC and will proceed with the installation5
I will choose the simple installation
which will install the main 4 item:
vCenter Single Sign-on
vSphere Web Client
vCenter Inventory Service
vCenter Server6
Press Next7
and then i will accept the license agreement8
and here you find that the server already joined and DNS is resolved successfully
check the box and press Next
9
Choose a password for your user
the default user for vCenter is (Administrator@vsphere.local)10
choose a name for your first site
11
Press Next
12
Choose where to save your installation file13
here is your configuration so simply press Install14

15
it may take so much time and it could hang so just when this error show just choose NO16
Accept the SSL Sha1 fingerprint17

18

19
since this is a lab and i dont have a license key i will just press Next20
Since this is my lab and i dont have an Existing Database i will choose to install SQL
21
i will use my windows login 22
Check those ports and then press next23
i choosed here small since its only a lab24
Press Next25
Press Yes26

27

28
The SQL Server installation start and it may take time
29
Press Finish
30
and the installation of all 4 items is done
31Now lets go to the Web
https://192.168.200.250:9443/vsphere-client/
50
Allow the Adobe flash to run51
Now login to the web client using the Administrator username and Password
Username: administrator@vsphere.local
Password: *********
70
and here is our Getting started Page71
click on Home Tab and you can see all your beautiful Option
72
you know what lets not stop here and proceed with adding our ESXi host.
So First Let Add a Datacenter and Name it Jamjoom since that is the branch im working on
so from the Home Page go to
vCenter – vCenter Servers
1
Now on the vCenter Server Right Click – New Datacenter2
Name it Jamjoom
3
now if you see the Datacenters filed become 1
5
Now Click on the Data Center and it will lead me to the Datacenter Page were i can Right Click and Add new Host6
Put the IP Address of your ESXi Host and press Next1
Put the username and password of your ESXi 8
Accept the Security Alert for the SHA 1 thumbprint9
And as you see it detect the server hardware and vendor and model
2
Now click next to accept the Evaluation Mode (dont look at the expire date i created this blog earlier as part of the series ;D)
11
Press Next
12
Choose the Datacenter location for this machine13
Now press finish
3.PNG
and you can see the running task
15
and it added
Also i can login to the vCenter through the vSphere Client and see my Machine
28
choose to ignore
29
and as you see here that is your Datacenter (Jamjoom) that you created in the earlier step
13
also i will show you here to add a host through vSphere Client14
put the IP Address of the Host ESXi and also in the same step you will put your login username and password then press Next15
now accept the SHA1 thumbprint
16
and also it detect the Host vendor and Model and version17
Oh that cool i have a license on that server
lets not tell my manager about it   ;D18
and i will not choose to Enable Lockdown Mode so i press Next 19
Choose the Datacenter Location20
and Finish21
and that all it’s 22

And just like that we had two subject in one blog, installed the vCenter and add host it

;D

Standard
5.5, VMware

Install VMware ESXi 5.5

The Subject that i should write about long time ago
well i have a long Road Map for this Tech and its a never ending journey:
Install VMware ESXi 5.5
VMware vCenter 5.5
VMware vCenter Server Appliance 5.5 (vCSA)
Integrate VMware vCenter Single Sign-On (SSO) with Active Directory
How to Add ISCSI Storage to VMware ESXi
Clone your perfect Virtual Machine
Migrate VMs with VMware vMotion
• VMware DRS (Distributed Resource Scheduler)
• Vmware Affinity
• Converting a Physical Server to VMware Machine (P2V)
• VMware Storage DRS
• VMware High Availability
• VMware Fault Tolerance
• VMware 5.5 Configuring vCenter Server Linked Mode (Single Console Multiple vCenter)
• Upgrade VMware vCenter 5.5 to 6.0
• Upgrade ESXi 5.5 to 6.0 using Update Manager
• VMware 6.0 Configuring vCenter Server Enhanced Linked Mode
• VMware vMotion Cross vCenter 6.0
• VMware vSphere Auto Deploy
• Migrating vCenter Server 6.5 for Windows to vCenter Server Appliance 6.7
So i show in my earlier blog How to Debloy CUCM in ESXI Now i will show you how to install that VMWare ESXi from the scratch
so first you need to have a CD of the ESXi which can be downloaded from their web site
https://my.vmware.com/web/vmware/details?productId=352&downloadGroup=ESXI550

Then Burn that ESXi image to CD and inseart in the Machine and it will start loading1

2
Then it will appear a welcome message Just Press (Enter) Continue3
it will Ask you to Accept the End User License Agreement (EULA)4
it will start to Scan the Devices in your system5
Then Press (Enter) Continue to choose the Desk you need to install the ESXi on6
Then Choose the Language and Press (Enter) Continue7
it will prompt  you for Password
type your password and confirm it8
now Just press (F11) Install to start the installation
10
And it will start 11
Now your CD Room will eject and will ask you to Reboot the System so
Press (Enter) Reboot12
The System will reboot and will come up Again13

14
and finally your machine is up and you can see the http://0.0.0.0
so you need to configure your IP Address15
Press (F2) to configure your Machine16
it will ask you for the password that you earlier configured17
now go to (Configure Management Network) 18
then go to IP Configuration19
Select to Set Static IP Address
and fill the Filed
i Choose 192.168.208.209 as my ESXi IP Address
and press OK to confirm
1
now when you go back it will ask you to restart the Management Network
just press (Y) Yes
21
just to make sure an extra step try to test the reachability
go to Test management Network22
fill the Address that you want to ping
im trying to ping 192.168.208.1 which is my Gateway
and Press (Enter)OK
2
and it ping went smoothly
3
now let me go to VMware vSphere Client and put the IP Address of my ESXi and the name and Password of my ESXi and press Login
4
Click Ignore for the Certificate5
And here is my Lovely Machine 6.PNG

And here to a new road of technology

;D

Standard