Quantcast
Channel: Virtual Machine Manager – General forum
Viewing all articles
Browse latest Browse all 2770

SCVMM 2012 R2 - Creating a SQL Service Template with multiple drives

$
0
0

Hi All,

I am currently in the process of putting together a SQL service template for a single tier. The installation of SQL is sysprepped and I have all of my INI files saved and configured as a SQL profile in SCVMM.  A requirement of SQL installations for this service is that logs, TempDB, and backup locations must be on separate disks for storage tiering. 

This is where my problems start.

The SQL service will not complete and fails out when looking for directories on drives other than c:\. I created a diskpart script that onlines the various disks that sysprep removes and sets the proper drive letter structure, however, I cannot get it to run before the SQL customization.

Methods tried:

  1. Add diskpart script to GUIRunOnce - does not run before SQL - works when not deployed with sql
  2. Create application profile with pre-install parameters in the service template - does not run before sql - works when not deployed with sql
  3. Place required settings in windowsPE pass of unattend.xml - does not run or make changes to required drives.
  4. Add diskpart script to %WINDIR%\Setup\Scripts\SetupComplete.cmd - does not run before SQL

I have also had success with exporting and importing the MountedDevices key in the registry, but my problem is that I can't seem to run anything before the SQL portion of the template customization starts.

Does anyone have a method to properly run a script prior to the SQL sysprep customization ?


Viewing all articles
Browse latest Browse all 2770

Trending Articles