• Mac OS X,  Mac OS X Server,  Xsan

    Recycling The Promise X10

    The Promise X30 and beyond have been out for some time. I find that as the older X10 units reach the next phase of their lifecycle, removing LUNs and RAIDs from the units is a necessity. While many are put back into production as near-line or backup storage (with new drives even) these RAIDs still need to be cleaned off. As such, an example of doing so might be creating one large LUN each of an E+J pair. First, let’s delete our spare drives. To do so, click on Spare Drives in the sidebar. Then click on the Delete tab. Check all of the boxes and then click on the…

  • Mac OS X Server

    Nuke+Pave iCal Server in Lion Server

    It is possible to remove all of the content from a Lion Calendar server using Postgres. To aid you in doing so, Apple has built out a couple of commands to make the process easier. This will nuke everything from the server and so is not something that should be lightly done. To do so, first stop the Calendar service in the Server application. Then let’s back up the database: pg_dump -U _postgres caldav -c -f /db_backups/caldav.sql Then run dropdb to remove the database itself: dropdb -U _postgres caldav Once the database is gone, run the calendar_bootstrap_database script (I prefer doing so verbosely): calendarserver_bootstrap_database -v Now you should be able…