locked
RPC server is unavailable. (Exception from HRESULT: 0x800706BA) Lync Server 2013 Mirroring Configuration RRS feed

  • Question

  • Hi,

    I am trying to Configure Mirroring in Lync server 2013, when in am selecting Install Database in Topology builder im able to install the Database in Principal but failing while installing the Mirroring following the detail.

    ▼ Install-CsMirrorDatabase         Failed 

     └    Connection: Data Source=BPDBLSQWMV01.domain.com\IMPRINCIPAL;Failover Partner=BPDBLSQWMV02.domain.com\IMMIRROR;Initial Catalog=xds;Integrated Security=True   23-01-2014 22:53:34     

     └ ▼ InstallMirrorDatabaseCmdlet.StartMirroring      23-01-2014 22:53:34   Failed 

         └    Error: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) 
    ▼ Details 
    └ Type: COMException 
    └ ▼ Stack Trace 
        └   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) 
    at System.Management.ManagementScope.InitializeGuts(Object o) 
    at System.Management.ManagementScope.Initialize() 
    at Microsoft.Rtc.Management.Deployment.MirrorUtils.GetSqlServerAccount(String server, String instanceName) 
    at Microsoft.Rtc.Management.Deployment.TopologyParser.PopulateDatabasesForSqlInstance(ISqlInstance sqlInstance) 
    at Microsoft.Rtc.Management.Deployment.TopologyParser.FindDatabasesForMachine(IMachine machine) 
    at Microsoft.Rtc.Management.Deployment.TopologyParser.FindDatabasesForFqdn() 
    at Microsoft.Rtc.Management.Deployment.TopologyParser.GetDbListToMirror() 
    at Microsoft.Rtc.Management.Deployment.TopologyParser.get_DbInfoList() 
    at Microsoft.Rtc.Management.Deployment.InstallMirrorDatabaseCmdlet.StartMirroring() 
    at Microsoft.Rtc.Management.Internal.Utilities.LogWriter.InvokeAndLog(Action action) 
     
     
       23-01-2014 22:54:16   Error 

     └    Error: An error occurred: "System.Runtime.InteropServices.COMException" "The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)"   23-01-2014 22:54:16   Error 

    Firewall is turned off and can able to configure Mirroring Manually in SQL Server by creating a test database. 

    ▼ Install-CsMirrorDatabase         Failed 

     └    Connection: Data Source=BPDBLSQWMV01.domain.com\IMPRINCIPAL;Failover Partner=BPDBLSQWMV02.domain.com\IMMIRROR;Initial Catalog=xds;Integrated Security=True   23-01-2014 22:53:34     

     └ ▼ InstallMirrorDatabaseCmdlet.StartMirroring      23-01-2014 22:53:34   Failed 

         └    Error: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) 
    ▼ Details 
    └ Type: COMException 
    └ ▼ Stack Trace 
        └   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) 
    at System.Management.ManagementScope.InitializeGuts(Object o) 
    at System.Management.ManagementScope.Initialize() 
    at Microsoft.Rtc.Management.Deployment.MirrorUtils.GetSqlServerAccount(String server, String instanceName) 
    at Microsoft.Rtc.Management.Deployment.TopologyParser.PopulateDatabasesForSqlInstance(ISqlInstance sqlInstance) 
    at Microsoft.Rtc.Management.Deployment.TopologyParser.FindDatabasesForMachine(IMachine machine) 
    at Microsoft.Rtc.Management.Deployment.TopologyParser.FindDatabasesForFqdn() 
    at Microsoft.Rtc.Management.Deployment.TopologyParser.GetDbListToMirror() 
    at Microsoft.Rtc.Management.Deployment.TopologyParser.get_DbInfoList() 
    at Microsoft.Rtc.Management.Deployment.InstallMirrorDatabaseCmdlet.StartMirroring() 
    at Microsoft.Rtc.Management.Internal.Utilities.LogWriter.InvokeAndLog(Action action) 


       23-01-2014 22:54:16   Error 

     └    Error: An error occurred: "System.Runtime.InteropServices.COMException" "The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)"   23-01-2014 22:54:16   Error 

      
    Friday, January 24, 2014 4:55 AM

Answers

  • Hi,

    - Check if you are able to Ping the Mirror SQL Server from Lync Front End server

    - Basics such as Windows Firewall turned Off or created exemption to allow the SQL Server traffic (TCP 1433 and UDP 1434 Inbound)

    - Read/Write permission for DB File share?

    • Proposed as answer by Lisa.zheng Wednesday, January 29, 2014 5:58 AM
    • Marked as answer by Lisa.zheng Friday, January 31, 2014 9:20 AM
    Friday, January 24, 2014 8:55 AM
  • Which version of SQL are you running. Not all versions of SQL are using the default of 1433 tcp any more. It might be set up as dynamic in 2012: http://technet.microsoft.com/en-us/library/ms177440.aspx


    Lasse Wedø,
    Blog:Tech@work, Twitter: @lawedo

    Please take a second to hit the green arrow on the left if the post was helpful, or mark it as an answer if it resolved your issue.

    • Proposed as answer by Lisa.zheng Wednesday, January 29, 2014 5:58 AM
    • Marked as answer by Lisa.zheng Friday, January 31, 2014 9:20 AM
    Friday, January 24, 2014 9:23 AM
  • "The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)" error may occurs.There can be a few reasons for this error:
    1. It was an issue with RPC ports, verify Firewall opened the full range and Try to run setup completed.
    2. The remote computer is blocked by the firewall.
      Solution: Open the Group Policy Object Editor snap-in (gpedit.msc) to edit the Group Policy object (GPO) that is used to manage Windows Firewall settings in your organization. Open Computer Configuration, open Administrative Templates, open Network, open Network Connections, open Windows Firewall, and then open either Domain Profile or Standard Profile, depending on which profile you want to configure. Enable the following exception: "Allow Remote Administration Exception" and "Allow File and Printer Sharing Exception".
    3. Host name or IP address is wrong or the remote computer is shutdown.
      Solution: Verify correct host name or IP address.
    4. The "TCP/IP NetBIOS Helper" service isn't running.
      Solution: Verity that "TCP/IP NetBIOS Helper" is running and set to auto start after restart.
    5. The "Remote Procedure Call (RPC)" service is not running on the remote computer.
      Solution: Verity that "Remote Procedure Call (RPC)" is running and set to auto start after restart and.
    6. The "Windows Management Instrumentation" service is not running on the remote computer.
      Solution: Verity that "Windows Management Instrumentation" is running and set to auto start after restart.

    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    • Proposed as answer by Lisa.zheng Wednesday, January 29, 2014 5:58 AM
    • Marked as answer by Lisa.zheng Friday, January 31, 2014 9:20 AM
    Friday, January 24, 2014 2:17 PM
  • Guys, thank's for Support. The port range 49152-49156 was not opened and after confirming the ports are opened the database installed successfully.

    aslam

    • Proposed as answer by muhammed27aslam Thursday, January 30, 2014 5:54 AM
    • Marked as answer by Lisa.zheng Friday, January 31, 2014 9:20 AM
    Thursday, January 30, 2014 5:54 AM

All replies

  • Hi,

    - Check if you are able to Ping the Mirror SQL Server from Lync Front End server

    - Basics such as Windows Firewall turned Off or created exemption to allow the SQL Server traffic (TCP 1433 and UDP 1434 Inbound)

    - Read/Write permission for DB File share?

    • Proposed as answer by Lisa.zheng Wednesday, January 29, 2014 5:58 AM
    • Marked as answer by Lisa.zheng Friday, January 31, 2014 9:20 AM
    Friday, January 24, 2014 8:55 AM
  • Which version of SQL are you running. Not all versions of SQL are using the default of 1433 tcp any more. It might be set up as dynamic in 2012: http://technet.microsoft.com/en-us/library/ms177440.aspx


    Lasse Wedø,
    Blog:Tech@work, Twitter: @lawedo

    Please take a second to hit the green arrow on the left if the post was helpful, or mark it as an answer if it resolved your issue.

    • Proposed as answer by Lisa.zheng Wednesday, January 29, 2014 5:58 AM
    • Marked as answer by Lisa.zheng Friday, January 31, 2014 9:20 AM
    Friday, January 24, 2014 9:23 AM
  • "The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)" error may occurs.There can be a few reasons for this error:
    1. It was an issue with RPC ports, verify Firewall opened the full range and Try to run setup completed.
    2. The remote computer is blocked by the firewall.
      Solution: Open the Group Policy Object Editor snap-in (gpedit.msc) to edit the Group Policy object (GPO) that is used to manage Windows Firewall settings in your organization. Open Computer Configuration, open Administrative Templates, open Network, open Network Connections, open Windows Firewall, and then open either Domain Profile or Standard Profile, depending on which profile you want to configure. Enable the following exception: "Allow Remote Administration Exception" and "Allow File and Printer Sharing Exception".
    3. Host name or IP address is wrong or the remote computer is shutdown.
      Solution: Verify correct host name or IP address.
    4. The "TCP/IP NetBIOS Helper" service isn't running.
      Solution: Verity that "TCP/IP NetBIOS Helper" is running and set to auto start after restart.
    5. The "Remote Procedure Call (RPC)" service is not running on the remote computer.
      Solution: Verity that "Remote Procedure Call (RPC)" is running and set to auto start after restart and.
    6. The "Windows Management Instrumentation" service is not running on the remote computer.
      Solution: Verity that "Windows Management Instrumentation" is running and set to auto start after restart.

    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    • Proposed as answer by Lisa.zheng Wednesday, January 29, 2014 5:58 AM
    • Marked as answer by Lisa.zheng Friday, January 31, 2014 9:20 AM
    Friday, January 24, 2014 2:17 PM
  • Guys, thank's for Support. The port range 49152-49156 was not opened and after confirming the ports are opened the database installed successfully.

    aslam

    • Proposed as answer by muhammed27aslam Thursday, January 30, 2014 5:54 AM
    • Marked as answer by Lisa.zheng Friday, January 31, 2014 9:20 AM
    Thursday, January 30, 2014 5:54 AM