Tool

dgiles's picture
tool
Reads:

4895

Score:
0
0
 
Comments:

0

NW Activate Pool Snapshot

(View Disclaimer)

license: 
Free

This Perl script activates a specified pool snapshot.

This script has been designed to be run on NetWare.

The API set can be downloaded from http://developer.novell.com/wiki/index.php/Virtual_File_Services_for_NetWare.

The Perl script requires the name of the pool snapshot to be activated as input.

It requires that NSS be installed and an NSS pool be present.

It is intended to be used as a sample script for developers that may want to use the VFS API set to view and manage storage.

How to Use the file:


NWlistPoolSnapshot.pl is a Perl script. So Perl must be installed and running on the NetWare server that this file is being loaded on. NSS must be installed to get the VFS support.

To run the perl script type:

perl NWActivatePoolSnapshot.pl  SNAP_NAME <enter>

Example:

perl NWActivatePoolSnapshot.pl snap <enter>.

Sample output:

file is now open.
File Name: +<_ADMIN:ManageNSS/manage.cmd
Request Sent: <virtualIO><datastream name=\"command\"/></virtualIO><nssRequest><pool><activatePoolSnapshots>
<snapName>snap</snapName></activatePoolSnapshots></pool></nssRequest>
<nssReply>
<pool>
<activateSnapshot>
<result value="0"><description>success</description></result>
</activatePoolSnapshot>
</pool>
<result value="0"><description>zOK</description></result>
</nssReply>
AttachmentSize
NWActivatePoolSnapshot.zip1.12 KB

Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

© 2013 Novell