Saturday, January 12, 2013
Netapp locked or busy snapshots. 'Busy because of LUN clone'
Netapp are locked/busy snapshots due to LUN clone, initiator mappings. Netapp on ONTAP 8.x, using FCP initiators.
>snap list
%/used %/total date name
---------- ---------- ------------ --------
27% (27%) 14% (14%) Jan 1 08:15 {360e0a4e-c746-43b4-2eb0b56a2} (busy,LUNs)
netapp90> snap delete Data05 {360e0a4e-c746-43b4-2eb099eb56a2}
Snapshot {360e0a4e-c746-43b4-2eb099eb56a2} is busy because of LUN clone
-At this point verify no mappings to initiators, if there are mappings remove them
netapp90> Sat Jan 1 08:29:50 [netapp90: lun.map.unmap:info]: LUN /vol/Data05/{0854e947-10d3-4ab5-86d511f3d741}.rws unmapped from initiator group viaRPC.51:00:01:24:4f:01:ae:2e
Jan 1 08:29:50 [netapp90: lun.map.unmap:info]: LUN /vol/Data05/{0854e947-10d3-4ab5-86d511f3d741}.rws unmapped from initiator group viaRPC.51:00:01:24:4f:01:ae:2e
Jan 1 08:29:50 [netapp90: lun.destroy:info]: LUN /vol/Data05/{0854e947-10d3-4ab5-86d511f3d741}.rws destroyed
netapp90> snap list Data05
Volume Data05
working...
%/used %/total date name
---------- ---------- ------------ --------
27% (27%) 14% (14%) Jan 1 08:15 {360e0a4e-c746-43b4-2eb099eb56a2}
netapp90> snap delete Data05 {360e0a4e-c746-43b4-2eb099eb56a2}
Jan 1 08:30:48 [netapp90: wafl.snap.delete:info]: Snapshot copy {360e0a4e-c746-43b4-2eb099eb56a2} on volume Data05 NetApp was deleted by the Data ONTAP function snapcmd_delete. The unique ID for this Snapshot copy is (35, 289451).
Commvault SnapBackup/ Netapp SnapProtect Configuration
Commvault's description:
-For the actual commvault configuration so that it can manage the netapp array(s) and snapshots, commvault will have to be setup to talk to Netapp DFM host IP, and netapp credentials will be needed as per the screenshot below from the commvault management console:
-From there you can snap a host's lun (srv204) and restore the netapp lun snapshot to another host(srv4) [Following is the netapp output]:
netapp32> Jan 1 16:06:56 [netapp32: lun.map:info]: LUN /vol/srv204/MP_srv4_132408814_srv4 was mapped to initiator group cv_srv4_132_FC=2
Jan 1 16:07:24 [netapp32: lun.map.unmap:info]: LUN /vol/srv204/MP_srv4_132408814_srv4 unmapped from initiator group cv_srv4_132_FC
Jan 1 16:07:24 [netapp32: lun.destroy:info]: LUN /vol/srv204/MP_srv4_132408814_srv4 destroyed
"Simpana 8 - SnapBackup
New SnapBackup feature integrates seamlessly with hardware-based snapshot technologies to create persistent application and data consistent recovery copies directly from snapshots, bypassing the production server and virtually eliminating the need for an operational backup window. Simpana software removes the configuration and management complexity normally associated with snapshot management, creates a unified policy management framework for multiple pre-certified storage vendors including EMC and NetApp and offers point and click recovery points from any storage tier (online, nearline, offline)..........."
-For the actual commvault configuration so that it can manage the netapp array(s) and snapshots, commvault will have to be setup to talk to Netapp DFM host IP, and netapp credentials will be needed as per the screenshot below from the commvault management console:
-From there you can snap a host's lun (srv204) and restore the netapp lun snapshot to another host(srv4) [Following is the netapp output]:
netapp32> Jan 1 16:06:56 [netapp32: lun.map:info]: LUN /vol/srv204/MP_srv4_132408814_srv4 was mapped to initiator group cv_srv4_132_FC=2
Jan 1 16:07:24 [netapp32: lun.map.unmap:info]: LUN /vol/srv204/MP_srv4_132408814_srv4 unmapped from initiator group cv_srv4_132_FC
Jan 1 16:07:24 [netapp32: lun.destroy:info]: LUN /vol/srv204/MP_srv4_132408814_srv4 destroyed
Upgrading Brocade FOS and adding new Brocade FC switch
Steps to adding a new brocade(B-series) switch to an existing fabric. The new switch in will be an edge/subordinate switch in a core-edge topology.
Prerequisites:
swd21:admin> firmwaredownload
Server Name or IP Address: 10.2.1.3
User Name: anonymous
File Name: /v622b
Network Protocol(1-auto-select, 2-FTP, 3-SCP) [1]: 2
Password:
Server IP: 10.2.1.3, Protocol IPv4
Checking system settings for firmwaredownload...
System settings check passed.
You can run firmwaredownloadstatus to get the status
of this command.
This command will cause a warm/non-disruptive boot on the switch,
but will require that existing telnet, secure telnet or SSH sessions
be restarted.
Do you want to continue [Y]: y
Firmware is being downloaded to the switch. This step may take up to 30 minutes.
Preparing for firmwaredownload...
Start to install packages...
dir ##################################################
ldconfig ##################################################
-------------------------output cut---------------------------------------
[5]: Jan 1 17:44:34 2012
Firmwaredownload command has completed successfully. Use firmwareshow to verify the firmware versions.
swd21:admin> firmwareshow
Appl Primary/Secondary Versions
------------------------------------------
FOS v6.2.2b
v6.2.2b
Prerequisites:
- Brocade firmware version on new switch should be upgraded/downgraded as required by fabric/interop
swd21:admin> firmwaredownload
Server Name or IP Address: 10.2.1.3
User Name: anonymous
File Name: /v622b
Network Protocol(1-auto-select, 2-FTP, 3-SCP) [1]: 2
Password:
Server IP: 10.2.1.3, Protocol IPv4
Checking system settings for firmwaredownload...
System settings check passed.
You can run firmwaredownloadstatus to get the status
of this command.
This command will cause a warm/non-disruptive boot on the switch,
but will require that existing telnet, secure telnet or SSH sessions
be restarted.
Do you want to continue [Y]: y
Firmware is being downloaded to the switch. This step may take up to 30 minutes.
Preparing for firmwaredownload...
Start to install packages...
dir ##################################################
ldconfig ##################################################
-------------------------output cut---------------------------------------
[5]: Jan 1 17:44:34 2012
Firmwaredownload command has completed successfully. Use firmwareshow to verify the firmware versions.
swd21:admin> firmwareshow
Appl Primary/Secondary Versions
------------------------------------------
FOS v6.2.2b
v6.2.2b
- Setup 'switchname', snmp as required.
- Check date. set ntp server with 'tsclockserver set timezone' & 'tstimezone --interactive'
- Disable switch and set Domain ID (DID must unique)
- Check/clear config : cfgshow
- sw21:admin> cfgclear
The Clear All action will clear all Aliases, Zones, FA Zones
and configurations in the Defined configuration.
cfgSave may be run to close the transaction or cfgTransAbort
may be run to cancel the transaction.
Do you really want to clear all configurations? (yes, y, no, n): [no] yes - Now enable switch with 'switchenable'
- Connecting new switch:
- You can connect the new switch via an ISL to the Core switch. ISL should be created similar SNMP message. You can also confirm via 'islsow' on both switches.
- Clear port counters/errors on ISL and monitor.
Subscribe to:
Posts (Atom)