I sort of have the same question as Savitha. I understand what BBSA does by configuring the files required for the jumpstart from the console, but in my case, the target machine never connects to the dhcp server if the macro is not created and assigned to one of the IP addresses of the dhcp range.
So...do I have to create a begin / finish script that creates this macro? Or is there some other way?
i believe if your dhcp server is on the jumpstart box where the script gets executed dhcp will get updated. if dhcp is on a separate box you need to put in something manually.
Hi Bill, thanks for the answer. The dhcp is indeed on the same box as the jumpstart but the macros are not being updated by the provisioning job
look at the add_install_client script - does that have anything in it to update dhcp? (i thought it did). if you know the dhcpadm commands you need to create the macros you can customize that script in the system package.
Thanks Bill. Yes i thought that the solution was to execute the dhcpadm command to create the macros, i just wanted to make sure that I was not missing something in the BBSA configuration.
The execution of the add_install_client script doesn't create the macro, when the execution finishes it prints the message that Savitha put in the original post. This suggests that the macro has to be created and that the script doesn't do it.
If not already configured, enable PXE boot by creating
a macro named 01000AE42A33F8 with:
Boot server IP (BootSrvA) : 172.16.64.194
Boot file (BootFile) : 01000AE42A33F8
Now, where would be the best place to execute this command? It would have to be inside the add_install_client script because the macro has to be in place before the client tries to connect to the dhcp, otherwise the PXE client will not get an offer from the dhcp.
yeah - the add_install_client. you can customize or append to that in the system package afaik.
Yes...this is what I put in my add_install_client script tab
add_install_client -d -e ??DEVICE.MAC_ADDRESS?? -s ??DATA_STORE.INSTALL_SERVER??:??DATA_STORE.INSTALL_SERVER_FULL_PATH?? -c ??DATA_STORE.CONFIG_SERVER??:??DATA_STORE.CONFIG_SERVER_FULL_PATH??/BladeLogic/??DEVICE.MAC_ADDRESS?? -p ??DATA_STORE.CONFIG_SERVER??:??DATA_STORE.CONFIG_SERVER_FULL_PATH??/BladeLogic/??DEVICE.MAC_ADDRESS?? ??DEVICE.ARCHITECTURE??
MAC=01`echo ??DEVICE.MAC_ADDRESS?? | tr '[:lower:]' '[:upper:]'| sed s/\://g`
dhtadm -A -m $MAC -d ":BootSrvA=XX.XX.XX:XX:BootFile=\"$MAC\":"
The last two lines add the macro to the dhcp. Now I have to find a way to assign the macro to an available IP address in the scope, if I don't do this, the server doesn't connect to the dhcp . I also need to find a way to remove the macro when the job is done. Because if I reprovision the server I have to delete the macro before executing the job, otherwise, it fails saying that the macro already exists.
If I find a way, I will post it here...