5 Replies Latest reply on Jan 19, 2012 8:47 AM by Kate Fell

    UCS Provisioning - Unattend not running

    Kate Fell

      When doing ucs provisioning, getting as far and running the unattend.bat but gets error could not run unattend.bat, The server then reboots and comes up with not disk found...

       

      "Reboot and Select proper Boot device

      or Insert Boot Media in selected Boot device and pres a key"

        • 1. UCS Provisioning - Unattend not running

          Hi Kate,

           

          So your provisioning is getting to the unattend step and then stops there on a reboot.

           

          If you switch the job to pause to continue and then break into the provisioning at the point that the unattend has finished you should be able to check the details of your unattend file.

           

          Can you post the output from the bmi.exe process ?

           

          Regards,

           

          Steve

          • 2. Re: UCS Provisioning - Unattend not running
            Bill Robinson

            Can you paste the provisioning log for the target ?

            • 3. UCS Provisioning - Unattend not running
              Kate Fell

              Hi please see the log below:

               

              Job Name,"contained-job-2000522-ucs_W2K8_R2_STD_UCS1326904770862-2012-01-18 16-39-31-799+0000 - Run at Jan 18, 2012 4:42:41 PM"

              Start Time,Wed Jan 18 16:42:41 GMT 2012

              End Time,Wed Jan 18 17:29:15 GMT 2012

              Status,Completed with Errors

              Participant,Type,Date,Message

              "Run at Jan 18, 2012 4:42:41 PM",Info,"Jan 18, 2012 4:42:41 PM",Started running the job 'contained-job-2000522-ucs_W2K8_R2_STD_UCS1326904770862-2012-01-18 16-39-31-799+0000' with priority 'NORMAL' on application server 'job_deployment_bmcblpr10'(1)

              UCSTEST20,Info,"Jan 18, 2012 4:42:42 PM",Running provisioning job with data store: Windows

              UCSTEST20,Info,"Jan 18, 2012 4:42:42 PM",pxe image file: W2K8_R2_UCS_131

              "Run at Jan 18, 2012 4:42:41 PM",Info,"Jan 18, 2012 4:42:45 PM",Executing work item Provision Job:PollForProvisionedWorkItem; on application server: job_deployment_bmcblpr10

              UCSTEST20,Info,"Jan 18, 2012 4:48:17 PM",Starting Switch Boot Image

              UCSTEST20,Info,"Jan 18, 2012 4:48:18 PM",

              X:\Windows\system32>if exist X:\windows\system32\Bladelogic\BLWIN64 goto donotreboot

              X:\Windows\system32>echo 'Switch Boot Image Done'

              'Switch Boot Image Done'

              UCSTEST20,Info,"Jan 18, 2012 4:48:23 PM",Completed Disk Array Config

              UCSTEST20,Info,"Jan 18, 2012 4:48:23 PM",Starting Pre Disk Partition

              UCSTEST20,Info,"Jan 18, 2012 4:48:24 PM",

              X:\Windows\system32>echo 'Pre Install Done'

              'Pre Install Done'

              UCSTEST20,Info,"Jan 18, 2012 4:48:39 PM",Completed Pre Disk Partition

              UCSTEST20,Info,"Jan 18, 2012 4:48:39 PM",Starting Disk Partition

              UCSTEST20,Info,"Jan 18, 2012 4:48:41 PM",

              X:\Windows\system32>call X:\Windows\System32\BladeLogic\bin\dskprt-pre.bat

              X:\Windows\system32>set dskprt=1

              X:\Windows\system32>set MACADDR=00-25-B5-A0-00-05

              X:\Windows\system32>call X:\Windows\System32\BladeLogic\bin\dskprt-core.bat

              X:\Windows\system32>DiskPart /s X:\Windows\System32\BladeLogic\bin\part.txt

              Microsoft DiskPart version 6.1.7600

              Copyright (C) 1999-2008 Microsoft Corporation.

              On computer: MININT-DG9CJDS

              Disk 0 is now the selected disk.

              DiskPart succeeded in cleaning the disk.

              DiskPart succeeded in creating the specified partition.

              Partition 1 is now the selected partition.

              Virtual Disk Service error:

              The specified drive letter is not free to be assigned.

                

              X:\Windows\system32>call X:\Windows\System32\BladeLogic\bin\dskprt-post.bat

              X:\Windows\system32>X:\Windows\System32\BladeLogic\bootsect.exe /nt60 c:

              Target volumes will be updated with BOOTMGR compatible bootcode.

              C: (\\?\Volume{5ff2cfca-9ac8-11e0-883b-806e6f6e6963})

              Could not open the volume root directory:

              The parameter is incorrect.

              No bootcode was successfully updated.

              X:\Windows\system32>md c:\BLProv

              The device is not ready.

              UCSTEST20,Info,"Jan 18, 2012 4:48:46 PM",Completed Post Disk Partition

              UCSTEST20,Info,"Jan 18, 2012 4:48:46 PM",Starting Format

              UCSTEST20,Info,"Jan 18, 2012 4:48:47 PM",

              X:\Windows\system32>set postprt=1

              X:\Windows\system32>set MACADDR=00-25-B5-A0-00-05

              UCSTEST20,Info,"Jan 18, 2012 4:48:56 PM",Completed Format

              UCSTEST20,Info,"Jan 18, 2012 4:48:56 PM",Starting Make Run Once

              UCSTEST20,Info,"Jan 18, 2012 4:48:57 PM",

              X:\Windows\system32>echo 'Make Run Once Completed'

              'Make Run Once Completed'

              UCSTEST20,Info,"Jan 18, 2012 4:49:03 PM",Completed Make Run Once

              UCSTEST20,Info,"Jan 18, 2012 4:49:04 PM",

              X:\Windows\system32>echo 'Make Run Once Completed'

              'Make Run Once Completed'

              "Run at Jan 18, 2012 4:42:41 PM",Error,"Jan 18, 2012 5:29:08 PM",BLAdmins:BLAdmin has sent request to cancel 'contained-job-2000522-ucs_W2K8_R2_STD_UCS1326904770862-2012-01-18 16-39-31-799+0000' job. It is being cancelled.

              "Run at Jan 18, 2012 4:42:41 PM",Error,"Jan 18, 2012 5:29:08 PM",Job Cancelled

              "Run at Jan 18, 2012 4:42:41 PM",Error,"Jan 18, 2012 5:29:08 PM",Work item for job (Provision Job:PollForProvisionedWorkItem; ) was cancelled. Reason: Job Cancelled

              UCSTEST20,Info,"Jan 18, 2012 5:29:15 PM",Restoring device to imported state.

              UCSTEST20,Info,"Jan 18, 2012 5:29:15 PM",decomissioning server that was being enrolled

              "Run at Jan 18, 2012 4:42:41 PM",Info,"Jan 18, 2012 5:29:15 PM",The job 'contained-job-2000522-ucs_W2K8_R2_STD_UCS1326904770862-2012-01-18 16-39-31-799+0000' has failed

              • 4. UCS Provisioning - Unattend not running
                Bill Robinson

                here's your problem:

                   

                X:\Windows\system32>call X:\Windows\System32\BladeLogic\bin\dskprt-post.bat

                X:\Windows\system32>X:\Windows\System32\BladeLogic\bootsect.exe /nt60 c:

                Target volumes will be updated with BOOTMGR compatible bootcode.

                C: (\\?\Volume{5ff2cfca-9ac8-11e0-883b-806e6f6e6963})

                Could not open the volume root directory:

                The parameter is incorrect.

                No bootcode was successfully updated.

                X:\Windows\system32>md c:\BLProv

                 

                i think the ucs requires a custom paritioning command but i don't recall what it is.  you may want to open a ticket w/ support.

                • 5. UCS Provisioning - Unattend not running
                  Kate Fell

                  The Ore Install script that needs to be run for Windows in UCS is:

                   

                  echo select volume 1 >>X:\part0.txt

                  echo remove >>X:\part0.txt

                  echo select volume 2 >>X:\part0.txt

                  echo remove >>X:\part0.txt

                  echo select volume 3 >>X:\part0.txt

                  echo remove >>X:\part0.txt

                  echo select volume 4 >>X:\part0.txt

                  echo remove >>X:\part0.txt

                  echo select disk 0 >>X:\part1.txt

                  echo clean >>X:\part1.txt

                  echo create partition primary noerr >>X:\part1.txt

                  echo active >>X:\part1.txt

                  echo format fs=NTFS LABEL="SYSTEM" quick noerr >>X:\part1.txt

                  echo assign letter=C >>X:\part1.txt

                  echo select disk 1 >>X:\part2.txt

                  echo clean >>X:\part2.txt

                  echo create partition primary noerr >>X:\part2.txt

                  echo active >>X:\part2.txt

                  echo format fs=NTFS LABEL="SYSTEM" quick noerr >>X:\part2.txt

                  echo assign letter=C >>X:\part2.txt

                  echo select disk 2 >>X:\part3.txt

                  echo clean >>X:\part3.txt

                  echo create partition primary noerr >>X:\part3.txt

                  echo active >>X:\part3.txt

                  echo format fs=NTFS LABEL="SYSTEM" quick noerr >>X:\part3.txt

                  echo assign letter=C >>X:\part3.txt

                  echo list volume >>X:\part4.txt

                  diskpart /s X:\part0.txt

                  diskpart /s X:\part1.txt

                  diskpart /s X:\part2.txt

                  diskpart /s X:\part3.txt

                  diskpart /s X:\part4.txt