====== Differences ====== This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
appnotes:srp_install [2009/11/05 17:51] mcb30 |
appnotes:srp_install [2010/04/20 14:10] (current) jrc3 |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Installing Windows to an SRP target ====== | ====== Installing Windows to an SRP target ====== | ||
- | You can create customised Windows Server 2008 installation media that will allow you to install Windows directly to your SRP SAN target. (You cannot do this using the standard installation DVD-ROM; you must customise it first.) | + | You can create customised Windows Server 2008 installation media that will allow you to install Windows directly to your SRP((**SCSI RDMA Protocol** (SRP) improves the read performance in terms of throughput which is increased significantly for both random read with good locality and sequential read.\\ **Remote Direct Memory Access** (RDMA) is a direct memory access from the memory of one computer into that of another without involving either one's operating system.)) SAN target. (You cannot do this using the standard installation DVD-ROM; you must customize it first.) |
===== Install the Windows AIK ===== | ===== Install the Windows AIK ===== | ||
Line 34: | Line 34: | ||
DISKPART> clean | DISKPART> clean | ||
+ | DISKPART> uniqueid disk id=12345678 | ||
DISKPART> create partition primary | DISKPART> create partition primary | ||
DISKPART> select partition 1 | DISKPART> select partition 1 | ||
Line 40: | Line 41: | ||
DISKPART> assign | DISKPART> assign | ||
DISKPART> exit | DISKPART> exit | ||
+ | |||
+ | (where //12345678// can be any non-zero 8-digit hexadecimal string that you choose). | ||
Copy the contents of the Windows Server 2008 DVD-ROM to the USB key: | Copy the contents of the Windows Server 2008 DVD-ROM to the USB key: | ||
Line 63: | Line 66: | ||
<RunSynchronousCommand wcm:action="add"> | <RunSynchronousCommand wcm:action="add"> | ||
<Order>1</Order> | <Order>1</Order> | ||
- | <Path>cmd.exe /c for /f %i in ('dir /s /b %WINDIR%\inf\oem*.inf') do drvload %i</Path> | + | <Path>cmd.exe /c for /f %i in ('dir /s /b %WINDIR%\inf\oem*.inf') do drvload %i || echo Ignoring error</Path> |
</RunSynchronousCommand> | </RunSynchronousCommand> | ||
</RunSynchronous> | </RunSynchronous> | ||
Line 79: | Line 82: | ||
</unattend> | </unattend> | ||
- | and save it as //E:\autounattend.xml// (where //E:// is the driver letter of your USB key). | + | (modifying "amd64" to "x86" if you are using a non-64-bit version of Windows) and save it as //E:\autounattend.xml// (where //E:// is the drive letter of your USB key). |
==== Preparing the imagex configuration file ==== | ==== Preparing the imagex configuration file ==== | ||
Line 99: | Line 102: | ||
\WINDOWS\inf\*.pnf | \WINDOWS\inf\*.pnf | ||
- | and save it as //E:\wimscript.ini// (where //E:// is the driver letter of your USB key). | + | and save it as //E:\wimscript.ini// (where //E:// is the drive letter of your USB key). |
==== Preparing the boot image ==== | ==== Preparing the boot image ==== | ||
Line 112: | Line 115: | ||
imagex /mountrw E:\sources\boot.wim 2 %TMP%\Mount | imagex /mountrw E:\sources\boot.wim 2 %TMP%\Mount | ||
- | (where //E:// is the driver letter of your USB key). Add the //imagex// command and configuration file to the boot image: | + | (where //E:// is the drive letter of your USB key). Add the //imagex// command and configuration file to the boot image: |
copy ..\%PROCESSOR_ARCHITECTURE%\imagex.exe %TMP%\Mount | copy ..\%PROCESSOR_ARCHITECTURE%\imagex.exe %TMP%\Mount | ||
Line 128: | Line 131: | ||
==== Preparing sanbootconf ==== | ==== Preparing sanbootconf ==== | ||
- | Download //sanbootconf// from [[http://git.etherboot.org/releases/sanbootconf/sanbootconf-latest.zip]] and save it as //E:\sanbootconf.zip// (where //E:// is the driver letter of your USB key). | + | Download //sanbootconf// from [[http://git.etherboot.org/releases/sanbootconf/sanbootconf-latest.zip]] and save it as //E:\sanbootconf.zip// (where //E:// is the drive letter of your USB key). |
===== Creating the installation image ===== | ===== Creating the installation image ===== | ||
Line 134: | Line 137: | ||
==== Enabling SRP boot support ==== | ==== Enabling SRP boot support ==== | ||
- | * Boot from your USB key, and install Windows Server 2008 to a blank physical disk on a new machine. | + | Boot from your USB key, and install Windows Server 2008 to a blank physical disk on a new machine. (This step is sadly necessary due to limitations in the Windows Setup infrastructure.) |
- | * In the newly-installed Windows Server 2008, install //sanbootconf// from your USB key. | + | In the newly-installed Windows Server 2008, install //sanbootconf// from your USB key. |
- | * Start up a command prompt and prepare the machine for capturing the installation image: | + | Start up a command prompt and prepare the machine for capturing the installation image: |
cd %WINDIR%\System32\sysprep | cd %WINDIR%\System32\sysprep | ||
Line 147: | Line 150: | ||
==== Capturing the installation image ==== | ==== Capturing the installation image ==== | ||
- | * Boot from your USB key, and press //Shift-F10// to start up a command prompt window. | + | Boot from your USB key. At the language selection screen, press //Shift-F10// to start up a command prompt window and capture the image: |
- | + | ||
- | * Capture the image: | + | |
cd \ | cd \ | ||
- | imagex /append C: E:\sources\install.wim "Windows Server 2008 (SRP boot)" | + | imagex /append C: E:\sources\install.wim "Windows Server 2008 (SRP boot)" "Windows Server 2008 with SRP boot support" /flags "SERVERENTERPRISE" |
+ | |||
+ | (where //SERVERENTERPRISE// may need to be changed to //SERVERSTANDARD// or //SERVERDATACENTER// depending on which version of Windows Server 2008 you are installing). | ||
+ | |||
+ | Quit the Windows installer and shut down the machine. | ||
+ | |||
+ | ==== Converting back to a DVD-ROM (optional) ==== | ||
+ | |||
+ | You may want to convert your bootable USB key back to a DVD-ROM. To do this, start up a Windows PE Tools Command Prompt (//Start//->//All Programs//->//Microsoft Windows AIK//->//Windows PE Tools Command Prompt//) and generate an ISO image file: | ||
+ | |||
+ | oscdimg -m -n -o -bE:\boot\etfsboot.com E:\ C:\win2k8.iso | ||
- | * Quit the Windows installer and shut down the machine. | + | (where //E:// is the drive letter of your USB key, and //C:\win2k8.iso// is the place that you want to store the ISO image file). |
- | You now have a customised Windows Server 2008 installation medium that can be used when installing directly to an SRP target! | + | You can burn this ISO image file to a blank DVD-ROM, or continue to use the USB key. Either will work for installing Windows Server 2008. |
===== Installing to the SRP target ===== | ===== Installing to the SRP target ===== | ||