Upload
tranhuong
View
230
Download
0
Embed Size (px)
Citation preview
EMC
Abstract
This document explains how to use Automated Failover Manager.
March, 2012 (English version)
EMC Automated Failover Manager Version 1.0 User Guide
EMC Automated Failover Manager Version 1.0 User Guide
2
Copyright © 2012, EMC Corporation. All rights reserved.
Published March, 2012
EMC believes the information in this publication is accurate of its publication date. The information is subject to change without notice.
The information in this publication is provided “as is”. EMC Corporation makes no representations or warranties of any kind with respect to the information in this publication, and specifically disclaims implied warranties of merchantability or fitness for a particular purpose.
Use, copying, and distribution of any EMC software described in this publication requires an applicable software license.
For the most up-to-date listing of EMC product names, see EMC Corporation Trademarks on EMC.com.
EMC Automated Failover Manager Version 1.0
User Guide
Part Number 300-013-382
Contents
EMC Automated Failover Manager Version 1.0 User Guide
3
Contents
Chapter 1 Introducing AFM ..................................................................... 11
Overview ....................................................................................................... 12
AFM features ................................................................................................. 13
Chapter 2 Installing AFM ........................................................................ 15
Installation requirements .............................................................................. 16
Installation procedure ................................................................................... 18
Running AFM ................................................................................................. 19
Directory structure ........................................................................................ 19
Chapter 3 Using AFM ............................................................................. 21
Overview ....................................................................................................... 22
Collecting configuration information ............................................................. 22
Configuring AFM using the GUI ...................................................................... 23
Verifying AFM ................................................................................................ 31
Checking the reference configuration ............................................................ 34
Performing a manual failover ........................................................................ 34
Performing a manual failback ....................................................................... 34
Configuring AFM for automatic failover ......................................................... 35
Appendix A Graphical User Interface ...................................................... 37
Top-level menus ............................................................................................ 38
Settings menu ...................................................................................................... 39 Status menu ........................................................................................................ 39
Run menu ............................................................................................................ 40
Settings > Configuration ................................................................................ 40
Global Settings tab .............................................................................................. 41
Storage tab .......................................................................................................... 43
RecoverPoint tab .................................................................................................. 45
Security Settings tab ............................................................................................ 46
Contents
EMC Automated Failover Manager Version 1.0 User Guide
4
Settings > SNMP Configuration ...................................................................... 47
Processing logic ................................................................................................... 47
SNMP trap structure ............................................................................................. 47
SNMP configuration buttons ................................................................................ 48
General Settings tab ............................................................................................ 49
Trap Definition tab ............................................................................................... 50
Status Traps tab ................................................................................................... 52
Event Traps tabs .................................................................................................. 53
Settings > Exit ................................................................................................ 54
Status > Check Ping ....................................................................................... 54
Status > Discover ........................................................................................... 56
Error alert during discovery .................................................................................. 57
Status > Create Status ................................................................................... 60
Status > Reference Configuration ................................................................... 60
Status > Show last Status/Events .................................................................. 61
Run > MirrorView Failover .............................................................................. 62
Run > MirrowView Restore ............................................................................. 63
Run > RecoverPoint Failover ........................................................................... 65
Run > RecoverPoint Restore ........................................................................... 66
Run > Automated Failover .............................................................................. 68
Run > Automated Failover> Background Service .................................................... 68
Run > Automated Failover > Current State/Log ....................................................... 69
Appendix B AFM events, directories, and utilities ................................... 71
AFM events ................................................................................................... 72
AFM directory structure ................................................................................. 73
Support directory for afm_grab utility ................................................................... 73
Grab utility .................................................................................................... 74
Output of afm_grab utility .................................................................................... 74
emcadm utility .............................................................................................. 75
Example output of emcadm for a VNX5300 running with MirrorView .................... 76
Example output of emcadm for a VNX5700 running with MirrorView .................... 76
EMC Automated Failover Manager Version 1.0 User Guide
5
Figures
Figure 1. Automatic monitoring flow diagram .................................................... 12 Figure 2. Decision matrix .................................................................................. 13 Figure 3. AFM service user ................................................................................ 18 Figure 4. AFM start screen ................................................................................. 38 Figure 5. Configuration — Global settings tab ................................................... 41 Figure 6. Configuration — Storage tab ............................................................... 43 Figure 7. Configuration — Add Storage screen ................................................... 44 Figure 8. Configuration — Storage box and the StorageID combination box ...... 44 Figure 9. Configuration — RecoverPoint tab settings ......................................... 45 Figure 10. Configuration — Security Settings tab ................................................. 46 Figure 11. SNMP configuration — General settings tab ........................................ 49 Figure 12. SNMP configuration — Trap definition tab .......................................... 50 Figure 13. SNMP configuration — Status traps tab .............................................. 52 Figure 14. SNMP configuration — Events 1.10 tab ............................................... 53 Figure 15. Check Ping ......................................................................................... 54 Figure 16. Discover ............................................................................................. 56 Figure 17. Create Status ...................................................................................... 60 Figure 18. Reference Configuration ..................................................................... 61 Figure 19. Show last Status/Events .................................................................... 61 Figure 20. MirrorView Failover ............................................................................. 62 Figure 21. MirrorView Restore ............................................................................. 64 Figure 22. RecoverPoint Failover ......................................................................... 65 Figure 23. RecoverPoint Restore .......................................................................... 67 Figure 24. Automated Failover > Background Service ........................................... 68 Figure 25. Automated Failover > Current State/Log .............................................. 69 Figure 26. Installation directory tree structure ..................................................... 73
EMC Automated Failover Manager Version 1.0 User Guide
7
Tables
Table 1. AFM features and benefits .................................................................. 13 Table 2. Supported Windows OS versions ........................................................ 16 Table 3. AFM Environment Data Collection Sheet ............................................. 16 Table 4. Installation subdirectories .................................................................. 19 Table 5. Setting menu selections ..................................................................... 39 Table 6. Status menu selections ...................................................................... 39 Table 7. Run menu selections .......................................................................... 40 Table 8. Configuration — Global settings tab ................................................... 42 Table 9. Configuration — Storage tab settings .................................................. 43 Table 10. Configuration — RecoverPoint appliance settings ............................... 45 Table 11. Configuration — Security Settings tab ................................................. 46 Table 12. SNMP Configuration — Screen buttons ............................................... 48 Table 13. SNMP configuration — General setting tab ......................................... 49 Table 14. SNMP configuration — Trap definition tab .......................................... 51 Table 15. SNMP configuration — Status traps tab settings ................................. 52 Table 16. SNMP configuration — Events tab settings ......................................... 53 Table 17. Discovery errors, causes, and remedies .............................................. 58 Table 18. Automated Failover selections ............................................................ 68 Table 19. Event level and status summary ......................................................... 72 Table 20. AFM files ............................................................................................ 73 Table 21. afm_grab files .................................................................................... 73
EMC Automated Failover Manager Version 1.0 User Guide
9
Preface
As part of an effort to improve and enhance the performance and capabilities of its product line, EMC from time to time releases revisions of its hardware and software. Therefore, some functions described in this guide may not be supported by all revisions of the software or hardware currently in use. For the most up-to-date information on product features, refer to your product release notes.
If a product does not function properly or does not function as described in this document, please contact your EMC representative.
Note This document was accurate as of the time of publication. However, as information is added, new versions of this document may be released to the EMC online support website. Check the website to ensure that you are using the latest version of this document.
Purpose
This document describes how to install and use the EMC Automated Failover Manager (AFM).
Audience
This document is intended for internal EMC personnel, partners, and customers.
Related documents
The following EMC publication provides additional information:
• EMC Automated Failover Manager Release Notes
Where to get help
For documentation, release notes, software updates, or for information about EMC products, licensing, and service, go to the EMC Powerlink website (registration required) at:
http://Powerlink.EMC.com
EMC Automated Failover Manager Version 1.0 User Guide
11
Chapter 1 Introducing AFM
This chapter presents the following topics:
Overview ................................................................................................... 12
AFM features ............................................................................................. 13
Introducing AFM
EMC Automated Failover Manager Version 1.0 User Guide
12
Overview EMC Automated Failover Manager (AFM) manages automatic failover between two VNX systems in a NAS environment. It is a Windows utility that is based on the replication procedure for VNX storage.
AFM is a Windows application designed to monitor and manage cabinet-level failover between two VNX systems in an active/passive configuration. AFM features a graphical user interface and supports disaster recovery for:
• VNX storage with MirrorView in active/passive synchronous only mode
• VNX storage with RecoverPoint in active/passive synchronous only mode
A background service automatically monitors the network. It can be restarted using the GUI.
Figure 1 illustrates how GUI instructions and background service instructions are transferred to the AFM command line interface. The AFM CLI executes system and storage commands in the context of the user environment and processes the results.
Figure 1. Automatic monitoring flow diagram
AFM is designed to monitor events in the NAS environment and evaluate the overall status using a decision matrix. Up to 30 events can be defined. If AFM detects an error condition, it will trigger an automatic failover.
Introducing AFM
EMC Automated Failover Manager Version 1.0 User Guide
13
Figure 2. Decision matrix
AFM features Table 1 lists AFM features and benefits.
Table 1. AFM features and benefits
Feature Benefit
NAS environments with MirrorView or RecoverPoint
The event types and decision matrix are predefined for NAS environments running MirrorView or RecoverPoint. AFM supports an active/passive failover configuration.
IP addresses To aid in the detection of an error status for failover, AFM can be configured to check two IP addresses. One IP address is for the remote ping target. AFM uses this address to detect LAN isolation. Another IP address is for the Data Mover on primary DR site, configured as either an NFS or CIFS server. AFM uses this address to detect when the NAS service user is down.
Discover The AFM user manually sets the time that AFM will discover the reference configuration state. AFM uses the reference configuration to evaluate error or warning states, and to determine when to failover.
Monitored events Monitored events can be fault conditions (such as RAID Group failures or LUN failures) or configuration changes (such as a file system or RecoverPoint group added). AFM uses a previous reference configuration to evaluate configuration changes.
Introducing AFM
EMC Automated Failover Manager Version 1.0 User Guide
14
Feature Benefit
Automatic switchover In the event of an error status, AFM can be configured to automatically switch over the primary VNX to the secondary. The switchover is performed using MirrorView or RecoverPoint.
By default, AFM is configured for manual failover, under Settings > Configuration > Fail/Switch Over with the Failover Blocking checked. To use automatic AFM failover, uncheck Failover Blocking and start the AFM service.
SNMP traps AFM can send SNMP trap notifications. The trap types to monitor and when to send the notification are configurable parameters.
SNMP configuration Defaults for pre-defined events can be loaded and enabled in the AFM configuration, with or without an SNMP monitoring station.
EMC Automated Failover Manager Version 1.0 User Guide
15
Chapter 2 Installing AFM
This chapter presents the following topics:
Installation requirements ........................................................................... 16
Installation procedure ................................................................................ 18
Running AFM ............................................................................................. 19
Directory structure ..................................................................................... 19
Installing AFM
EMC Automated Failover Manager Version 1.0 User Guide
16
Installation requirements AFM runs on a Windows system. Table 2 shows the supported Windows OS versions.
Table 2. Supported Windows OS versions
OS version 64 bit 32 bit
Windows 2008 R1 Yes Yes
Windows 2008 R2 Yes NA
Windows 2003 R1 Yes Yes
Windows 2003 R2 Yes Yes
Windows XP Yes Yes
Windows 7 Yes Yes
Before installing AFM, ensure that the following conditions are satisfied:
• VNX, RecoverPoint, and MirrorView installations have been tested.
The DR environment is in active/passive mode.
RecoverPoint and MirrorView are configured in synchronous replication mode.
• The AFM user will have administrator access to the LAN.
Note: For Windows 2008, Microsoft .NET must be activated before AFM is installed.
AFM uses the LAN to:
• communicate with the VNX Control Stations and the VNX Storage Systems
• monitor MirrorView and RecoverPoint
To control the units, the corresponding usernames and passwords or ssh key files must be stored on the AFM Windows system.
Systems information listed on the AFM Environment Data Collection Sheet is required for installation.
Table 3. AFM Environment Data Collection Sheet
Remote Ping Target NAS Service IP
Replication Methods MirrorView /
RecoverPoint RecoverPoint
Consistency Group
Installing AFM
EMC Automated Failover Manager Version 1.0 User Guide
17
Primary Site Secondary Site
Primary CS Primary CS
Secondary CS Secondary CS
SPA SPA
SPB SPB
Storage Group Storage Group
RecoverPoint Cluster 1 RecoverPoint Cluster 2
Cluster IP Cluster IP
Node 1 IP Node 1 IP
Node 2 IP Node 2 IP
SNMP Configurations
Primary Target IP Secondary Target IP
Primary Target Port Secondary Target Port
Community
Enterprise OID Facility
Generic Facility OID
Specific Component
Component OID
Severity OID
DR user name Text OID
Installing AFM
EMC Automated Failover Manager Version 1.0 User Guide
18
Installation procedure During installation, all necessary packages, binaries, and services are installed on the Windows server.
To perform the installation:
1. Log in to the Windows system as an administrator.
2. Download the software from Powerlink.
3. Follow the prompts to install the program. When installation is complete, the AFM shortcut appears on the desktop.
4. Reboot the Windows machine.
5. After rebooting, configure the AFM service login account with the same Windows system administrator username and password used to install AFM.
Figure 3. AFM service user
Installing AFM
EMC Automated Failover Manager Version 1.0 User Guide
19
Running AFM Before running AFM, verify that no AFM processes are running on the system. If a previous instance of AFM is found, close the process.
To start AFM on Windows XP or Windows 2003 systems, double-click the AFM shortcut on the desktop.
To start AFM on Windows 7 or Windows Server 2008 systems, right-click the AFM shortcut on the desktop and select Run as Administrator.
Directory structure During the installation, the administrator is prompted for an installation directory. Table 3 lists some of the subdirectories that are installed and could be used for troubleshooting.
Table 4. Installation subdirectories
Subdirectory Contents
bin 3rd party applications
config Configuration files
config\nas_ap Configuration: NAS active/passive
emcadm2 EMC ADM base instance
emcadm2\bin EMCADM/2 executables
emcadm2\log EMCADM/2 log files
gui AFM GUI distribution directory
help Helpfiles
log Log files
man Technical documents
scripts Scripts used for operation
service Contains Service Executables
tmp Empty, required
EMC Automated Failover Manager Version 1.0 User Guide
21
Chapter 3 Using AFM
This chapter presents the following topics:
Overview ................................................................................................... 22
Collecting configuration information .......................................................... 22
Configuring AFM using the GUI ................................................................... 23
Verifying AFM ............................................................................................ 31
Checking the reference configuration ......................................................... 34
Performing a manual failover ..................................................................... 34
Performing a manual failback ..................................................................... 34
Configuring AFM for automatic failover ....................................................... 35
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
22
Overview Before using AFM to manage automatic failover between two VNX systems, configure, verify, and test failover. Tasks include:
• Collecting configuration information.
• Configuring AFM using the GUI.
• Verifying AFM.
• Performing a manual failover.
• Performing a manual restore or failback
• Configuring AFM for automatic failover
Collecting configuration information In addition to the information on the AFM Environment Data Collection Sheet on page 16 that was used to install AFM, the following information is needed to configure AFM:
Remote Ping Target — Target site IP of the primary control station
NAS Service IP — Source side Data Mover IP address
Replication Methods — Synchronous MirrorView or RecoverPoint
MirrorView or RecoverPoint Consistency Group
IP address of the Primary CS of the primary site
IP address of the SPA of the primary site — Target site IP of the primary control station
Storage Group name of the primary site, such as, ~filestorage, source, or target VNX systems.
IP address of the Primary CS of the secondary site — Target site IP of the primary control station
IP address of the SPA of the secondary site — Target site IP of the primary control station
Storage Group name of the secondary site — Target site IP of the primary control station
Cluster IP, Node 1 IP, Node2 IP of the RecoverPoint Cluster 1 and Cluster 2 separately — Target site IP of the primary control station
Credentials — Target site IP of the primary control station
Using AFM
EMC Automated Failover Manager Version 1.0 User Guide
23
Configuring AFM using the GUI To configure AFM, perform the following steps:
1. If AFM is running, use the Windows administrative tool to stop the EMC AFM Service.
2. Double-click the AFM desktop icon to start the AFM GUI.
3. On the Global Settings tab, configure:
Replication method — MirrorView or RecoverPoint
Fail/Switch Over — If Failover Blocking is checked, automatic failover is turned off.
Remote Ping Targets including:
− Check Remote IP — Click on
− IP address — Remote target CS0 IP address
− NAS Service IP for Check — Source Data Mover IP address
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
24
4. On the Storage tab, type the name for the Primary Control Station and IP address.
5. Click Add Storage.
Using AFM
EMC Automated Failover Manager Version 1.0 User Guide
25
6. Add Storage System appears. The name of the primary control station appears as the alias. Type the:
SP-A IP address
SP-B IP Address
User name of the VNX domain administrator or sysadmin
Password of the VNX domain administrator.
7. Click Add.
8. Repeat steps 3-6 for the Secondary Control Station.
NOTE: VNX MirrorView or RecoverPoint requires that both VNX systems are joined together in a single domain. The same VNX domain administrator user name or sysadmin is used for both the primary and secondary control stations.
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
26
9. On the Storage tab:
Select the StorageID associated with the primary control station. For StorGrp, type the default internal storage group name: ~filestorage.
Select the StorageID associated with the secondary control station. For StorGrp, type the default internal storage group name: ~filestorage.
Do not click OK.
Using AFM
EMC Automated Failover Manager Version 1.0 User Guide
27
10. On the Security Settings tab:
Type passwords for root and nasadmin accounts.
NOTE: The source and target VNX systems must have the same root passwords. They must also have the same nasadmin passwords.
Type the username of the VNX for File DR admin account used to initialize the File DR MirrorView or RecoverPoint configuration.
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
28
11. If RecoverPoint is active, click the RecoverPoint tab and configure:
RP Consistency Group
RP username and password
Cluster #1 and Cluster #2 information
Using AFM
EMC Automated Failover Manager Version 1.0 User Guide
29
12. To configure appropriate SNMP information and load defaults, select Settings > SNMP Configuration.
13. On the General Settings tab:
Click Load Defaults to load the default events to be monitored by the AFM service.
Click Generate SNMP Traps for both the primary and secondary targets.
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
30
14. On each of the three Events tabs, select all for OK, WARN and ERR.
15. Click OK.
Using AFM
EMC Automated Failover Manager Version 1.0 User Guide
31
Verifying AFM AFM configuration can be verified with selections on the Status menu.
1. To verify IP connectivity between AFM client and the source and target VNX
components, select Status > Check Ping.
2. Click Execute: PINGALL. Exit code 0 indicates success.
3. If Check Ping was successful, perform discovery of the initial DR configuration. Select Status > Discover.
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
32
4. Click Execute: DISCOVER. Exit code 0 indicates success.
5. To verify AFM readiness for monitoring and failover management, select Status > Create Status.
Using AFM
EMC Automated Failover Manager Version 1.0 User Guide
33
6. Click Execute: CREATE STATUS. Exit code 0 indicates success, or system ready for failover/failback.
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
34
Checking the reference configuration The reference configuration confirms that the MirrorView or RecoverPoint configuration was discovered. The LUNs and RAID groups for the primary and secondary sites are listed.
To check the reference configuration, select Status>Reference Configuration. The Reference Configuration box appears.
NOTE: If the MirrorView or RecoverPoint configuration changes, perform discovery to update the AFM reference configuration.
Performing a manual failover
1. To perform a manual failover with AFM:
In an environment with RecoverPoint, select Run > RecoverPoint Failover.
In an environment with MirrorView, select Run > MirrorView Failover.
2. Select Execute: FAILOVER.
3. In the confirmation box that appears, click Yes to continue.
Performing a manual failback
1. To perform a manual failback with AFM:
In an environment with RecoverPoint, select Run > RecoverPoint Restore.
In an environment with MirrorView, select Run > MirrorView Restore.
2. Select Execute: RESTORE.
3. In the confirmation box that appears, click Yes to continue.
Using AFM
EMC Automated Failover Manager Version 1.0 User Guide
35
Configuring AFM for automatic failover Two basic conditions trigger an automatic failover:
• Source site power down
• There is a source site LUN error within the protected LUNs configuration
To turn on automatic failover after a restore, uncheck Failover Blocking on the Global Settings tab under Settings>Configuration.
Start the AFM service.
EMC Automated Failover Manager Version 1.0 User Guide
37
Appendix A Graphical User Interface
This chapter presents the following topics:
Top-level menus ........................................................................................ 38
Settings > Configuration ............................................................................. 40
Settings > SNMP Configuration ................................................................... 47
Settings > Exit ............................................................................................ 54
Status > Check Ping .................................................................................... 54
Status > Discover........................................................................................ 56
Status > Create Status ................................................................................ 60
Status > Reference Configuration ................................................................ 60
Status > Show last Status/Events ............................................................... 61
Run > MirrorView Failover ........................................................................... 62
Run > MirrowView Restore .......................................................................... 63
Run > RecoverPoint Failover ........................................................................ 65
Run > RecoverPoint Restore ........................................................................ 66
Run > Automated Failover ........................................................................... 68
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
38
Top-level menus When the graphical user interface is invoked, the AFM start screen appears with the AFM version number and the current user displayed.
Figure 4. AFM start screen
The top-level menus are:
• Settings
• Status
• Run
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
39
Settings menu
Table 5. Setting menu selections
Selection Description
Configuration NAS configuration settings, including: global settings, storage system setup, replication method, and security settings.
SNMP Configuration Settings for SNMP trap configuration including: trap definitions, status traps, and event traps.
Status menu
Table 6. Status menu selections
Selection Description
Check Ping Checks the availability of the IP addresses configured.
Discover Discovers components.
Create Status Evaluates events and reports status based on a decision matrix.
Reference Configuration
Displays a reference configuration for current check.
Show last Status/Events Shows last test results.
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
40
Run menu
Table 7. Run menu selections
Selection Description
MirrorView Failover Controls and triggers the MirrorView Failover
MirrorView Restore Controls and triggers the MirrorView Restore
RecoverPoint Failover Controls and triggers the RecoverPoint Failover
RecoverPoint Restore Controls and triggers the RecoverPoint Restore
Automated Failover Contains the submenu for the Background Service and the related logfile display
Settings > Configuration Use Settings > Configuration to configure NAS Active/Passive configuration. Complete all configuration settings before using AFM.
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
41
Global Settings tab
Figure 5. Configuration — Global settings tab
Select the replication method for MirrorView or RecoverPoint on the Global Settings tab. Only options for the selected replication method will be active.
Global settings remain unchanged for all procedures.
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
42
Table 8. Configuration — Global settings tab
Screen Description
Click Failover Blocking to turn off automatic switchover in the event of an error. The NAS procedures also offer an administrative lock for switchover.
AFM only switches if there is an error situation and clearance to switch over. AFM may not switch if a switchover has already occurred.
AFM must be connected to the LAN to perform failover. AFM detects that it is isolated from the LAN when it is unable to connect to the Remote Ping Targets.
Provide an additional IP address and click Check Remote IP to activate a cyclical check for it. Do not use the IP address of the primary site. If AFM cannot ping the remote IP address, AFM will assume LAN isolation and will not perform failover.
The NAS Service IP for Check is the IP address of the primary site data mover that provides the NAS services.
Click Clear to delete the screen data and data in the associated configuration file arb_user.env. Defaults are entered.
Click OK to save all settings.
Note: The changes are made in the file arb_user.env for the ENV block.
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
43
Storage tab
Figure 6. Configuration — Storage tab
Configure environmental parameters, such as IP addresses and storage groups on the Storage tab.
Note: The changes are made in the file arb_user.env for the ENV block.
Table 9. Configuration — Storage tab settings
Setting Description
Primary Site
• NAS Control Station
• VNX system
AFM uses Control Station names and IP addresses to access the primary system. If only one Control Station is available, or if the NAS service is operated with a floating IP service, only the first Control Station needs to be defined.
Secondary Site
• NAS Control Station
• VNX system
Since cyclical checks are run to see whether the secondary site is available for a switchover, an access path for this page is required. If only one Control Station is available, or if the NAS service is operated with a floating IP service, only the first Control Station needs to be defined.
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
44
Click Add Storage, the Add Storage System screen appears.
Figure 7. Configuration — Add Storage screen
Configure the VNX block that provides NAS backend storage.
• Add the SAN storage ID
• Create the security key file for NaviSecCLI
For Storage, the StorGrp name includes the data LUNs protected by MirrorView or RecoverPoint.
Figure 8. Configuration — Storage box and the StorageID combination box
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
45
RecoverPoint tab
Figure 9. Configuration — RecoverPoint tab settings
Configure parameters, such as IP addresses and credential data on the RecoverPoint tab.
Note: The changes are made in the file arb_user.env for the ENV block.
Table 10. Configuration — RecoverPoint appliance settings
Setting Description
Login
Username and password of the administrator for the RecoverPoint appliance.
Cluster IP addresses for the RecoverPoint appliance cluster and nodes at each site.
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
46
Security Settings tab
Figure 10. Configuration — Security Settings tab
Configure security parameters, such as user names and passwords on the Security Setting tab. AFM uses plink to access the NAS Control Stations. Plink establishes a connection with either a password or a keyfile.
Table 11. Configuration — Security Settings tab
Setting Description
root Superuser password or keyfile on the VNX. The source and target VNX systems must have the same root password.
nasadmin An administrator password or keyfile on the VNX. The source and target VNX systems must have the same nasadmin password.
Disaster Recovery User Name User name of the NAS disaster recovery on the VNX.
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
47
Settings > SNMP Configuration Use Settings > SNMP Configuration to configure SNMP traps.
Processing logic Two SNMP target hosts can be defined for SNMP messages. For each SNMP trap target, you can configure whether or not to send SNMP traps for the host.
Required communication parameters are:
• SNMP trap targets — IP addresses of trap targets.
• SNMP trap port — Default is port 162.
• Timeout — Network trap transmission timeout. Default is 5 seconds.
• Failed attempts — Number of retries before error is sent. Default is 3.
• SNMP Community — Used to validate communication between trap sender and receiver.
• SNMP version — SNMPv1 is supported.
Special SNMP traps include:
• Traps for error forwarding.
• Watchdog trap that is generated periodically for the AFM background processing. The severity level and text for the watchdog trap can be configured.
• Overall status of the environment. The severity level and text are stored for this trap. The overall status for which an SNMP trap should be generated can be configured. And there is an option to generate an SNMP trap when the environment reverts to the OK status from a warning or error status.
A severity level and text can be defined for each event. As soon as the overall status is determined, the status security level is superimposed over the event security levels. For events it is also possible to configure whether or not an SNMP trap should be generated for various overall statuses.
SNMP trap structure All SNMP traps generated by AFM have the same structure:
• Enterprise OID trap target — 1.3.6.1.4.1.1139 is the EMC Enterprise MIB OID
• Generic trap definition — Default is 6 which means “enterpriseSpecific(6)” in RFC 1157.
• Specific trap definition — (optional) Configured by the user.
• Local IP — IP address from which the trap is to be sent
• Variable bindings:
Facility — Number (integer) and OID. Default is Enterprise OID + 2.1.1.1.
Component — Number (integer) and OID. Default is Enterprise OID + 2.1.1.2.
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
48
Severity — Severity level (integer) and OID. Default is Enterprise OID + 2.1.1.3.
Text — Text data (string) and OID. Default is Enterprise OID + 2.1.1.4.
The trap is always sent to the Enterprise OID. The generic or specific trap is evaluated there. Variables determine the trap data. Each trap always returns the four variable bindings.
The text entry for an SNMP trap includes the following elements preceding the stored texts:
• Date
Format Mon DD HH:MM:SS YYYY
• Text Arbitrator:<x>:<y>
<x> — either “S” (Status Trap), “E” (Event Trap) or “W” (Watchdog Trap)
<y> — either the status level or event number. In the event of a watchdog trap, a “0” is set for <y>.
Example of a complete text element for a trap:
Dec 15 12:34:08 2009 Arbitrator:E:12 Secondary LUN(s) with ERROR condition.
SNMP configuration buttons Table 11 lists the buttons that appear for all SNMP configurations.
Table 12. SNMP Configuration — Screen buttons
Button Description
Deletes the content of all parameters on all tabs including parameters that are not visible.
Loads text assigned to events from the AFM configuration. No other parameters are changed.
Generates SNMP traps for all marked events such as status traps and event traps.
Leaves the dialog without saving the entered parameter data. The user is asked to confirm prior to leaving the dialog.
Saves the settings.
Select all to check or uncheck all selections.
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
49
General Settings tab
Figure 11. SNMP configuration — General settings tab
Configure general SNMP trap settings on the General Settings tab.
Table 13. SNMP configuration — General setting tab
Parameter Definition Default
Primary Target:
“…generate SNMP-Traps”
SNMP traps are only sent to the Primary SNMP Server if this checkbox is selected
Not active
Primary Target:
SNMP-Target-IP
IP address of the primary SNMP target host None
Primary Target:
SNMP-Port
SNMP trap port (SNMP standard: 162) of the primary SNMP target host
None
Secondary Target:
“…generate SNMP-Traps”
SNMP traps are only sent to the Secondary SNMP Server if this checkbox is selected
Not active
Secondary Target:
SNMP-Target-IP
IP address of the secondary SNMP target host None
Secondary Target:
SNMP-Port
SNMP trap port (SNMP standard: 162) of the secondary SNMP target host
None
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
50
Parameter Definition Default
Communication:
Timeout (sec.)
Network timeout during transmission of SNMP traps for both SNMP target hosts
None
5 sec is recommended
Communication Retries Number of retries in the event of a communication error, such as timeout.
None
3 retries is recommended
SNMP Community This setting applies for both SNMP target hosts.
None
SNMP Version A solution has been prepared for SNMP version 1. Versions 2c and 3 are not available.
snmpv1
Checkbox “…generate Watchdog-Traps”
SNMP watchdog traps are only generated if this checkbox is selected
Not active
Watchdog Severity Severity level for watchdog traps None
Watchdog Text Text data for watchdog traps None
Trap Definition tab
Figure 12. SNMP configuration — Trap definition tab
Configure trap definitions and variable bindings on the Trap Definition tab.
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
51
Table 14. SNMP configuration — Trap definition tab
Parameter Meaning Default
Trap-Definition:
Enterprise-OID
Enterprise OID for the SNMP traps 1.3.6.1.4.1.1139
Trap-Definition:
Generic
“Generic” SNMP parameter for the trap 6
Trap-Definition:
Specific
“Specific” SNMP parameter for the trap
4
Trap-Definition:
Local-IP
Local IP address from which the SNMP trap is sent
None
Variable-Bindings:
Facility / OID
Facility ID and associated OID 64 and 1.3.6.1.4.1.1139.2.1.1.1
Variable-Bindings:
Component / OID
Component ID and associated OID 5 and 1.3.6.1.4.1.1139.2.1.1.2
Variable-Bindings:
Severity OID
Severity level OID. The severity level is taken from the statuses and events
1.3.6.1.4.1.1139.2.1.1.3
Variable-Bindings:
Text OID
OID for the text message. The text is taken from the statuses and events.
1.3.6.1.4.1.1139.2.1.1.4
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
52
Status Traps tab
Figure 13. SNMP configuration — Status traps tab
Define status traps on the Status Traps tab.
Table 15. SNMP configuration — Status traps tab settings
Parameter Meaning Default
Checkbox:
Send Trap
Indicates whether or not an SNMP trap should be generated for the associated overall status.
Not active
Input:
Severity
Defines the severity level sent by an SNMP trap for the status. To send an SNMP trap, this field is cleared.
None
Input:
Text
Defines the text sent by an SNMP trap for the status. To send an SNMP trap, this field is cleared.
None
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
53
Event Traps tabs
Figure 14. SNMP configuration — Events 1.10 tab
Define event traps on the Event tab. AFM can process a maximum of 30 events. Up to 10 event traps are listed on a tab. Each event tab displays the same type of information.
Table 16. SNMP configuration — Events tab settings
Parameter Meaning Default
Checkbox:
Send Trap if Status OK
Indicates whether or not an SNMP trap should be generated for the event in question if the overall status is OK.
Not active
Checkbox:
Send Trap if Status WARN
Indicates whether or not an SNMP trap should be generated for the event in question if the overall status is WARNING.
Not active
Checkbox:
Send Trap if Status ERR
Indicates whether or not an SNMP trap should be generated for the event in question if the overall status is ERR.
Not active
Input:
Severity
Shows the severity level sent by an SNMP trap for the event. To send an SNMP trap, this field is cleared.
None
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
54
Parameter Meaning Default
Input:
Text
Shows the text sent by an SNMP trap for the event. To send an SNMP trap, this field is cleared.
None
Settings > Exit To exit the GUI, select Settings > Exit.
Click Yes to confirm.
Note Background services remain active.
Status > Check Ping AFM functionality relies on reaching IP addresses. Use Status > Check Ping to check the availability of the IP addresses stored for the procedure.
Figure 15. Check Ping
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
55
Click Execute to start checking. The command chains and their results are shown in the Logfile area with a progress bar below.
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
56
Status > Discover Use Status > Discover to find the IP addresses of components such as file systems, storage groups, and RecoverPoint groups. Discover is also used to update changes in the configuration.
Figure 16. Discover
To execute any function, the AFM background service cannot be running. The current status is displayed on screen. Click Stop Service to end the current processing sequence before the “NOT Running” state is reached.
Click Refresh to update the display of the current status.
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
57
Click Execute: DISCOVER to perform discovery. If the AFM background service is still running, a message appears and discovery will not be performed:
When discovery starts, the current logfile is displayed. This display is refreshed periodically with the progress bar displayed below. OK is inactive and the dialog box cannot be closed.
If discovery generates errors, AFM issues an alert. The AFM service will not abort and the discovery status is displayed on the Status > Reference Configuration screen. An unexpected configuration, such as no empty StorageGroup for the VNX procedure, can trigger an alert.
Rediscovery resets all processed statuses such as whether a Storage Group was switched or not. AFM uses the reset as the initial status.
To exit the screen, click OK.
Error alert during discovery Discovery creates the reference for periodic environment checks, so discovery must conclude without errors. If Error during Discovery appears, review the log and resolve the error.
Table 17 lists common errors, their causes, and how to resolve them.
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
58
Table 17. Discovery errors, causes, and remedies
Error Cause Remedy
AFM commands with function STOR_CFG generate errors
Configuration changes have been made on the VNX systems. The AFM base package incorporated into AFM identifies the changes. However, the storage configurations cannot be updated.
Delete the storage configuration files for the AFM base instance located in the AFM installation directory, type:
del emcadm2\config\*.cfg
Perform discovery again.
All AFM commands produce errors
No access privileges or modified access privileges for access to EMC VNX systems.
Check if:
• VNX user/password was changed
• User NavisecCLI secure file is unavailable, corrupted, or deleted
• LDAP user/password was changed
Verify the user/passwords. In the emcadm2\bin subdirectory, type
emcadm.exe -f stor_cfg -s <VNX-Name>
The command must execute without errors.
Input to the RecoverPoint appliance generates errors. For example, plink of the RecPoint IP fails.
Access privileges were changed.
Save the correct user and password or keyfile in the AFM configuration and perform discovery again.
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
59
Error Cause Remedy
Some RecoverPoint Consistency Groups are not displayed in the reference configurations after discovery.
Unexpected RecoverPoint Consistency Group configurations, such as consistency groups with just one copy set. Incorrectly configured consistency groups are ignored.
Operating conditions:
• Two copy sets are required per consistency group.
• Each copy set may only contain devices for one storage system.
• Same number of devices in the copy sets of a consistency group.
• Two storage systems need to be involved in the consistency group.
Configure the RecoverPoint Consistency Groups to fit the operating conditions and then rediscover the environment.
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
60
Status > Create Status Create Status provides a status of all configured VNX components, MirrorView, and RecoverPoint.
Figure 17. Create Status
The process is monitored in the log area and on the progress bar. The current status and events are also displayed in Figure 19 using Status > Show Last Status/Events.
Status > Reference Configuration AFM analyzes the current situation and uses the most recently discovered status to create a base library. For each procedure, a screen displays the reference configuration or the most recently discovered status.
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
61
Figure 18. Reference Configuration
The Reference Configuration fields display current information and are not editable.
Status > Show last Status/Events Use Status > Show last Status/Events to display events and statuses. The most recently recorded status is listed and is only current if the AFM service is running.
Figure 19. Show last Status/Events
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
62
Run > MirrorView Failover Use Run > MirrorView Failover to initiate a manual failover in a MirrorView environment. This menu selection is only active when the environment is configured for MirrorView.
Figure 20. MirrorView Failover
The failover must be confirmed by the user:
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
63
Run > MirrowView Restore Use Run > MirrorView Restore to perform a restore or failback in a MirrorView environment.
Restore depends on the Failover Blocking bit that is on by default on the Global Settings tab as shown in Figure 5 on page 41. With Failover Blocking on, automatic failover is disabled.
If Failover Blocking is off, the AFM system is set for automatic failover and restore cannot be performed. Before the restore may proceed, a confirmation screen appears:
Click Yes to set the Failover Blocking bit and disable automatic failover.
If the AFM is performing in a normal production mode, a confirmation dialog box appears.
Click Yes to confirm and continue the restore.
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
64
Figure 21 shows the restore screen that appears in the MirrorView environment.
Figure 21. MirrorView Restore
Click Execute:RESTORE to perform the restore.
NOTE: After the environment has been restored and is running in its original configuration, the Failover Blocking box can be unchecked to re-enable automatic failover.
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
65
Run > RecoverPoint Failover Use Run > RecoverPoint Failover to initiate a manual failover in a RecoverPoint environment. This menu selection is only active when the environment is configured for RecoverPoint.
Figure 22. RecoverPoint Failover
The failover must be confirmed by the user.
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
66
Run > RecoverPoint Restore Use Run > RecoverPoint Restore to perform a restore or failback in a RecoverPoint environment.
Restore depends on the Failover Blocking bit that is on by default on the Global Settings tab as shown in Figure 5 on page 41. With Failover Blocking on, automatic failover is disabled.
If Failover Blocking is off, the AFM system is set for automatic failover and restore cannot be performed. Before the restore may proceed, a confirmation screen appears:
Click Yes to set the Failover Blocking bit and disable automatic failover.
If the AFM is performing in a normal production mode, a confirmation dialog box appears.
Click Yes to confirm and continue the restore.
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
67
Figure 23 shows the restore screen that appears in the RecoverPoint environment.
Figure 23. RecoverPoint Restore
The two restore options are:
• Prepare Resync only
Resync will run for a long time if the amount of data grows large and failback can only occur after a full resync. This option runs resync only so that failback can be performed separately at another time.
• Prepare Resync and Failback
After resyncing data, this option performs a failback to completely restore the RecoverPoint.
Click Execute: RESTORE to perform the restore.
NOTE: After the environment has been restored and is running in its original configuration, the Failover Blocking box can be unchecked to re-enable automatic failover.
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
68
Run > Automated Failover Use Run > Automated Failover to manage and check the status of the AFM service.
Table 18. Automated Failover selections
Selection Description
Background Service Manage the AFM service.
Current State/Log Display current AFM logfiles.
Run > Automated Failover> Background Service
Figure 24. Automated Failover > Background Service
Use Run > Automated Failover > Background Service to display the current state of the AFM Service.
• Click START to start the AFM service.
• Click STOP to stop the AFM service.
• Click Refresh to refresh the status display.
• Click OK to exit the screen.
If the AFM service is stopped, it will not start automatically when Windows is rebooted.
Graphical User Interface
EMC Automated Failover Manager Version 1.0 User Guide
69
Run > Automated Failover > Current State/Log Figure 25 displays the current operating state and the current logfile of the AFM Service.
Figure 25. Automated Failover > Current State/Log
Click Start Refreshing to continually refresh the logfile display. The logfile lists the most recent entry at the top.
Click OK to exit the screen.
EMC Automated Failover Manager Version 1.0 User Guide
71
Appendix B AFM events, directories, and utilities
This appendix presents the following topics:
AFM events ................................................................................................ 72
AFM directory structure .............................................................................. 73
Grab utility ................................................................................................ 74
emcadm utility ........................................................................................... 75
AFM events, directories, and utilities
EMC Automated Failover Manager Version 1.0 User Guide
72
AFM events Use the event list to interpret events.
event_1 = Remote/Network-IP for Arbitrator-Isolation-Detection NOT reachable. event_2 = Primary ControlStation NOT reachable. event_3 = Secondary ControlStation NOT reachable. event_4 = Primary VNX SP-A NOT reachable. event_5 = Primary VNX SP-B NOT reachable. event_6 = Secondary VNX SP-A NOT reachable. event_7 = Secondary VNX SP-B NOT reachable. event_8 = LUN-Configuration on Primary-Site DIFFERS from last known Configuration. event_9 = Primary LUN(s) with ERROR condition. event_10 = Primary LUN(s) with DEGRADED condition. event_11 = LUN-Configuration on Secondary-Site DIFFERS from last known Configuration. event_12 = Secondary LUN(s) with ERROR condition. event_13 = Secondary LUN(s) with DEGRADED condition. event_14 = DataMover (and their Standby) on Primary-Site NOT in OK-Condition. event_15 = DataMover (and their Standby) on Secondary-Site NOT in OK-Condition. event_16 = NAS-Service NOT reachable event_17 = NA event_18 = NA event_19 = NA event_20 = NA event_21 = NA event_22 = NA event_23 = Standby-ControlStation on PrimarySite NOT reachable event_24 = Standby-ControlStation on PrimarySite is active event_25 = Standby-ControlStation on SecondarySite NOT reachable event_26 = Standby-ControlStation on SecondarySite is active
AFM uses a decision matrix to analyze events. Each event is reported with a level and a status.
Table 19. Event level and status summary
Level Color Status Description
0 green OK There are no error conditions.
1,2,3,4,5,6,7,8
yellow WARNING There are error conditions that still allow operation on the primary system. The individual error conditions have to be checked. Suitable measures for repairing the errors have to be taken.
9 Red ERROR There are error conditions that make operation on the primary system impossible. The secondary system is completely available so a switchover to the secondary system is displayed.
AFM events, directories, and utilities
EMC Automated Failover Manager Version 1.0 User Guide
73
AFM directory structure Figure 26 shows the AFM installation directory and subdirectories. By default, AFM is installed in C:\Program Files\EMC\AFM.
Figure 26. Installation directory tree structure
Table 20 shows the location of AFM configuration and logs files found under C:\Program Files\EMC\AFM.
Table 20. AFM files
Fil Subdirectory
Configuration files config\nas_ap
emcadm.exe emcadm2\bin
Log files emcadm2\log
Log files log
Support directory for afm_grab utility When the afm_grab utility is run, a subdirectory C:\Program Files\EMC\AFM\support is created. Table 21 shows the location of afm_grab configuration and log files.
Table 21. afm_grab files
File Subdirectory
Configuration files arbitrator\config\nas_ap
Configuration files emcadm2\config
Log files arbitrator\log
Log files emcadm2\log
AFM events, directories, and utilities
EMC Automated Failover Manager Version 1.0 User Guide
74
Grab utility The grab utility automatically collects data that can be used to troubleshoot AFM. The utility is in the AFM installation directory and is run from the command line.
For example if the installation directory is EMC\AFM, the command is:
C:\Program Files\EMC\AFM\bin\afm_grab.exe -d config\nas_ap -p nasadmin -r admin
Log files are written to subdirectories in C:\ProgramFiles\EMC\AFM\support.
After running the grab utility, zip the contents of the subdirectory and e-mail the file to EMC Customer Support along with log files from VNX, MirrorView, and RecoverPoint, as applicable
Output of afm_grab utility Output from the afm_grab utility looks similar to the output generated by running Status > Discover. An example of running afm_grab on an AFM system implemented with MirrorView is as follows:
c:\Program Files\EMC\AFM\bin C:\Program Files\EMC\AFM\bin>afm_grab.exe -d config\nas_ap -p nasadmin -r admin EMC Deutschland GmbH AFMgrab (1.00.00) ==================== Execute >mkdir C:\PROGRA~1\EMC\AFM\support < ... Execute >mkdir C:\PROGRA~1\EMC\AFM\support\arbitrator < ... Execute >mkdir C:\PROGRA~1\EMC\AFM\support\arbitrator\config\nas_ap < ... Execute >mkdir C:\PROGRA~1\EMC\AFM\support\arbitrator\log < ... Execute >mkdir C:\PROGRA~1\EMC\AFM\support\emcadm2 < ... Execute >mkdir C:\PROGRA~1\EMC\AFM\support\emcadm2\log < ... Execute >mkdir C:\PROGRA~1\EMC\AFM\support\emcadm2\config < ... Execute >copy C:\PROGRA~1\EMC\AFM\log\*.* C:\PROGRA~1\EMC\AFM\support\arbitrator \log < ... Execute >copy C:\PROGRA~1\EMC\AFM\config\nas_ap\*.* C:\PROGRA~1\EMC\AFM\support\ arbitrator\config\nas_ap < ... Execute >copy C:\PROGRA~1\EMC\AFM\emcadm2\log\*.* C:\PROGRA~1\EMC\AFM\support\em cadm2\log < ... Execute >copy C:\PROGRA~1\EMC\AFM\emcadm2\config\*.* C:\PROGRA~1\EMC\AFM\support \emcadm2\config < ... Execute >ping -n 3 10.241.216.242< ... Execute >ping -n 3 10.241.216.239 < ... Execute >ping -n 3 10.241.216.232 < ... Execute >ping -n 3 10.241.216.240 < ... Execute >ping -n 3 10.241.216.241 < ... Execute >ping -n 3 10.241.216.233 < ... Execute >ping -n 3 10.241.216.234 < ... Execute >plink -l nasadmin -pw nasadmin 10.241.216.239 NAS_DB=/nas;export NAS_DB
AFM events, directories, and utilities
EMC Automated Failover Manager Version 1.0 User Guide
75
;/nas/bin/nas_fs -info -all< ... Execute >plink -l nasadmin -pw nasadmin 10.241.216.232 NAS_DB=/nas;export NAS_DB ;/nas/bin/nas_fs -info -all< ... Execute >plink -l nasadmin -pw nasadmin 10.241.216.239 NAS_DB=/nas;export NAS_DB ;/nas/bin/nas_server -info -all< ... Execute >plink -l nasadmin -pw nasadmin 10.241.216.232 NAS_DB=/nas;export NAS_DB ;/nas/bin/nas_server -info -all< ... The syntax of the command is incorrect. The syntax of the command is incorrect. Info: no IP-address reachable. Execute >naviseccli -h 10.241.216.240 getall< ... Execute >naviseccli -h 10.241.216.233 getall< ... Execute >naviseccli -h 10.241.216.240 storagegroup -list -gname ~filestorage< .. . Execute >naviseccli -h 10.241.216.233 storagegroup -list -gname ~filestorage< .. . Exit with 0 -------------------------------------------------------
emcadm utility emcadm is a troubleshooting utility that can check administrative details such as, the AFM version and storage information on source or destination systems.
All output is written to:
C:\Program Files\EMC\AFM\emcadm2\log\emcadm.<YYYYMMDD>.log
Where YYYY is the year, MM is the month, and DD is the day.
An example of running emcadm on an AFM system implemented with MirrorView is as follows.
C:\Program Files\EMC\AFM\emcadm2\bin>emcadm EMCADM/2> START (by User: Administrator on r300-216188) ------------------------------------------------------------------ EMC - where information lives... emcadm/2 *** E M C *** M2.02.13 M00 : Main Menu Feb 14 09:22:27 ------------------------------------------------------------------ 1 - ObjectManagement 2 - Replication: Snap 3 - Replication: BCV 4 - Replication: Clone 5 - Replication: RemoteMirror S - Replication: SRDF/STAR 6 - SAN-based Copy
AFM events, directories, and utilities
EMC Automated Failover Manager Version 1.0 User Guide
76
7 - Storage-specific 8 - Meta-Data 9 - Environment/Storage-CFG E - Exit Your Input: -------------------------------------------
Example output of emcadm for a VNX5300 running with MirrorView C:\Program Files\EMC\AFM\emcadm2\bin>emcadm -f stor_cfg -s vnx5300 EMCADM/2> START (by User: Administrator on r300-216188) ------------------------------------------------------------------ STOR_CFG: EMCADM/2-Storage-Configuration ------------------------------------------------------------------ StorageSystem (ID or Alias): vnx5300 EMCADM/2> === Start STOR_CFG === EMCADM/2> Options: function: STOR_CFG, s: vnx5300, f: MULTI_OPERATING EMCADM/2> INF r300-216188 - Storage vnx5300 with ID: FNM00104600113 found EMCADM/2> INF r300-216188 - Command >naviseccli -h 10.241.216.233 getlun< with R eturn >0< EMCADM/2> INF r300-216188 - Scan of new configuration was OK EMCADM/2> INF r300-216188 - Check Devices, please be patient... EMCADM/2> INF r300-216188 - New Device 0 present EMCADM/2> INF r300-216188 - New Device 1 present EMCADM/2> INF r300-216188 - Actual Configuration checked and seems to be OK EMCADM/2> INF r300-216188 - Collect Physical Informations... EMCADM/2> INF r300-216188 - Build Target Storage Configuration Set... EMCADM/2> INF r300-216188 - Configuration for Storage vnx5300 written to file EMCADM/2> === End STOR_CFG (0) === EMCADM/2> END (Exitcode: 0) ---------------------------------------
Example output of emcadm for a VNX5700 running with MirrorView C:\Program Files\EMC\AFM\emcadm2\bin>emcadm -f stor_cfg -s vnx5700 EMCADM/2> START (by User: Administrator on r300-216188) ------------------------------------------------------------------ STOR_CFG: EMCADM/2-Storage-Configuration ------------------------------------------------------------------ StorageSystem (ID or Alias): vnx5700 EMCADM/2> === Start STOR_CFG === EMCADM/2> Options: function: STOR_CFG, s: vnx5700, f: MULTI_OPERATING
AFM events, directories, and utilities
EMC Automated Failover Manager Version 1.0 User Guide
77
EMCADM/2> INF r300-216188 - Storage vnx5700 with ID: FNM00104900065 found EMCADM/2> INF r300-216188 - Command >naviseccli -h 10.241.216.240 getlun< with R eturn >0< EMCADM/2> INF r300-216188 - Scan of new configuration was OK EMCADM/2> INF r300-216188 - Check Devices, please be patient... EMCADM/2> INF r300-216188 - New Device 3 present EMCADM/2> INF r300-216188 - New Device 2 present EMCADM/2> INF r300-216188 - Actual Configuration checked and seems to be OK EMCADM/2> INF r300-216188 - Collect Physical Informations... EMCADM/2> INF r300-216188 - Build Target Storage Configuration Set... EMCADM/2> INF r300-216188 - Configuration for Storage vnx5700 written to file EMCADM/2> === End STOR_CFG (0) === EMCADM/2> END (Exitcode: 0)