среда, 26 сентября 2012 г.

Vmware SRM: ошибка при настройке репликации VR

В связи с появлением еще одного продукта в сфере деятельности в блоге появляется еще один tag - SRM.

Если при настройке репликации VM появляется ошибка VR server localhost.localdom has no hosts through which to access destination datastore, то должны помочь следующие действия:

  • Connect to the VRMS database at the Recovery Site using SQL Management Studio.
  • Right-click the VRMS database and click New Query.
  • Run this query to determine if any hosts are marked as Unsupported:

    To query hosts that are not associated with a VR server:

    select * from HostEntity h where state=4 and not exists (select * from HbrHostEntity where h.vcMoId=HbrHostEntity.vcHost_vcMoId)
    To query hosts that are associated with a VR server:

    select * from HostEntity h where state=4 and exists (select * from HbrHostEntity where h.vcMoId=HbrHostEntity.vcHost_vcMoId)
    This query returns a host ID. You can use the vCenter MOB to identify the host using the host ID.
  • Run this query to perform a cleanup:

    To clean up Unsupported records for hosts that are not associated with a VR server:

    delete from HostEntity where state=4 and not exists (select * from HbrHostEntity where vcMoId=HbrHostEntity.vcHost_vcMoId)
    To change the state of hosts that are tagged as Unsupported and associated with a VR server to ACTIVE:

    update HostEntity set state=1 where state=4 and exists (select * from HbrHostEntity where vcMoId=HbrHostEntity.vcHost_vcMoId)
  • Restart the VRMS server at the Recovery site.
  • Re-enable HBR for the virtual machine.
  • Комментариев нет:

    Отправить комментарий