Recovering the DataCore VASA Provider
If the upgrade from 2.0x to 3.1 fails (for example, if the specified password does not meet the Windows complexity requirements), the DataCore VASA Provider cannot fully roll back to its previous state and will not function.
Follow the procedure to recover the DataCore VASA Provider:
- From the command line, run the following command:
netsh http show sslcert
- Save the Certificate Hash and the Application ID for the 0.0.0.0:8444 entry. For example: Certificate Hash: 5627ff5c3adec0be79c8e202cbb7df8e8967f6c1 and Application ID: {42fbbaa9-0fc3-4606-9136-415e21ec20de}
- Run the following command to delete the certificate binding:
netsh http delete sslcert ipport=0.0.0.0:8444
- Install DataCore VASA Provider 3.1.
DataCore.Vasa.Provider.PackageInstaller.exe PASSWORD="$Password"
- Stop the dcsvasa service.
- Copy the database backup files from the following path: C:\ProgramData\DataCore\VASA Storage Provider\Backup to C:\ProgramData\DataCore\VASA Storage Provider\
- Rename the files to DcsVasa.mdf and DcsVasa_log.ldf.
- Assign the dcsvasa user with Full control permissions to the DcsVasa.mdf and DcsVasa_log.ldf files.
- Run the following command to delete the certificate binding:
netsh http delete sslcert ipport=0.0.0.0:8444
- Add the binding for the certificate that was saved during Step 2.
netsh http add sslcert ipport=0.0.0.0:8444 certhash=5627ff5c3adec0be79c8e202cbb7df8e8967f6c1 appid="{42fbbaa9-0fc3-4606-9136-415e21ec20de}"
- Start the dcsvasa service. After a few minutes, the VVol-based virtual machines should exit from the (Inaccessible) state.