คำตอบ Can't add Xenserver to SCVMM

  • 8 มิถุนายน 2555 14:55
     
     

    I'm attempting to add a freshly installed Xenserver version 6.0.2 to SCVMM. The Integration Supplemental package was installed when the xenserver was built.

    When I add the xenserver to VMM The following error is produced:

    Error (2927)
    A Hardware Management error has occurred trying to contact server admin-xentest.domain.local  .
    Unknown error (0x803380df)

    Recommended Action
    Check that WinRM is installed and running on server admin-xentest.domain.local. For more information use the command "winrm helpmsg hresult".

    I've verified that the certificate on the Xenserver has a CN which matches "admin-xentest.domain.local".

    I've also run

    winrm enum http://schemas.citrix.com/wbem/wscim/1/cim-schema/2/Xen_HostComputerSystem -r:https://admin-xentest:5989 -encoding:utf-8 -a:basic -u:”root” -p:”MyPassword” -skipcacheck -skipcncheck

    And I get the following output:

    WSManFault
        Message = The WinRM client cannot process the request. Basic authentication
    is currently disabled in the client configuration. Change the client configurati
    on and try the request again.

    Error number:  -2144108321 0x803380DF
    The WinRM client cannot process the request. Basic authentication is currently d
    isabled in the client configuration. Change the client configuration and try the
     request again.

    I've attempted to search for the above errors and I can't find any solutions. 

ตอบทั้งหมด

  • 8 มิถุนายน 2555 15:36
    ผู้ดูแล
     
     คำตอบ

    Your SCVMM Server has Basic authentication disabled.

    WSManFault
        Message = The WinRM client cannot process the request. Basic authentication
    is currently disabled in the client configuration. Change the client configurati
    on and try the request again.

    Try HTTPS.  Or enable Basic authenticaiton for WinRM on the SCVMM Server.

    At an elevated command prompt (run as Administrator)

    • winrm quickconfig
    • winrm p winrm/config/client @{AllowUnencrypted="true"}
    • winrm p winrm/config/client/auth @{Basic="true"}

    A tip - the best / easiest results are when you name your XenSErver at instalaltion with the name that you intend to give it in DNS.  (assign a name in DNS, build the XenServer giving it this name during the installation).


    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.
    Disclaimer: Attempting change is of your own free will.

    • ทำเครื่องหมายเป็นคำตอบโดย TheWaker1 8 มิถุนายน 2555 19:37
    •  
  • 8 มิถุนายน 2555 18:15
     
     

    After enabling unencrypted and basic auth for winrm and attempting the test again I get:

    Message = The WinRM client received an HTTP status code of 501 from the remo
    te WS-Management service.

    Error number:  -2144108273 0x8033810F
    The WinRM client received an unknown HTTP status code from the remote WS-Managem
    ent service.

    I assume that means the Integration is not working correctly? The output from SCVMM when attempting to add the server is as follows:

    Error (2916)
    VMM is unable to complete the request. The connection to the agent ADMIN-XENTEST.domain.local was lost.
    Unknown error (0x8033810f)

    Recommended Action
    Ensure that the WS-Management service and the agent are installed and running and that a firewall is not blocking HTTPS traffic.

    This problem can also be caused by WMI service crash. Ensure that KB 982293 (http://support.microsoft.com/kb/982293) is installed on the machine if it is running Windows Server 2008 R2.

    If the error persists, reboot ADMIN-XENTEST.domain.local and then try the operation again.


    • แก้ไขโดย TheWaker1 8 มิถุนายน 2555 18:16 format
    •  
  • 8 มิถุนายน 2555 18:35
    ผู้ดูแล
     
     

    I assume that you added the DNS entry for the XenServer?

    And that your revision of the Integration Tools for XenServer parallel its release level?  (it is release bound)


    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.
    Disclaimer: Attempting change is of your own free will.

  • 8 มิถุนายน 2555 18:40
     
     
    I have the DNS entry, and the install of Xenserver is 6.0.2 as well as the Integration component. I can do a quick reinstall to ensure there are no issues.
  • 8 มิถุนายน 2555 19:37
     
     คำตอบ

    I reinstalled again, but received the same error as above, however I did some more searching and found that a Windows update KB causes WS-Management problems with Linux hosts. I removed KB2585542 as recommended in the following blog entry:

    http://outlookcloudy.blogspot.ca/2012/02/xenserver-hosts-in-vmm2012-stop.html

    I have now added my Xenserver successfully to SCVMM 2012.

    • ทำเครื่องหมายเป็นคำตอบโดย TheWaker1 8 มิถุนายน 2555 19:37
    •  
  • 28 มิถุนายน 2555 15:12
     
     
    Followed the information in the blog post, and it corrected my issues as well.  Definitely something MS will have to look into.