HP File Archiving Software manual Script creation

Models: File Archiving Software

1 190
Download 190 pages 11.72 Kb
Page 157
Image 157

Script creation

It is necessary to create a script to reactivate the file stubs during restoration and failover/failback. To create a script open a text editor, such as Notepad, on your Windows server. The reactivation command is fmacli act –r <drive letters>. The drive letters are the managed volumes of your FMA server. For example:

If you have letter drive D:\ and E:\ managed on your FMA server, you would need two lines in your script:

fmacli act –r D:\

fmacli act –r E:\

The -roption is for recursive; it activates all files in folders and subfolders on a disk drive.

After entering the two lines with the correct drive letters, save the file as a .bat file. Make a note where you save the batch file and point to it during the HP Storage Mirroring failover configuration. You can also run this batch file if you restore some files from the target server.

Third-party Product Compatibility List 147

Page 157
Image 157
HP File Archiving Software manual Script creation