EMC SYMCLI commands are not connecting to the EMC SYMAPI remote server or taking a long time to complete

book

Article ID: 100061336

calendar_today

Updated On:

Description

Error Message


The following errors imply there are problems with accessing the SYMCLI (SYMAPI) servers:

Sample /var/VRTSvcs/log/SRDF_A.log
 

2023/11/29 17:33:44 VCS DBG_3 SRDF:test_srdf:monitor:run_cmd: Issuing cmd: [/opt/VRTSvcs/bin/hasys -nodeid] 
2023/11/29 17:33:44 VCS DBG_3 SRDF:test_srdf:monitor:run_cmd: Issuing cmd: [/opt/VRTSvcs/bin/hares -state test_srdf ] 
2023/11/29 17:33:44 VCS DBG_2 SRDF:test_srdf:monitor:FindMode:Resource is not online in any of the cluster. Cannot compute RPO. 
2023/11/29 17:33:44 VCS DBG_2 SRDF:test_srdf:monitor:MainLoop: Could not find the mode. Not doing anything in this iteration. 
2023/11/29 17:33:44 VCS DBG_4 SRDF:test_srdf:monitor:[monitor]: ExtendMonitor set to null or is not defined. Nothing to perform 
2023/11/29 17:33:45 VCS DBG_AGDEBUG script (/opt/VRTSvcs/bin/SRDF/monitor) exited with status (100)

 

 

Cause


Ensure the remote SYMAPI server is able to receive SYMCLI commands from the required host.


Production Server


The following EMC SYMCLI environment variables must be defined in the command shell on the production server. 

prod # export SYMCLI_CONNECT=SYMAPI_SERVER
prod # export SYMCLI_CONNECT_TYPE=REMOTE
 

prod # symdg list
The remote connection is refused. The symapi server is probably not running.
 

prod # cd /var/symapi/config

 The netcnfg file contains the SYMAPI server details.

 

Remote SYMAPI Server


The EMC storsrvd  stordaemon must be running on the remote SYMAPI (SYMCLI) server for remote SYMCLI requests to be processed.

 

symapi # stordaemon start storsrvd
  Waiting for daemon to start.  This may take several seconds.

symapi # 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
[*] storwatchd            EMC Solutions Enabler Watchdog Daemon
    storsrmd              EMC Solutions Enabler SRM Daemon

    storora64d            EMC Solutions Enabler SRM Oracle Daemon, 64-bit
    storstpd              EMC Solutions Enabler STP Daemon
[*] storsrvd              EMC Solutions Enabler SYMAPI Server Daemon



 

Resolution


Ensure the remote SYMAPI server is able to receive SYMCLI commands from the required host.

Edit the  /var/symapi/config/netcnfg file with the required SYMAPI server details.
 

Sample SRDF resource entry defined in the /etc/VRTSvcs/conf/config/main.cf
 

  SRDF LINUXSRDF (
      GrpName = DATADG
      SymapiServers = { SYMAPI_SERVER }
      SymHome = "/opt/emc/SYMCLI"
  )


Note: If the EMC storsrvd daemon is shutdown on the remote SYMCLI (SYMAPI) server, the remote SYMCLI command requests will fail.

 

Issue/Introduction

EMC SYMCLI commands are not connecting to the EMC SYMAPI (SYMCLI) remote server or taking a long time to complete. Where a system is connected to an EMC array and the server does not have EMC Gatekeeper devices provisioned, the required SYMCLI requests can be issued to a remote SYMAPI (SYMCLI) management server.
Figure 1.0

The EMC configuration file /var/symapi/config/netcnfg needs to be populated with the remote SYMCLI (SYMAPI) server details.
# cat /var/symapi/config/netcnfg SYMAPI_SERVER Ordered TCPIP <SYMCLI-hostname> <IP-address> 2707 SECURE
SYMAPI_SERVER Ordered TCPIP <SYMCLI-hostname> <IP-address> 2707 SECURE

SYMAPI_ORDERED Ordered TCPIP <SYMCLI-hostname> <IP-address> 2707 SECURE
SYMAPI_ORDERED Ordered TCPIP <SYMCLI-hostname> <IP-address> 2707 SECURE