Ausmith1 Posted March 18, 2004 Share Posted March 18, 2004 IBM xSeries servers commonly use ServeRAID SCSI adapters. Here are some scripts to assist in automatically determining what systems to install ServeRAID on and the actual answer file for ServeRAID v6.11.Script to determine if a ServeRAID supported SCSI card is in the system.@ECHO Installing IBM ServeRAID service if this system contains an@ECHO LSI RAID card (x335s) or an IBM ServeRAID (4x, 5x, 6x) card.@ECHO.@ECHO.C:\Temp\Scripts\devcon hwids * | xgrep -c "LSILOGIC 1030 IM SCSI Disk Device"IF %errorlevel% EQU 0 GOTO InstallServeRAIDC:\Temp\Scripts\devcon hwids * | xgrep -c "IBM ServeRAID SCSI Disk Device"IF %errorlevel% EQU 0 GOTO InstallServeRAID@ECHO.@ECHO.REM No ServeRAID card installed, so exitGOTO Exit:InstallServeRAIDSTART "" /WAIT C:\TEMP\IBM.Config\ServeRAID\setup.exe /s /sms /f1C:\TEMP\IBM.Config\ServeRAID\setup.iss /f2C:\TEMP\IBM.Config\ServeRAID\ServeRAIDSetup.Log:ExitSome lines above may wrap...Setup.iss[{C8DBF659-1540-4C2B-B2B6-E910DB488FBF}-DlgOrder]Dlg0={C8DBF659-1540-4C2B-B2B6-E910DB488FBF}-SdWelcome-0Count=5Dlg1={C8DBF659-1540-4C2B-B2B6-E910DB488FBF}-SdLicense-0Dlg2={C8DBF659-1540-4C2B-B2B6-E910DB488FBF}-AskOptions-0Dlg3={C8DBF659-1540-4C2B-B2B6-E910DB488FBF}-SdAskDestPath-0Dlg4={C8DBF659-1540-4C2B-B2B6-E910DB488FBF}-SdFinish-0[{C8DBF659-1540-4C2B-B2B6-E910DB488FBF}-SdWelcome-0]Result=1[{C8DBF659-1540-4C2B-B2B6-E910DB488FBF}-SdLicense-0]Result=1[{C8DBF659-1540-4C2B-B2B6-E910DB488FBF}-AskOptions-0]Result=1Sel-0=1Sel-1=0[{C8DBF659-1540-4C2B-B2B6-E910DB488FBF}-SdAskDestPath-0]szDir=C:\Program Files\IBM\ServeRAIDResult=1[{C8DBF659-1540-4C2B-B2B6-E910DB488FBF}-SdFinish-0]Result=1bOpt1=0bOpt2=0This will install toC:\Program Files\IBM\ServeRAIDand also install the ServeRAID Manager service.You can create your own setup.iss file by simply running the ServeRAID manager SETUP.EXE with the "/r" switch. .i.e.C:\TEMP\IBM.Config\ServeRAID\setup.exe /rThis will record what options you select and save them to %WinDir%\setup.issSimply copy this file into the same folder as rest of the ServeRAID manager install and use the script above to install.Be careful to recreate the setup.iss file for each new release of ServeRAID as the GUID has changed several times before.You can download the Devcon and xgrep utilities used above from:DevCon - Command Line Utility Alternative to Device Managerxgrep - Small and fast text finding utility Link to comment Share on other sites More sharing options...
Ausmith1 Posted March 18, 2004 Author Share Posted March 18, 2004 This is not a device driver install but rather a setup and monitoring application, so I'm not sure that is really the correct forum for this post to be in...Still I'm sure people will find it if they search. Link to comment Share on other sites More sharing options...
agenta Posted March 18, 2004 Share Posted March 18, 2004 I use the following for installing ServeRAID which does not require creating SETUP.ISS:START /WAIT %SystemDrive%\UPDATES\APPS\SERVERAID\setup /S/v/qn Link to comment Share on other sites More sharing options...
Ausmith1 Posted March 18, 2004 Author Share Posted March 18, 2004 That will certainly work but it installs ServeRAID with the default settings. I don't install to the default directory and doing so requires using a setup.iss file.Most people will be happy with the defaults though... Link to comment Share on other sites More sharing options...
JaCro Posted September 6, 2005 Share Posted September 6, 2005 (edited) Great tips on installing ServeRAID. But I have problem to create setup.iss file. I tried with /r switch and installation didn't create that file.Any hints?Thanks JaCro Edited September 6, 2005 by JaCro Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now