- You use several external disk drives in file media mode, one external disk at a time.
- Each external disk has its own set of virtual tapes and a corresponding media map file named FirestreamerMediaMap.fsmap in the root folder on the disk.
- Once you connect an external disk, in 30 seconds, the scripts loads FirestreamerMediaMap.fsmap from the disk by unlocking the library door in Microsoft DPM, applying the new media layout in Firestreamer, and locking the library door.
- When you disconnect a disk, in 30 seconds, the script unloads all tapes.
- It does not matter whether it takes less or more than 30 seconds for you to swap the disks.
- If there are more than two disks with FirestreamerMediaMap.fsmap connected at the same time, the first available media map file is loaded.
To use the script:
- Extract files from the appropriate subfolder of attached FsMonitor.zip into C:\Scripts\.
- Open Windows Task Scheduler and create a new scheduled task with the following parameters:
- On the General tab, in Name, enter FsMonitor; in When running the task, use the following user account, enter the name of an account that has access to Microsoft DPM, Firestreamer, and disks; select Run whether user is logged on or not; unselect Do not store password; select Run with highest privileges; in Configure for, select Windows 7, Windows Server 2008 R2.
- On the Triggers tab, create a new trigger. In Begin the task, select At startup.
- On the Actions tab, create a new action. In Action, select Start a program; in Program/script, enter C:\Scripts\FsMonitor.cmd.
- On the Settings tab, unselect Stop the task if it runs longer than.
- Restart the computer, or start the task manually.
Of course, you can modify the script to handle practically any scenario.