Hi,
So, I'd like to patch the servers.
My thinking on this is:
So the rebalance operation is having limited success in my first test
I am aware of this: VMware View 5.2 Documentation Library : You cannot load-balance virtual machines across a resource pool. For example, you cannot use the View Composer rebalance operation with linked-clones that are stored on local datastores.
So I cannot rebalance (first of all, I'm not sure why? In my case, can't machines just be deleted and recreated elsewhere - considering a rebalance also does a refresh anyway)?
What is the best approach?
Of course, when the server comes back up, I need to reverse the process and get desktops back onto it, and maintain a balance across the other servers.
Any advice?
Thanks in advance.
Rebalance is not a simple delete and re-create action. Even the Desktops are non-persistent, there are persistent disks associated with it. like (Internal disk)
These carries data like domain membership trust and all. Therefore, without a shared datastore, preserving and migrating such internal disk is impossible (and prevented).
Now for you case, since it is floating desktops (non- persistent),
Rebalance is not a simple delete and re-create action. Even the Desktops are non-persistent, there are persistent disks associated with it. like (Internal disk)
These carries data like domain membership trust and all. Therefore, without a shared datastore, preserving and migrating such internal disk is impossible (and prevented).
Now for you case, since it is floating desktops (non- persistent),
kgsivan wrote:
Rebalance is not a simple delete and re-create action. Even the Desktops are non-persistent, there are persistent disks associated with it. like (Internal disk)
These carries data like domain membership trust and all. Therefore, without a shared datastore, preserving and migrating such internal disk is impossible (and prevented).
Now for you case, since it is floating desktops (non- persistent),
- De-select the datastore of the host to be patched by editing the pool.
- Logoff active sessions (if any) for the specific VMs / put the VM into maintenance mode.
- Delete Those specific VMs through *View administrator Pool Inventory*
- Configure back the datastore spec layout after patching host,
- And then increase the pool size to the desired numbers
I understand that the move and refresh operation will indeed be quicker, and this is not possible with local storage.
It would be nice to have the option on rebalance to "delete and recreate" or "move and refresh (default)" - but perhaps I am in a unique position where there is not enough demand for this type of feature.
One thing - after deselecting the datastore, I did notice that choosing rebalance did "do something" to some desktops. I'm not sure what. There were the desktops that had "task halted" as well.
Oh well.
Anyway, thanks for your advice. I am doing:
1. Done (as per your 1)
2. Delete any remaining "active/provisioned" desktops on that datastore (Through Pool Inventory).
3. Instead of forcing users to logoff (as they are still using sessions) we wait for logoff. On logoff the, desktop is deleted. -- Once this has happened, there should be no more desktops on this datastore.
4. Done (as per your 4)
5. This is a strange one - I didn't decrease the pool size in the steps above (our servers have enough overhead to take the full pool size with one server down). I'm assuming that when desktops on the other datastores are deleted (logged off) one by one, they will be spun up on this restored datastore (one by one)?
Thanks
> 5. This is a strange one - I didn't decrease the pool size in the steps above (our servers have enough overhead to take the full pool size with one server down). I'm assuming that when desktops on the other datastores are deleted (logged off) > one by one, they will be spun up on this restored datastore (one by one)?
Sorry... My bad. You don't need to increase pool size. Instead user "Disable Provisioning" before VM removal and "Enable Provisioning" after patching, and adding the host-back..
(If so, even you don't need to edit the datastore spec.)
kgsivan wrote:
> 5. This is a strange one - I didn't decrease the pool size in the steps above (our servers have enough overhead to take the full pool size with one server down). I'm assuming that when desktops on the other datastores are deleted (logged off) > one by one, they will be spun up on this restored datastore (one by one)?
Sorry... My bad. You don't need to increase pool size. Instead user "Disable Provisioning" before VM removal and "Enable Provisioning" after patching, and adding the host-back..
(If so, even you don't need to edit the datastore spec.)
Hmm, I haven't disabled provisioning either - I still want desktops to be created in this case, but I guess others may not if they don't have the resources.
I found that when deleting the desktops from the other resources, the "minimum available" count kicks in and spins up some new desktops on the remaining datastores. All fine with me.
When the new datastore comes back, it starts using it again automatically when users log off (desktop deleted) from other datastores.
This seems OK, have now completed the patch on the first server.
I can see this might be a bit of a nightmare with an extensive deployment.
Thanks for the assistance.
True. You can disable provisioning for a short period of time (during the time of deletion up-to host removal.)
However as you pointed out you can let the provisioning happens to other datastores in parallel, and prevent to the particular host by deselecting the datastore.
Agree with you that both are tedious in large scale...
Thanks for the detailed response.