Xsan: Shutdown and startup order for network devices
Learn about shut down and startup order for network devices.
For Xsan to work properly, you must shut down and start up the components of the Xsan network in a specific order. This article describes how to do both.
Each time that you start up or shut down a system or device, it's very important that you ensure it is completely started up or shut down before continuing to the next step. Note that startup of RAID devices and associated switches should take longer than client and metadata controller (MDC) systems.
Shutting down Xsan components
- Unmount and stop all Xsan volumes.
- Shut down Xsan clients, but leave all MDC systems on for now.
- Determine which MDC is the acting MDC (you will need to start this one first when restarting the Xsan). To do this, in Xsan Admin, select your volume (or volumes). In the Overview pane, the acting MDC appears next to "Hosted by."
Note: If your Xsan hosts more than one Xsan volume, it's important that all volumes be controlled by a single MDC. If necessary, use the following command to failover a volume from one MDC to another (replace [VolumeName] with the name of the volume targeted for failover):
cd /Library/Filesystems/Xsan/bin sudo ./cvadmin -e "fail [VolumeName]"
- Check Xsan Admin to make sure that the failover succeeded, and that one MDC is controlling all volumes.
- Shut down all MDCs except for the acting MDC.
- Shut down the acting MDC.
- Shut down all storage devices. Note: If you're using a Promise Vtrak expansion chassis, please see this article.
- Shut down all Fibre Channel Switches and Gigabit Ethernet Switches.
Starting the Xsan
- Start up all Fibre Channel Switches and Gigabit Ethernet Switches.
- Start up all storage devices, such as Xserve RAID units. Note: If you're using a Promise Vtrak expansion chassis, please see this article.
- Start up the acting MDC (the one that was acting MDC before you shut down the Xsan).
- Start up all other MDCs.
- Start up all Xsan clients.
- Start and mount Xsan volumes.