Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VDisk to load before SQL Server
Message
De
25/04/2015 17:34:10
 
 
À
25/04/2015 17:13:46
Information générale
Forum:
Windows
Catégorie:
Configuration
Versions des environnements
OS:
Windows 8.1
Divers
Thread ID:
01619141
Message ID:
01619144
Vues:
32
>Setting SQL Server to start in delayed mode resolves the issue. This is not very orthodox but it works. There is a 2-minute delay.
>
>If someone has a better approach, let me know.

If you have a dependency i.e. your SQL databases are on a vdisk, then yes, the disk has to be up and available before you try to start SQL Server.

Another general approach would be to use a batch/CMD file or PowerShell script to start the vdisk, then SQL Server.

In Services: Set SQL Server to manual (rather than automatic) start in Services

In the script:

- Start the vdisk

- Go into a loop, checking for the existence of one of the SQL database files. If file does not exist (i.e. vdisk hasn't finished starting up), keep looping

- Once the file exists, start SQL Server: https://technet.microsoft.com/en-us/library/ms187598%28v=sql.105%29.aspx
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform