From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079067216095.tru64-unix-managers.marc@archive.invalid> From: Bruce Senn Date: Fri, 20 Aug 1999 15:11:00 +0000 To: tru64-unix-managers Subject: SUMMARY: Automated RAID Array Shutdown X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079067216095 Thanks to Gary Menna for confirming the location of hszterm. It is in the Software Products Library, in directory: swa11a, there are three subsets: SWACLI11A , SWADOC11A , SWAMAN11A. I found it on CD #3. Thanks also to alan@nabeth.cxo.dec.com Werner Rost Antonio Urbano Werner noted that there is a parameter, CACHE_FLUSH_TIMER, which is set by default to 10 seconds. The documentation implies that after this amount of time the cache will have been flushed. Antonio confirmed that my intended method of shutdown was the right way to do it. Hszterm connected as advertised, although it's a bit unclear what LUN to use. hszerm -f /dev/rrz16c connected me just fine. It would seem that after CACHE_FLUSH_TIMER seconds the cache has been flushed, so actually shutting down the controllers with hszterm may be moot. Bruce. ---------------------------------------------------------------------- Bruce J. Senn Phone: (518) 388-6664 Senior System Manager FAX: (518) 388-6458 Union College Internet: sennb@alice.union.edu Schenectady, NY 12308 WWW: http://www1.union.edu/~sennb ---------------------------------------------------------------------- On Wed, 18 Aug 1999, Bruce Senn's original questions were: > I am working on a script to shutdown an Alpha Server 4100 running DEC Unix > 4.0D. The script will be called by PowerMon II monitoring a Powerware > Prestige 6000 UPS. > > Connected to the system is an RA7000 RAID Array with dual redundant HSZ70 > controllers. Most of the disk storage is in the RAID array, but not the > system disk. > > The script kills off any remaining user processes and shutdown application > and database software. So, as a final step it seems the script should > > 1. Unmount all the AdvFS file systems in the RAID array. > > 2. Use hszterm to connect to the array and issue the commands > > shutdown other controller > shutdown this controller > > to ensure that the controller cache is flushed to disk. > > 3. finally do a shutdown -h > > Question #1 > ----------- > Can someone point me to hszterm? The last information I have is that it > is subset SWA110 or SWACLI11A on one of the "layered product" CDs. The > CDs delivered with the system are Operating System, Associated Products 1 > and 2, and Raid Array 7000. An SWA subset does not seem to be on any of > these CDs. > > Question #2 > ----------- > Am I on the right track as far as the shutdown goes? Or is there some > other way to ensure that the Raid Array has flushed it's cache and is > ready to be powered down?