Troubleshooting

Connecting to SRM 5.5 server fails with the error “The remote server returned an error: (503) Server Unavailable.”

Hello People,

Its been a while I have not written any articles in the recent times, Encountered a interesting issue so thought of sharing it across , We witnessed a environment where customer had SRM 5.5 installed on a windows 2008 environment.

Connecting to SRM failed with a error “Lost connection to SRM Server X.X.X.X:8095

The server ‘X.X.X.X could not interpret the client’s request. (The remote server returned an error: (503) Server Unavailable.)

We encountered the above message while trying to connect via the vsphere client.

 

Since verifying the logs is the first thing we are good at. I went through the DR logs to check the cause of the issue.

 [06620 warning ‘LocalVC’ connID=vc-admin-22d0] Failed to connect: (vim.fault.InvalidLogin) {

–>    dynamicType = <unset>,

–>    faultCause = (vmodl.MethodFault) null,

–>    msg = “Received SOAP response fault from [<cs p:00000000054c4db0, TCP:ivlvcenter:80>]: login

–> Cannot complete login due to an incorrect user name or password.”,

[06612 info ‘Default’] CoreDump: Writing minidump

[06616 info ‘Default’] CoreDump: Writing minidump

User confirmed the administrator password was changed couple of days back. The same user was used during installation of SRM  on both the sites.

 

Possible ways we could encounter the above issue would be in these conditions

  • The Site Recovery Manager service may not be running. Check the services on the SRM server to be sure that the Site Recovery Manager Service is running.
  • Verify that the user account for Site Recovery Manager in Active Directory is not locked, the password for the user has not been changed since SRM was installed, and the password is set not to expire.

 

To rectify the issue we can fix this in two different ways.

  • In SRM 5.x, run the installer in the modify mode. This would allow you to enter the updated password and SRM would re-establish its connectivity with the vCenter

——————————————–OR————————————————–

  • Alternatively, you can change the stored password from the command line.To change the password on an SRM 5.x installation:
    1. Open an elevated command prompt on the SRM server.
    2. Navigate to your SRM Installation directory using the change directory command (cd).
      For example: cd C:\Program Files\VMware\VMware vCenter Site Recovery Manager\bin
    3. Run the command: srm-config.exe -cmd updateuser -cfg ..\config\vmware-dr.xml -u <userID>
    4. Follow the prompts from srm-config.exe to update the user credentials.
    5. Run the command services.msc to open Windows service manager.
    6. Select the VMware vCenter Site Recovery Manager Server service in the service manager utility and click Restart.

 

 

Once password was updated SRM resumed to connect successfully and we had one happy user.

Hope this article was helpful. Watch out for more.

 

 

 

 

Ritesh Shenoy
Hey, My name is Ritesh Shenoy working as a Senior Consultant for SAP. The goal of this blog is to contribute towards VMware community and make ones life better with necessary content in place!

Leave a Response