Hey guys.
My DeployRuleSet looks like this:
Name : ImageProfile
PatternList :
ItemList : {ESXi5U1-HA}
Name : Host01
PatternList : {mac=xx:xx:xx:xx:xx:xx}
ItemList : {Cluster1, HostProfile1}
Name : Host02
PatternList : {mac=xx:xx:xx:xx:xx:xx}
ItemList : {Cluster1, HostProfile1}
Name : Host03
PatternList : {mac=xx:xx:xx:xx:xx:xx}
ItemList : {Cluster2, HostProfile2}
Name : Host04
PatternList : {mac=xx:xx:xx:xx:xx:xx}
ItemList : {Cluster2, HostProfile2}
Name : Host05
PatternList : {mac=xx:xx:xx:xx:xx:xx}
ItemList : {Cluster2, HostProfile2}
... and so on.
So, all hosts get the same image profile (ESXi5U1-HA) but get put into different clusters and attached to different host profiles.
Now I wanted to do something like this:
Name : ImageProfile
PatternList :
ItemList : {ESXi5U1-HA}
Name : Host01
PatternList : {mac=xx:xx:xx:xx:xx:xx}
ItemList : {Cluster1, HostProfile1}
Name : Host02
PatternList : {mac=xx:xx:xx:xx:xx:xx}
ItemList : {Cluster1, HostProfile1}
Name : Host03
PatternList : {mac=xx:xx:xx:xx:xx:xx}
ItemList : {Cluster2, HostProfile2}
Name : Host04
PatternList : {mac=xx:xx:xx:xx:xx:xx}
ItemList : {Cluster2, HostProfile2}
... and so on.
Name : HostXX
PatternList : {mac=xx:xx:xx:xx:xx:xx}
ItemList : {ESXi5-U2-HA, Cluster2, HostProfile2}
I still want every host to have the same image profile (ESXi5U1-HA) EXCEPT HostXX, which should get image profile ESXi5U2-HA.
The idea is to test with one host if the new image profile works and then change the DeployRule "ImageProfile" to
Name : ImageProfile
PatternList :
ItemList : {ESXi5U2-HA}
so that after a reboot, all hosts have the new image profile.
Problem:
HostXX still boots up with the ESXi5U1-HA image.
I thought that the rule specific to the host (MAC) would come first before a general rule (new-DeployRule -allHosts).
Can someone explain to me how this works and how I can achieve what I want?
Thanks in advance!
Best regards
Alex