Last change
on this file since 86 was
16,
checked in by rock, 17 years ago
|
|
-
Property svn:executable set to
*
|
File size:
1.2 KB
|
Line | |
---|
1 | #!/bin/ksh |
---|
2 | # @(#)66 1.1 src/avs/fs/mmfs/ts/config/mmsdrbackup.sample, mmfs, avs_rgpfs24, rgpfs240610b 10/24/03 10:20:32 |
---|
3 | # |
---|
4 | # |
---|
5 | # When properly installed on the primary GPFS configuration server, |
---|
6 | # this script will be asynchronously invoked every time there is a |
---|
7 | # change to the master configuration file /var/mmfs/gen/mmsdrfs. |
---|
8 | # |
---|
9 | # The version number of the mmsdrfs file is passed as the first input |
---|
10 | # parameter to the script. |
---|
11 | # |
---|
12 | # The script can be used for backing up the GPFS configuration data. |
---|
13 | # This can be as simple as copying the file to a non-GPFS file system |
---|
14 | # on the same or a different node. For example, |
---|
15 | # |
---|
16 | # suffix="$version.$(date +%Y.%m.%d.%H.%M.%S).$(hostname -s)" |
---|
17 | # cp /var/mmfs/gen/mmsdrfs /tmp/mmsdrfs.$suffix |
---|
18 | # rcp /tmp/mmsdrfs.$suffix backupNode:/backupDir/mmsdrfs.$suffix |
---|
19 | # |
---|
20 | # To activate the code, make the appropriate changes and install the |
---|
21 | # script as /var/mmfs/etc/mmsdrbackup |
---|
22 | # |
---|
23 | # ATTENTION: Under no circumstances should any of the files in |
---|
24 | # /var/mmfs and its subdirectories be altered or removed |
---|
25 | # as a result of the changes that you make to this script. |
---|
26 | # |
---|
27 | # |
---|
28 | |
---|
29 | version=$1 # version number of file /var/mmfs/gen/mmsdrfs |
---|
30 | |
---|
31 | return 0 |
---|
32 | |
---|
Note: See
TracBrowser
for help on using the repository browser.