SRDF SRA Error while adding Array pair in SRM: SRA command 'discoverArrays' failed. Failed to connect to the array management host
Summary: SRDF Replication Adapter (SRA) command 'discoverArrays' failed. Failed to connect to the array management host. Please check EmcSrdfSra logs for more information on the error.
Symptoms
While adding an array pair using SRDF Replication Adapter (SRA) in SRM UI, received the error:"SRA command 'discoverArrays' failed. Failed to connect to the array management host. Please check EmcSrdfSra logs for more information on the error."
Additional Information about the configuration where this issue was seen:
- vCenter version: 6.7
- SRM version: 8.4
- SRA version: 9.2.1
- Solutions Enabler version on SRM: 9.2.1
- SYMAPI version: 9.2.1
Cause
It was found out that the SYMAPI session could not be initialized from the SRM Client to the SYMAPI server due to the error, "The remote connection is refused. The SYMAPI server is probably not running."
Error found in EmcSrdfSra.log:
[07/21 06:13:53.779 5264 366 MessageFormatter::setMarker ] _______Backtrace end_______
[07/21 06:13:53.779 5264 33 SymapiSession::SymapiSession ] [ERROR]: Failed to initialize Symapi session
[07/21 06:13:53.779 5264 366 MessageFormatter::setMarker ] _______Backtrace begin_______
[07/21 06:13:53.779 5264 264 SymapiSession::Init ] Exit
[07/21 06:13:53.779 5264 366 MessageFormatter::setMarker ] _______Backtrace end_______
[07/21 06:13:53.779 5264 590 SymmUtil::DisplaySEVersion ] [ERROR]: The remote connection is refused. The symapi server is probably not running.
[07/21 06:13:53.779 5264 366 MessageFormatter::setMarker ] _______Backtrace begin_______
[07/21 06:13:53.779 5264 664 SymmUtil::GetSEVersion ] Exit
This is due to the storsrvd daemon not running on the SYMAPI server.
stordaemon list
Available Daemons ('[*]': Currently Running):
[*] storapid EMC Solutions Enabler Base Daemon
[*] storgnsd EMC Solutions Enabler GNS Daemon
[*] storrdfd EMC Solutions Enabler RDF Daemon
[*] storevntd EMC Solutions Enabler Event Daemon
[*] storsrmd EMC Solutions Enabler SRM Daemon
stororad EMC Solutions Enabler SRM Oracle Daemon
storsqld EMC Solutions Enabler SRM SQL Daemon
storstpd EMC Solutions Enabler STP Daemon
storsrvd EMC Solutions Enabler SYMAPI Server DaemonResolution
SRM acts as a client to the SYMAPI server, so the storsrvd daemon must be running on the SYMAPI server. To work around this issue:
- Start the storsrvd daemon on the SYMAPI server:
Stordaemon start storsrvd - Perform the "Add" Array Pair operation in the SRM UI