Wednesday, February 26, 2014

NETAPP SNAPVAULT COMMANDS TUTORIAL

SNAP VAULT COMMANDS

TO SHOW SNAPVAULT DESTINATIONS:
Snapvault destinations (or) snapvault destinations –s <filer:path>

TO ABORT THE SNAPAULT OPERATION:
Snapvault destinations –s <filer:path> (to get the snap name)
Snapvault abort –f <destination filer: destination path> -s <volume> <snap name>

TO MODIFY SNAPVALT PARAMETERS:
Snapvault modify –k <kbs> -t <n> -o <options> -S <primary system: path> <secondary system: path> (from secondary)

TO REVERT SNAPVAULT RELATIONSHIP:
Go to secondary controller.
Snap prerevert –f

TO RELEASE SNAPVAULT RELATIONSHIP:
Snapvault release <primary path> <secondary system: path> (in primary)
Snapvault release <secondary path> <primary system: restored path> (in secondary)

TO RESTORE FROM SNAPVAULT DATA:
Snapvault restore –s <snap name> -k <n> -S <secondary system: path> <primary system: path>

TO SEE CURRENT SNAPVAULT STATUS:
Snapvault status

TO START SNAPVAULT OPERATION:
From sec storage,
Snapvault start –S <source system: path> <destination system: path>

TO STOP SNAPVAULT OPERATION:
From sec storage,
Snapvault stop –f <secondary system: path>

TO UPDATE SNAPVAULT SECONDARY CONTENTS:
From sec storage,
Snapvault update –s <snap name> <secondary system: path>

TO CREATE SNAPVAULT SNAPSHOT:
Snapvault snap create <volume name> <snap name>

TO PRESERVE A SNAPVAULT SNAPSHOT:
Snapvault snap preserve <volume name> <snap name>

TO UNPRESERVE A SNAPVAULT SNAPSHOT:
Snapvault snap unpreserve <volume name> <snap name>

TO DISPLAT CURRENT SNAPVAULT SNAPSHOT SCHEDULE:
Snapvault snap sched

TO SET SNAPVAULT SNAP SHOT SCHEDULE;
Snapvault snap sched <volume name> <snap name> <5@mon-fri@9-19>

TO UNSCHEDULE A SNAPVAULT SNAPSHOT:
Snapvault snap unsched <volume name> <snap name>

TO DO SNAPVAULT QTREE CHECK:
Snapvault check start –d <snap name> -S <primary system: path> <destination system: path>

TO ABORT SNAPVAULT QTREE CHECK:
Snapvault check abort <secondary system: path>


NETAPP SNAP MIRROR COMMANDS TUTORIAL

SNAP MIRROR COMMANDS

TO SEE CURRENT SNAP MIRROR STATUS:
Snapmirror status

TO ENABLE SNAP MIRROR TRANSFERS:
Snapmirror on

TO DISABLE SNAPMIRROR TRANSFERS:
Snapmirror off

TO LIST NVLOG FILES OF SNAP MIRROR VOLUME:
Snapmirror nvlogs <volume name>

TO DELETE NVLOG FILES OF SNAP MIRROR VOLUME:
Snapmirror nvlogs –d <volume name>

TO SEE SNAPMIRROR DESTINATIONS:
Snapmirror destinations.

TO ABORT SNAPMIRROR TRANSFERS TO SPECIFIED DESTINATIONS:
Snapmirror abort <destination system: path>

TO END DESTINATION SNAP MIRRORED STATUS AND MAKES IT WRITABLE:
Snapmirror break <destination path>

TO START INTIAL SNAP MIRROR TRANSFER:
Snapmirror initialize –S <source system: path> <destination system: path>

TO EXECUTE AN UPDATE TRANSFER:
Snapmirror migrate <source system: path> <destination system: path>

TO MAKE SNAP MIRROR DESTINATION IN IDLE STATE:
Snapmirror quiesce <destination path>

TO REMOVE THE QUIESCE FROM DESTINATION:
Snapmirror resume <destination path>

TO REMOVE SNAP MIRROR DESTINATIONS:
Snapmirror release <source path> <destination system: path>

 TO RESYNCHRONIZE THE BROKEN MIRROR WITH A SOURCE:
Snapmirror resync –S <source system: path> <destination system: path>

TO MODIFY THE THROTTLE VALUE FOR THE SNAP MIRROR TRANSFER:
Snapmirror throttle <n> <destination system: path>

TO FORCE SNAP MIRROR UPDATE OF SNAP MIRROR DESTINATIONS:
Snapmirror update –S <source system: path> <destination system: path>

TO DISPLAY THE CHECKER LOG OF DESTINATION SNAP MIRROR VOLUME:
Priv set diag
Snapmirror check logs show <volume name>

TO DELETE CHECKER LOG OF DESTINATION SNAP MIRROR VOLUME:
Priv set diag
Snapmirror check logs delete <volume name>

TO START THE CHECK OR FIX OPERATION ON SNAP MIRROR VOLUME:
Priv set diag
Snapmirror check start –d <snap name> -S <source system: path> <destination system: path>

TO ABORT THE CHECK OR FIX OPERATION ON SNAP MIRROR VOLUME:
Priv set diag
Snapmirror check abort <destination path>

TO CONVERT THE DESTINATION QTREE TO SNAP MIRROR:
Priv set diag
Snapmirror convert <destination path>

TO DO SNAPMIRROR TRACE:
Priv set diag
Snapmirror trace dump


Tuesday, February 25, 2014

NETAPP SNAPSHOT COMMANDS TUTORIAL



SNAPSHOT RELATED COMMANDS

TO DELETE ALL SNAPSHOT COPIES OF A VOLUME:
Snap delete –V –a <volume name>

TO FIND RATE OF CHANGE OF DATA BETWEEN SNAPSHOT COPIES IS:
Snap delta –V <volume name> <snap shot name> <snap shot name>

TO ESTIMATE AMOUNT OF SPACE FREED BY DELETING A SNAPSHOT IS
Snap reclaimable <volume name> <snap shot name>

TO LIST SNAPSHOT COPIES OF AGGREGATE:
Snap list –A

TO LIST SNAPSHOT COPIES OF A VOLUME:
Snap list –V

TO LIST SNAP SHOT COPIES OF A QTREE:
Snap list –o <qtree path>

TO CREATE A SNAPSHOT FOR AGGREGATE:
Snap create –A <aggregate name> <snap shot name>

TO CREATE A SNAPSHOT FOR A VOLUME:
Snap create –V <volume name> <snap name>

TO DELETE A AGGREGATE SNAPSHOT:
Snap delete –A <aggregate name> <snap name>

TO DELETE AN VOLUME SNAPSHOT:
Snap delete –V <volume name> <snap name>

TO RENAME A SNAPSHOT:
Snap rename –V <volume name> <old name> <new name>

TO SCHEDULE A SNAPSHOT FOR A VOLUME:
Snap sched –V <volume name> <weeks days hours@list>

TO SEE SNAPSHOT RESERVE FOR A VOLUME:
Snapshot reserve

TO SET SNAPSHOT RESERVE:
Snap reserve –V <volume name> <percent>

TO RESTORE FROM SNAPSHOT:
Snap restore –t <volume| file> -s <snap shot name> -r <restore as path> <volume name>

TO ENABLE SNAPSHOT AUTODELETE:
Snap autodelete <volume name> on

TO DISABLE SNAPSHOT AUTODELETE:
Snap autodelete <volume name> off

TO SHOW SNAPSHOT AUTODELETE OPTIONS:
Snap autodelete <volume name> show

TO SET AUTODELETE OPTIONS:
Snap autodelete <volume name> <options> <value>

TO SEE THE SNAP ID AND HOW MUCH BLOCKS THEY OWNED:
Priv set advanced
Snap status –V <volume name>


NETAPP RLM PROMPT COMMANDS TUTORIAL



RLM PROMPT COMMANDS

TO SEE THE DATE OF THE STORAGE BOX:
Date

TO EXIT THE RLM PROMPT:
Exit

TO PRINT ALL THE SYSTEM EVENTS:
Events all

TO PRINT SYSTEM EVENTS LOG INFORMATION:
Events info

TO PRINT THE NEWEST 10 SYSTEM EVENTS:
Events newest 10

TO PRINT THE OLDEST 5 SYSTEM EVENTS:
Events oldest 5

TO SEARCH AN SYSTEM EVENT:
Events search <string>

TO SHOW CURRENT USER MODE:
Priv show

TO SET AS ADMIN USER MODE:
Priv set admin

TO SET AS ADVANCED MODE:
Priv set advanced

TO SET AS DIAGNOSTICS USER MODE:
Priv set diag

TO SHOW CURRENT RLM TEMPERATURE SENSOR READING:
Rlm sensors –c

TO PRINT RLM STATUS INFORMATION:
Rlm status

TO PRINT RLM VERBOSE STATISTICS:
Rlm status –v

TO PRINT RLM DEBUG INFORMATION:
Rlm status –d

TO UPGRADE RLM FIRMWARE:
Rlm update <URL> -f

TO REBOOT THE RLM:
Rlm reboot

TO CONNECT TO THE SYSTEM CONSOLE FROM RLM PROMPT:
System console

TO DUMP THE SYSTEM CORE AND RESET:
System core

TO PRINT SYSTEM CONSOLE LOGS:
System log

TO SEE SYSTEM POWER STATUS:
System power status

TO TURN OFF THE SYSTEM POWER:
System power off

TO TURN ON THE SYSTEM POWER:
System power on

TO POWERCYCLE THE SYSTEM:
System power cycle

TO RESET THE SYSTEM USING SELECTED FIRMWARE:
System reset

TO SEE THE VERSION OF STORAGE:
Version

TO PRINT RLM COMMAND HISTORY:
A) Priv set advanced
B) Rlm log audit

TO PRINT ALL RLM DEBUG INFORMATON:
A) Priv set advanced
B) Rlm log debug

TO PRINT RLM LOG MESSAGES FILE:
A) Priv set advanced
B) Rlm log messages

TO PRINT STATUS OF ALL SYSTEM SENSORS:
A) Priv set Advanced
B) System sensors

TO START GDB SERVICE VIA SSH:
A) Priv set diag
B) gdb ssh

TO START GDB SERVICE VIA TELNET:
A) Priv set diag
B) Gdb telnet

TO SEE GDB STATUS:
A) Priv set diag
B) Gdb status

TO STOP GDB SERVICE:
A) Priv set diag
B)  Gdb stop

TO PRINT DEBUG PORT STATUS:
A) Priv set diag
B) System debug_port status

TO PRINT SYSTEM INFO REGISTERS VALUE:
A) Priv set diag
B) System registers