6.5

VMware vSphere Auto Deploy (ImageBuilder)

1 Host is simple installation
but
what if i have 100 host  :O
i cant just go one by one to do it if it’s not a smart move so

Auto Deploy is the solution, The architecture of auto deploy has changed in vSphere 6.5, one of the main difference is the ImageBuilder build in vCenter, you can create image profiles through the GUI instead of Power CLI

one of the main requirement is to make sure of DHCP scope Configuration:

  • Option 066 – with the Boot Server Host Name (in Cisco it will be different command)
  • Option 067 – with the Bootfile Name

My Design :
vCenter Server : (192.168.200.251)
TFTP Server : (192.168.200.102)

Lets start
Go to Administration > System Configuration
2
Then Choose Services4
Click on Auto Deploy > Actions >Edit the Start Type
5
its Manual by default so change it to Automatic
6
Then Click Start7
Then Move to ImageBuilder Service and do the Same step8
Now log out of the Web Client and Login Again
you will see in the home Page the Icon of (Auto Deploy)
12.JPG
in the in the right Pane click on (Auto Deploy)
13
Then go to Software Depots > Import Software Depost14
I already downloaded a Depots from VMware Web Site
13A
Then i choose to import the Downloaded Depots
15
Once it finish Click Close
16
then when you highlight the Depots it show everything you have inside the File17A
Now go to Deploy Rules > Create A Deploy Rule
30
Choose  a name and i made it simple i Select All hosts. you can define it by MAC or Range of IP Address31
Select the Image Profile 32
Choose the host profile i created in the earlier blog33
Choose where you want the Host to be in which cluster34
Review and click Finish35
As you can see the rule is in (inactive) Status we will activate it after complete our other configuration in DHCP Side36
I will download my TFTP Files from my vCenter
Go to vCenter – Configure – Auto Deploy and click on Download TFTP BOOT Zip
0
And Extract it the ZIP File to my TFTP Folder60
Then i Turn my TFTP
i use Tftpd64 it so easy to use
61
Now go back to the vCenter – Configure – Auto Deploy and this time Copy the BIOS DHCP File Name i will need it in Cisco DHCP Configuration
0
and as you see
Option 66 is the Command (Next-server) Which direct to IP of my TFTP Server
Option 67 is the BIOS DHCP File Name
1000
Now Lets go back to the vCenter and Activate our Rule
highlight the rule and click on Activate
0C
The rule will go up Then press Next 0D
Now Click on Finish 0F
Now lets start our Machine100
you can see configuration is loading
101
it will take couple of minute1000
and as you can see it start loading the VMware ESXi
300
and as you see it Applying the host Profile700
and Done and it took an IP of (192.168.250.13)
so now i press F2 to login
1001
Username : root
Password: still not set so you just press Enter
101010
now click on Configure Password905
and put the new password and press Enter
906
Now browse to (192.168.250.13) and click on Advanced and made an Exception 1002
Confirm the Exception
1003
put the Username and Password i configure earlier
1004
and finally you can see the host now running HPE customized image 6.5 that we download from VMware
1005
and in vCenter page i see it added to my Cluster
100A.JPG

;D

Standard

Leave a comment