Sunday, 20 March 2016

vDisk is locked with Error: 0xffff8017



There are couples of issues that arise in the Provisioning servers and this is one of them. So anyone who is facing this issue lets have a quick view and might be this fix will help to kick off your problem.
In PVS 6.1 Environment, after having latest updates on your vDisk and VM starts attempting to boot from this vdisk, it throws this Error Message ”Vdisk is locked. 0xffff8017”. 
Reason -"This error normally arise because of having lock on the vdisk in the vDisk Store which won't allow Virtual Machines(VM) to boot with this vDisk"

There are two method to resolve this issue, First one is quite risky which might corrupt your vDisk (but chances are little) so do it at your own risk and second one is Lengthy and require Downtime to resolve this Issue.
So, I am going to start with former one.  Solution is mentioned below:-

1. Directly delete the .log File i.e. vDisk.lok file on all the provisioning Services (PVS)
2. Restart all the VM's functioning with this vDisk.
3. It will allow all the VM's to boot with this vDisk. Once successfully booted, you are ready to go and use these VM's as a VDI's and assign it to the Users.
Definitely this will save your time, and can have a cup of Tea/Coffee (Whatever you Like) in this time. But still think about it before going through these steps in Production Environment.
Now Comes with the Second Solution. So there is an outage involved in this procedure for people that use that image.
Follow the below mentioned Steps sequentially:-
1. If the users are using that Particular image, ask all of them that are still connected to save their work and log off.
2. Go to your DDC (XenDesktop Controller) and put the Desktop Group in maintenance mode with whom this vDisk is associated. This will prevent the DDC from attempting to start up VMs. Then Force Shutdown on all the VMs. Verify on the Host (Esxi, XenCenter) that they are all shutdown
3. Login to the PVS server and go to the vDisk Store Hub (If locally or on Network) and Verify there is no gold lock next to the vDisk. If there is clear all the locks otherwise it won't allow you to delete the vDsik from vDisk Pool. Then click “Unassign from Selected Devices.”
4. Open the PVS console, check mark all the Vm's and click unassign which allows you to free up the vDisk.
5. Now go back to your Store view and right click on your vDisk. You should now see an option to delete. Click it.
6. MAKE SURE you DO NOT check the Delete the associated VHD files check box. Just hit yes only. If you check mark this option, this will delete your .vhd file from the vDisk Store.
7. Now right click on “Store” and click “Add or Import Existing vDisk.”
8. Click Search to search your Store for vDisks. It will show all the vDisk which are not there in the vDisk pool but present in the vDisk Store Hub. Select and then click Add once it stops being grayed out.
9. It will be imported in Private mode every time. Go ahead and switch it to Standard mode. You might also want to check Cache type, Enable Active Directory machine account password management, and KMS/MAK on the Microsoft Volume Licensing tab.
10. Now go to your Device Collection and select the devices that need this particular vDisk golden image. I’m not going to sit here and click and modify each one. So I will set the vDisk on the first VM only.
11. Now right click that VM you just set and click “Copy Device Properties.”
12. Hit “Clear All”, then check “vDisk Assignment” only, then hit Copy.
13. Now just highlight all your other VMs where you want to add this vDisk, right click in the highlighted area, and click Paste. Instantly all your VMs will be assigned that vDisk.
14. Now just boot up a couple of VMs and verify the “Vdisk is locked. 0xffff8017″ error is gone. Then disable Maintenance mode on your DDC and you’re back in business.
15. Don’t forget to tell your users to log back in.

How to Select a Waste Management Company?

Whether you are a business or an individual, you will require choosing a waste management firm. Waste management companies are accountable for picking up your trash and transferring it to a suitable landfill. Several waste management firms provide environmental solutions as well like recycling.
The initial step is to find the providers of waste management in your location. This is effortlessly accomplished by searching in a phone book. You must call each and every service provider and ask them certain important questions. First, find out how frequently they come to amass your garbage. A service which comes twice a week might cost you more; however can prove to be supportive if you’ve a larger family. If you require special equipment like a dumpster, you will like to inquire about that also. Find out how many trash bags you’re permitted to keep out per pickup.

Many firms have parameters on what you’re permitted to throw away. If you notice you will go beyond the limit, you will possibly like to go with a firm which provides more flexibility in the amount of garbage you’re allowed to keep outside. Some firms will charge you for the extra bags and you do not want to be stuck with a shocking bill. Furthermore, find out how frequently you’re billed and how. Certain firms will want you to simply pay their drivers. This can be rather ill-timed. You will not be glad if you’ve to go outside 5 AM in the snow to drop off your check. Check out to see if the firm provides recycling service besides the trash pickup.