Error Code 13:29 Unable to Communicate with CommServe

Article ID: CVD0001 Backup jobs go pending/fail with intermittent connectivity issue.

Symptom

Event viewer and Job Details may report various reasons for job failure.  In the CommServe JobManager.log file you may see:

[Unable to communicate with CommServe on host [ ]. Please check the network connectivity between the Client and CommServe, and verify this product's Communication Service is running on the CommServe.]::Client [ ] Application [ ] Message Id [ ] RCID [0] ReservationId [0]. Level [0] flags [0] id [0] overwrite [0] append [0] CustId[0].

The cvfwd.log may show

3772: [Date/Time]: T00002 C00096 Client connection to [host:port/port] failed: ConnectEx() to failed: Invalid argument 

 

Cause

The CommServe host and Commvault Software requires a number of free dynamic ports in order to communicate internally and externally.  Firewall and other security actions/settings may inadvertantly restrict the range/availability of internal free dynamic ports resulting in insufficient free ports to handle all communication requirements. A job phase/operation that cannot acquire a free dynamic port will cause the job/operation to fail.

Resolution

The Commvault network module places restrictions only on external connection when Commvault firewall configuration is enabled. So if you have 100 external clients you will have 100 external connections using 100 ports. But for all internal processes there should be no restriction as it can potentially severely impact the performance.

Commvault software expects the full range of 16K dynamic ports given by the OS is available for internal communication.

To resolve the issue.

  1. Confirm with CVPING that the Commserve and clients services are running/listening correctly and that DNS resolution is correct.
  2. Identify the current port limit on the hosts (CommServe, MediaAgent, and Client)

netsh int ipv4 show dynamicport tcp

netsh int ipv4 show dynamicport udp

  1. If less then full range (16284) of dynamic ports is available, we recommend increasing the number of TCP& UDP dynamic ports to at least 15000 ports.

netsh int ipv4 set dynamicport tcp start=5000 num=15000

netsh int ipv4 set dynamicport udp start=5000 num=15000