Professional Documents
Culture Documents
Artisan Infrastructure
888-988-8732
Artisan Infrastructure
888-988-8732
Artisan Infrastructure
888-988-8732
SnapDrive overview
SnapDrive for Windows enables you to automate storage provisioning tasks and to manage data in
Microsoft Windows environments. You can run SnapDrive on Windows hosts in either a physical or
virtual environment.
Artisan Infrastructure
888-988-8732
Artisan Infrastructure
888-988-8732
SnapDrive components
SnapDrive snap-in
SnapDrive commandline
interface
Underlying SnapDrive
service
Artisan Infrastructure
888-988-8732
Volume-size rules
Storage system volumes that will hold LUNs must be large enough to hold all the LUNs in the
volume, as well any Snapshot copies if Snapshot copies are created. The following factors govern the
appropriate minimum size for a volume that holds a LUN:
If the LUNs are space reserved, then the volume must be more than twice the combined size
of all the LUNs on the volume if a Snapshot copy of the volume is created. This enables the
volume to hold the LUNs and a special reserved space.
No matter how much the contents of the LUNs change between Snapshot copies, the entire contents of
the disks are written to the volume.
The volume must also provide enough additional space to hold the number of Snapshot
copies you intend to keep online.
The amount of space consumed by a Snapshot copy depends on the amount of data that changes after
the Snapshot copy is taken. The maximum number of Snapshot copies is 255 per storage system
volume.
Artisan Infrastructure
888-988-8732
Artisan Infrastructure
888-988-8732
If you are running NetApp Host Agent, stop the NetApp Host Agent service.
If a version of SnapDrive is already installed on your system, stop the SnapDrive service, if
you have not already done so, and close the Microsoft Management Console (MMC) window.
Steps
1. Browse to the location of the SnapDrive installation package and double-click the executable file.
2. Click Next on the Welcome to the SnapDrive Installation Wizard screen.
3. If this is a new SnapDrive installation, read and accept the license agreement, and then click Next.
4. If you are upgrading SnapDrive, the Program Maintenance panel appears. Select
Modify/Upgrade, and then click Next.
5. The SnapDrive License panel is displayed. Select Per Storage System, and then click Next.
6. If this is a new installation, follow the procedure in this step. If you are upgrading, skip to the next
step.
a. In the Customer Information panel, type your user name and organization name, and then
click Next.
b. The Destination Folder panel prompts you for a directory in which to install SnapDrive on
the host. By default, this is C:\Program Files\NetApp\SnapDrive\ for new installations.
To accept the default, click Next and then proceed to the next step.
To specify a different location, click the Change button. In the Change Current Destination Folder
panel, either type the path to the target directory in the Folder Name text box, or navigate to the folder
you prefer and select it. When the correct target location appears in the Folder Name text box, click
OK to return to the Destination Folder panel, and then click Next.
Note: If you are upgrading SnapDrive from a version earlier than 4.1, the default installation directory
is C:\Program Files\SnapDrive\.
7. On the VirtualCenter or ESX Server Web Service Credentials screen, deselect Enable
VirtualCenter or ESX Server Settings, and then click Next
8. On the SnapDrive Management Service Credentials screen, if you are upgrading and the account
name is already filled in, type the account password in both the Password and Confirm Password text
boxes, and then click Next. Otherwise, you can type in the account you want to use, or complete the
following steps to select a user account.
a. Click Add.
The Select User window is displayed.
b. In the "From this location" field, verify that the location is set to the proper domain if your
storage system is in a domain, or click the Locations button and select the local host if your
storage system is in a workgroup.
c. In the "Enter the object name to select" text box, type the user name with administrator
privileges that you want to use, and then click the Check Names button to verify the user you
entered. Click OK.
Note: If you are installing SnapDrive for use with a storage system in a workgroup, enter the name of
the user that you configured for pass-through authentication.
d. Type the account password in both the Password and Confirm Password text boxes, and then
click Next.
9. In the SnapDrive Web Service Configuration window, leave the default ports unless any of them
are already being used exclusively by another service. Click Next.
10. In the Transport Protocol Default Setting window, select HTTP and enter your vFiler access
details and click Next.
9
Artisan Infrastructure
888-988-8732
11. In the Operations Manager Configuration screen, deselect Enable Protection Manager
Integration and Click Next.
12. On the Ready to panel, click Install or Upgrade.
13. When the SnapDrive Installation Completed screen appears, click Finish.
Note: If you are upgrading a server cluster and you try to use MMC after upgrading SnapDrive on the
first node and before upgrading SnapDrive on the remaining nodes, you get an error message
indicating that the SnapDrive service is unavailable owing to an invalid tag. This message is the result
of the temporary presence of two versions of SnapDrive on the same cluster. No corrective action is
needed; just upgrade SnapDrive on the other nodes.
Result
A shortcut to the standalone SnapDrive for Windows Management Console is added to the Start
Menu, and you can also access the SnapDrive snap-in in MMC.
After you finish
If you are running Windows Server 2008, you must configure the Windows Firewall to allow
SnapDrive communications.
If you are upgrading or installing SnapDrive to support a SnapManager installation, and you
use verification servers, you must install SnapDrive on the verification servers as well as on the
production systems, and both the verification server and the production servers must be using
the same version of SnapDrive.
If a verification server will be connecting to LUNs over an iSCSI session, make sure you also
install the Microsoft iSCSI Software Initiator on the verification server and establish a session
from the verification server to the iSCSI target on the storage system where the database to be
verified resides. This connection enables the verification server to connect to the Snapshot
copy LUN that contains the database, and you must create it explicitly before the verification
server attempts to connect to the LUN.
1. Add the DCOM registry key using regedt32.exe, as described in the Microsoft technical article,
"Using Distributed COM with Firewalls," available from the Microsoft Developer Network library at
http://msdn2.microsoft.com/en-us/library/ under Win32 and COM Development > Technical
Articles > Component Development > DCOM.
2. Navigate to Control Panel > Windows Firewall > Allow a program through Windows Firewall
> Exceptions.
3. Select the COM+ Network Access checkbox.
4. If you will be using HTTP or HTTPS, select the World Wide Web Services (HTTP) or Secure
World Wide Web Services (HTTPS) checkboxes.
5. Click Add program and browse to C:\Program Files\NetApp\SnapDrive\, or to wherever you
installed SnapDrive if you did not use the default location.
6. Select SWSvc.exe and click Open, then click OK in the Add a Program window and in the
Windows Firewall Settings window.
Note: If Windows Firewall is enabled on your SnapDrive host and you want to use the -m option in the
command-line interface to execute a command from a remote host, you must add sdcli to the allowed
programs list for Windows Firewall. Follow the same procedure as for adding SWSvc.exe.
7. Reboot the system.
10
Artisan Infrastructure
888-988-8732
Managing SnapDrive
SnapDrive includes features that enable you to perform general SnapDrive management tasks.
When you set up notification, you can specify the following information:
Whether and where to send e-mail notification
What types of messages to report
Steps
1. Select the appropriate SnapDrive instance, then from the menu choices on top of MMC, click
Action > Notification Settings.
2. Select Use Storage System AutoSupport if you want to enable a subset of the Windows System
Events for AutoSupport on the storage system.
3. In the Notification Settings panel, select Enable SnapDrive E-mail Notification.
4. Under E-mail Settings, type the outgoing SMTP server, and the From and the To e-mail addresses.
Note: The e-mail address must be in a valid SMTP format, for example,
administrator@mycompany.com.
5. Under Event Category, select one or more event categories about which you want to be notified.
6. Under Event Type, select one or more event types about which you want to be notified when the
specified event types take place.
7. Click OK.
1. Double-click SnapDrive in the left MMC pane, and then, if the Disks option is not already
expanded, double-click Disks.
The currently connected disks are displayed.
2. Select the disk for which you want to add or remove initiators.
3. From the menu choices on top of MMC, click Action > Add/Remove Initiator.
The Initiators Management screen is displayed.
Note: You do not have the option to add or remove initiators for LUNs created on a VMware Guest
OS.
4. To add or remove initiators, follow the instructions in the Initiators Management screen.
Note: If you remove an initiator that belongs to an igroup to which other initiators have been added, a
dialog box informs you that all initiators will be removed. Click Yes to remove all initiators. If you try
to remove an initiator that belongs to an igroup that contains initiators from another host, the operation
will fail. SnapDrive does not support this configuration.
5. Click OK.
11
Artisan Infrastructure
888-988-8732
Creating LUNs
SnapDrive enables you to quickly create LUNs on a storage system for use in a Windows
environment.
Artisan Infrastructure
888-988-8732
If you are adding the LUN to a Windows Server 2003 or 2008 cluster, make sure to create the
LUN on the node that owns the cluster group in which you are creating a new physical disk
resource.
Note: Shared disks on Windows Server 2003 cluster nodes that do not own the disks often display as
unknown and unreadable, and as offline on Windows 2008, in MMC Disk Management utility;
however, the disks will continue to function normally on all nodes in the cluster.
To ensure that Snapshot copies can be made, follow these guidelines:
Do not attempt to create a LUN on a storage system volume that holds anything other than
LUNs.
Conversely, do not put anything other than LUNs on a storage system volume that contains
LUNs.
All LUNs in the same storage system volume should be created using SnapDrive or, if they
were created outside of SnapDrive, prepared for management in SnapDrive.
13
Artisan Infrastructure
888-988-8732
correctly set. This is not the case, however, as SnapDrive will create the dependencies and the
mounted disks will function as expected.
6. While still in the Select LUN Properties panel, complete the following actions:
a. Click Limit or Do not limit for the option labeled Do you want to limit the maximum disk
size to accommodate at least one snapshot?
If you keep the default, Limit, which is the recommended option, the disk size limits displayed
are accurate only when they first appear on the Select LUN Properties panel. When this option
is selected, the following actions might interfere with the creation of at least one Snapshot
copy:
Changing the option to Do not limit and using SnapDrive to create an additional LUN in the
same storage system volume.
Creating a LUN in the same storage system volume without using SnapDrive
Storing data objects other than LUNs on this storage system volume.
b. Select a LUN size, which must fall within the minimum and maximum values displayed in
the panel.
c. Click Next.
The Select Initiators panel is displayed.
7. In the Initiator List pane, select an initiator for the LUN you are creating. If you select an iSCSI
initiator, and an iSCSI connection to the storage system on which you are creating the LUN does not
exist, SnapDrive launches the Create iSCSI Session wizard, and you are prompted to select a target
portal and initiator. Also, if your target requires authentication of hosts that connect to it, you can type
that information here. After you click OK, the iSCSI connection from the Windows host to the storage
system is established, even if you do not complete the Create Disk wizard.
8. Click Next.
The Select Initiator Group Management panel is displayed.
10. In the Select Initiator Group Management panel, specify whether you will use automatic or manual
igroup management. If you select automatic igroup management, SnapDrive uses existing igroups or,
when necessary, creates new igroups for the initiator you specified in Step 8. If you select manual
igroup management, you manually choose existing igroups or create new ones as needed.
If you specify...
Then...
Automatic igroup
management
Click Next.
SnapDrive uses existing igroups, one igroup per initiator, or, when
necessary, creates new igroups for the initiators you specified in Step
8.
Manual igroup
management
14
Artisan Infrastructure
888-988-8732
type a
name in the Igroup Name text box, select initiators, click Create, and
then
click Finish to return to the Select Initiator Groups panel.
b. Click Next.
Note: The Next button will remain unavailable until the collection of
selected igroups contains all the initiators you selected in Step 8.
Verify that the iSCSI services have been started on the storage system.
About this task
15
Artisan Infrastructure
888-988-8732
4. In the Select a LUN Type panel, select Shared, and then click Next.
5. In the Information About the Microsoft Cluster Services System panel, verify that you want the
disk to be shared by the nodes listed, and then click Next.
The Specify Microsoft Cluster Services Group panel is displayed.
6. In the Specify Microsoft Cluster Services Group panel, perform ONE of the following actions and
then click Next.
Select a cluster group from the Group Name drop-down list.
Select Create a new cluster group to create a new cluster group.
Note: When selecting a cluster group for your LUNs, choose the cluster group your application will
use. If you are creating a volume mount point, the cluster group is already selected. This is because the
cluster group owns your root volume physical disk cluster resources. It is recommended that you
create new shared LUNs outside of the cluster group.
Select Add to cluster shared volumes.
7. In the Select LUN Properties panel, either select a drive letter from the list of available drive letters
or enter a volume mount point for the LUN you are creating. When you create a volume mount point,
enter the drive path that the mounted drive will use: for example, G:\mount_drive1\.
Note: The root of the volume mount point must be owned by the node on which you are creating the
new disk.
Note: You can create cascading volume mount points (one mount point mounted on another mount
point); however, in the case of a cascading mount point created on an MSCS shared disk, you might
receive a system event warning indicating that disk dependencies might not be correctly set. This is
not the case, however, as SnapDrive will create the dependencies and the mounted disks will function
as expected.
8. While still in the Select LUN Properties panel, complete the following actions:
a. Click Limit or Do not limit for the option labeled Do you want to limit the maximum disk size to
accommodate at least one snapshot?
If you select Limit, the disk size limits displayed are accurate only when they first appear on the
Select LUN Properties panel. When this option is selected, the following actions might interfere with
the creation of at least one Snapshot copy:
The option is changed to Do not limit and SnapDrive is used to create an additional LUN in
the same storage system volume.
A LUN is created in the same storage system volume without using SnapDrive
Data objects other than LUNs are stored on this storage system volume.
b. Select a LUN size. The size must fall within the minimum and maximum values displayed
in the panel.
9. In the Select Initiators panel, perform the following actions:
a. Double-click the cluster group name to display the hosts that belong to the cluster.
b. Click the name of a host to select it.
The available initiators for that host are displayed in the Initiator List in the lower half of the pane.
10. In the Initiator List pane, select an initiator for the LUN you are creating.
If you select an iSCSI initiator, and an iSCSI connection to the storage system on which you are
creating the LUN does not exist, SnapDrive launches the Create iSCSI Session wizard, and you are
prompted to select a target portal and initiator. Also, if your target requires authentication of hosts that
connect to it, you can type that information here. After you click OK, the iSCSI connection from the
Windows host to the storage system is established, even if you do not complete the Create Disk
wizard.
16
Artisan Infrastructure
888-988-8732
If you have MPIO installed and you are using FC, you have the option to select several FC initiators.
11. Repeat Step 10 and Step 11 for all hosts, and then click Next.
Note: The Next button remains unavailable until initiators for all hosts of a cluster have been selected.
The Select Initiator Group management panel is displayed.
12. In the Select Initiator Group management panel, specify whether you will use automatic or
manual igroup management. If you select automatic igroup management, SnapDrive uses existing
igroups or, when necessary, creates new igroups for the initiators you specified in Step 10 through
Step 12. If you select manual igroup management, you manually choose existing igroups or create new
ones as needed.
If you specify...
Then...
Automatic igroup
management
Click Next.
You are done with igroup management.
If you specify...
Then...
Manual igroup
management
17
Artisan Infrastructure
888-988-8732
Deleting a LUN
You can delete a LUN using the SnapDrive for Windows MMC snap-in.
Before you begin
If you are deleting a disk that contains volume mount points, disconnect the mounted volumes on the
disk first before deleting the disk. For example, disconnect G:\mount_disk1\, then disconnect
G:\.
If you do not disconnect the mounted volume before you delete it, Windows keeps the volume mount
point information in the Recycle Bin and both Windows and SnapDrive continue to see the mount
point as valid. If your volume mount point contains data, remember that SnapDrive will not warn you
that data is present when you delete the mount point.
About this task
Use the Delete Disk feature cautiously, because after you delete a LUN, you cannot use SnapDrive to
undelete it.
Steps
1. Make sure that neither Windows Explorer nor any other Windows application is using or displaying
any file on the LUN you intend to delete.
2. Under SnapDrive in the left MMC pane, expand the instance of SnapDrive you want to manage,
then expand Disks and select the disk you want to manage.
3. From the menu choices at the top of MMC, navigate to Action > Delete Disk.
4. When prompted, click Yes to proceed with the operation.
Note: This procedure will not delete the folder that was created at the time the volume mount point
was added. After you remove a mount point, an empty folder will remain with the same name as the
mount point you removed.
The icons representing the deleted LUN disappear from MMC.
18
Artisan Infrastructure
888-988-8732
Resizing a disk
You can resize a disk using the SnapDrive for Windows MMC snap-in to either increase or decrease
the amount of space it uses.
Before you begin
Take a Snapshot copy of your disk before you resize it. If necessary, you can use the Snapshot copy to
restore the disk to its original size.
About this task
If the disk you want to resize is a quorum disk in a Microsoft cluster configuration, instead of
performing the following steps, you need to follow the procedure to resize a quorum disk.
Steps
1. Under SnapDrive in the left MMC pane, expand the instance of SnapDrive you want to manage,
then expand Disks and select the disk you want to manage.
2. From the menu choices at the top of MMC, navigate to Action > Resize Disk.
3. Next to "Maximum size" in the Resize Disk window, leave "Reserve space for at least one Snapshot
copy" selected.
Note: When you select this option, the disk size limits displayed are accurate only when they first
appear on the Select LUN Properties panel.
4. In the "New size" box, either type a value, or use the slider bar to increase or decrease the amount of
space the disk uses.
Note: It might be possible to shrink a disk to a smaller size than the indicated minimum by performing
the resize operation more than once.
5. Click OK.
6. Create a new Snapshot copy of the resized disk.
After you finish
If you change the size of your disk, you might need to close and reopen MMC before the resized disk
size becomes visible in the Disk Management snap-in.
19
Artisan Infrastructure
888-988-8732
1. Under SnapDrive in the left MMC pane, expand the instance of SnapDrive you want to manage,
then select Disks.
2. From the menu choices at the top of MMC, navigate to Action > Properties.
3. In the Disks Properties window, select the Space Reservation Monitor tab.
4. In the Space Reservation Monitor panel, perform the following actions:
a. Click to deselect the Disable Space Reservation Monitoring checkbox.
b. Type a value in the Monitor Time Interval field, in minutes.
Values can be between 0 (disable) and 10,080 minutes (7 days).
c. Under the Space Reservation Monitor Settings tree, select the storage system and volume
name.
d. Type a value for the Reserve Available percentage threshold.
e. Type a value for the Rate of Change threshold and choose MB, GB, or TB for the Unit.
f. Select the Alert checkbox if you want to be notified if this condition occurs.
5. Click OK or Apply to save your changes.
6. Click OK.
Artisan Infrastructure
888-988-8732
1. Under SnapDrive in the left MMC pane, expand the instance of SnapDrive you want to manage,
then expand Disks and select the disk you want to manage.
2. From the menu choices at the top of MMC, navigate to Action > Start Space Reclaimer.
Space to reclaim
Confirming that the LUN can be optimized for Snapshot copy creation.
Continue to the next step.
No space to reclaim
Notifying you that you do not need to run Space Reclaimer on the
selected disk.
Click Cancel to exit the Confirm Space Reclamation on Disk window, or
go to the next step to continue with space reclamation.
Note: When you run Space Reclaimer on a disk that SnapDrive has
determined has no space to reclaim, the space reclamation process
can still take as long to complete as it would for a disk that does have
reclaimable space. This is because SnapDrive performs NTFS block
comparisons and analyzes disk infrastructure regardless of whether
there is space to reclaim.
3. In the Confirm Space Reclamation on Disk window, limit the amount of time Space Reclaimer
runs on a LUN by selecting the "Limit (in minutes) Space Reclamation operation" checkbox. In the
space provided by the check box, type the number of minutes you want Space Reclaimer to run on the
LUN. By default, Space Reclaimer runs until the LUN is optimized.
4. Click OK to continue.
21
Artisan Infrastructure
888-988-8732
The space reclamation process runs in the background. You can monitor the Space Reclaimer progress
for the selected LUN by watching the status bar in the Details pane in MMC.
Note: SnapDrive might indicate that it is necessary to run Space Reclaimer again after it has
successfully completed a space reclamation process. This can happen if data is deleted from a LUN
while Space Reclaimer is running. It is strongly recommended that the space reclamation process is
performed when there is little or no activity on both the storage system and the Windows host.
1. Under SnapDrive in the left MMC pane, expand the instance of SnapDrive you want to manage,
then expand Disks and select the disk you want to manage.
2. From the menu choices at the top of MMC, navigate to Action > Stop Space Reclaimer.
22
Artisan Infrastructure
888-988-8732
you use the SnapManager product to manage your database, instead of SnapDrive you must
use SnapManager to create Snapshot copies. For more information about using SnapManager to create
Snapshot copies, see the current SnapManager Installation and Administration Guide for your product.
Additionally, as part of the SnapDrive Snapshot copy process, the file system (NTFS) is flushed to
disk and the disk image in the Snapshot copy is in a consistent state. This consistency cannot be
ensured if the Snapshot copy was created outside the control of SnapDrive (that is, at the storage
system console, or using the FilerView interface or rsh, or by backing up the LUN file in the active file
system.)
23
Artisan Infrastructure
888-988-8732
Snapshot copies inadvertently made at the storage system console or through FilerView
are dimmed (unavailable) in the SnapDrive MMC plug-in and are not usable by SnapDrive.
The following requirements must be met in order to successfully create Snapshot copies using
SnapDrive:
You must create Snapshot copies through the SnapDrive MMC snap-in or through sdcli.exe,
rather than the storage system console or the volume Snapshot copy schedule on the storage
system. This is because SnapDrive must first flush NTFS so that the LUN is consistent at the
moment the Snapshot copy is made. This ensures the usability of the LUN file in the Snapshot
copy directory.
Snapshot names must be created using US-ASCII characters only, even when using nonASCII operating systems.
Note: The
SnapDrive service can perform only one task at a time. If you schedule multiple tasks to start
at exactly the same time, the first will proceed, and SnapDrive will queue the others until the first task
either succeeds or times out.
Steps
1. Perform the following actions to get to the Create Snapshot menu item:
a. In the left MMC pane, select the instance of SnapDrive you want to manage.
b. Double-click Disks.
c. Double-click the disk for which you want to create a Snapshot copy.
d. Select Snapshots.
e. From the menu choices at the top of MMC, navigate to Action > Create Snapshot.
The Create Snapshot text box is displayed.
24
Artisan Infrastructure
888-988-8732
copy names must be created using US-ASCII characters only, even when using nonASCII operating systems.
b. Click OK.
Result
All steps except Step 1 in the following procedure are performed using the Scheduled Task Wizard, a
Windows task scheduling tool available on your Windows server.
Steps
1. Create a batch file (a file with a .bat extension) containing the following command on the Windows
host on which you are scheduling Snapshot copies:
sdcli snap create [-m MachineName] -s SnapshotName -D DriveLetterList [. . .] [-x]
is the name of the Windows host on which the command will be executed. If no machine
name is specified, the command is executed on the local machine.
SnapshotName is the name of the Snapshot copy to be created.
DriveLetterList is a list of space-separated drive letters.
When -x flag is specified, Snapshot copies are created only for the drives specified by the -D flag.
Otherwise, Snapshot copies are created for all the disks on the storage system volumes used by the
listed drives.
MachineName
Example
sdcli snap create -s Jun_13_07 -D j k l
The preceding example creates a Snapshot copy named Jun_13_07 for each volume containing one or
more of the LUNs mapped to the specified drives (that is, J:, K:, and L:). The Snapshot copies created
are consistent for all LUNs contained by those volumes.
2. Select Start Menu > Settings > Control Panel > Scheduled Tasks.
3. Double-click Add Scheduled Task.
The Scheduled Task Wizard is launched.
4. In the Scheduled Task Wizard, click Next.
25
Artisan Infrastructure
888-988-8732
5. Click Browse, and locate the batch (.bat) file you created in Step 1.
6. Select the batch file and click Open.
7. In the next panel, select from the list of frequencies, then click Next.
8. In the next panel, type a start time and complete the detailed frequency parameters. The option
details displayed on this panel vary depending on the Snapshot copy frequency you picked in the
previous panel.
9. In the next panel, type the user name (the administrator account name and password, repeated for
confirmation), then click Next.
10. Click Finish.
Result
26
Artisan Infrastructure
888-988-8732
Then...
Automatic igroup
management
Click Next.
SnapDrive uses existing igroups, one igroup per initiator, or, when
necessary,
creates new igroups for the initiators you specified in the Select Initiators
panel.
Manual igroup
management
Artisan Infrastructure
888-988-8732
10. In the Completing the Connect Disk Wizard panel, perform the following actions.
a. Verify all the settings
b. If you need to change any settings, click Back to go back to the previous Wizard panels.
c. Click Finish.
Result
The newly connected LUN appears under Disks in the left MMC pane.
it is necessary to restore a LUN from a Snapshot copy made before the LUN was resized,
SnapDrive for Windows automatically resizes the LUN to the size of the Snapshot copy and performs
the restore. Such a restore causes the loss of any data added to the LUN after it was resized, and it can
damage virtual machines (such as Hyper-V VMs) or applications if they are running on the LUN
during the restore.
About the Data ONTAP LUN clone split (rapid LUN restore) feature
SnapDrive uses the LUN clone split (rapid LUN restore) feature of Data ONTAP when restoring a
LUN.
A LUN clone is a point-in-time, writable copy of a LUN in a Snapshot copy. After the clone is
created, all read/write operations are made on the clone and read/write operations are no longer made
on the original LUN.
A LUN clone shares space with the original LUN in the backing Snapshot copy. The clone does not
require additional disk space until changes are made to it. When Data ONTAP splits the clone from
the backing Snapshot copy, Data ONTAP copies the data from the Snapshot copy, and copies the
blocks from the original LUN, to the clone. After the splitting operation, the clone becomes a regular
LUN, and the original LUN is deleted by Data ONTAP.
Note: If
you do not have enough disk space for both the clone and the original LUN, the split will
not be initiated and no LUN restoration can occur.
Benefit of using rapid LUN restore
When rapid LUN restore, or LUN cloning, is used by SnapDrive, the clone is split from the backing
Snapshot copy in the background, and the restored LUN is available to the Windows host for I/O
operations within a few seconds.
28
Artisan Infrastructure
888-988-8732
sure that virtual machines, Microsoft Exchange, or any other applications are no longer
running on a LUN before you restore that LUN from a Snapshot copy.
Steps
If a restore is in progress, SnapDrive will display the percentage completed, otherwise; the status will
display Normal.
29
Artisan Infrastructure
888-988-8732
When you use the sdcli command-line utility on a Windows 2008 server, keep the following
information in mind:
You must be logged in as Administrator, or as a user with administrative rights.
If you log in as a user other than the one used to install SnapDrive, you must update the
SnapDrive service credentials with the new user information and restart the SnapDrive service.
About this task
Command-line switches are case-sensitive. For instance, the -d switch refers to a single drive letter,
while the -D switch refers to one or more drive letters separated by spaces.
Steps
1. Using a host that has SnapDrive installed, select Start > Run.
2. Type cmd in the dialog box entry field, and then click OK.
3. After the Windows command prompt window opens, navigate to the directory on your host where
SnapDrive is installed.
30
Artisan Infrastructure
888-988-8732
Example
C:
cd \Program Files\NetApp\SnapDrive\
4. Enter the individual command you want to run. Make sure to include all input parameters in the
proper order and to specify both required and desired command-line switches in any order.
Example
sdcli disk disconnect -d R
Alternatively, enter the name and path of the automation script you want to run.
Example
C:\SnapDrive Scripts\disconnect_R_from_host4.bat
31