Results 1 to 9 of 9

Thread: how to force restart the hyperv timesync in SLES 11 sp3

  1. how to force restart the hyperv timesync in SLES 11 sp3

    Hi all,
    I have windows 2012 R2,hyper-v configured.And i have a SLES 11 SP3 Virtaul machine installed on hyper-V environment.I have a requirement related to Timesync between host machine(windows 2012 R2) or may be timesync between NTP server and VM(guest SLES 11 SP3).

    When the Linux VM system boots,the timesync is working fine.Suppose if I change the host machine Time(windows 2012 R2) to value different time.I see in the Linux VM,time sync is not happening.

    Is there a way to forcefully sync the time using any hyper-v service in Linux?

    I see when i reload(rmmod and modprobe) the the hv_utlity,the time sync is happening? is this the right way to force the timesync?

    Thank's in advance for any suggestions/inputs.

    Thanks & Regards,
    Sankar

  2. Re: how to force restart the hyperv timesync in SLES 11 sp3

    Hi
    So is the windows hyper-v system using ntp? As in syncing to for example pool.ntp.org.

    You have configured the ntp service via YaST to point at the hyper-v system?
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. Re: how to force restart the hyperv timesync in SLES 11 sp3

    Hi Malcolm,
    No windows hyperv is not using the NTP.We are not using the YasT to configure the ntp service.And also i have not yet tried on ntp case.Right now i am looking for guest and host time sync.
    And thanks Malcolm for responding to this thread.

    Regards,
    Sankar

  4. Re: how to force restart the hyperv timesync in SLES 11 sp3

    Quote Originally Posted by mundlafico View Post
    Hi Malcolm,
    No windows hyperv is not using the NTP.We are not using the YasT to configure the ntp service.And also i have not yet tried on ntp case.Right now i am looking for guest and host time sync.
    And thanks Malcolm for responding to this thread.

    Regards,
    Sankar
    Hi
    This may clarify then?
    http://blogs.msdn.com/b/virtual_pc_g...n-hyper-v.aspx

    So it's the vm rtc being synced not the OS as you would get via using ntp.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. Re: how to force restart the hyperv timesync in SLES 11 sp3

    Hi Malcolm,
    I need to executed certain timesync commands(windows commands) from my linux guest OS.Is there any way to find what is my host os name and ip/hostname from my guest linux system?

    Regards,
    Sankar

  6. Re: how to force restart the hyperv timesync in SLES 11 sp3

    On Wed 25 Jun 2014 05:14:01 AM CDT, mundlafico wrote:


    Hi Malcolm,
    I need to executed certain timesync commands(windows
    commands) from my linux guest OS.Is there any way to find what is my
    host os name and ip/hostname from my guest linux system?

    Regards,
    Sankar


    Hi
    For the vm you can get the ip address via the command ipconfig and the
    hostname via the hostname command. These however can both be configured
    via YaST Network devices.

    For the host, guess you mean the netbios name?

    --
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.1 Kernel 3.11.10-11-desktop
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!


  7. #7

    Re: how to force restart the hyperv timesync in SLES 11 sp3

    On 25/06/2014 12:22, malcolmlewis wrote:

    > For the vm you can get the ip address via the command ipconfig and the
    > hostname via the hostname command. These however can both be configured
    > via YaST Network devices.
    >
    > For the host, guess you mean the netbios name?


    I think Sankar is asking how to get the hostname and IP address of the
    Hyper-V host from the Linux guest?

    HTH.
    --
    Simon
    SUSE Knowledge Partner

    ------------------------------------------------------------------------
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below. Thanks.
    ------------------------------------------------------------------------

  8. Re: how to force restart the hyperv timesync in SLES 11 sp3

    Yes Simon,you are right. I tried the below options to find the hostaddress of the host machine.


    I download the hyper-v-5-0.7.10.x86_64.rpm and installed it on my SLES 11 SP3 VM.

    Then started the hv_kvp_daemon using /etc/init.d/hv_kvp_daemon start

    Then i can see the some .kvm-pool files under /var/lib/hyperv/

    One of the file contains the Host address of the host name.

    Thank you.

    Regards,
    Sankar

  9. #9

    Re: how to force restart the hyperv timesync in SLES 11 sp3

    On 25/06/2014 15:44, mundlafico wrote:

    > Yes Simon,you are right. I tried the below options to find the
    > hostaddress of the host machine.
    >
    >
    > I download the hyper-v-5-0.7.10.x86_64.rpm and installed it on my SLES
    > 11 SP3 VM.
    >
    > Then started the hv_kvp_daemon using */etc/init.d/hv_kvp_daemon start*
    >
    > Then i can see the some .kvm-pool files under /var/lib/hyperv/
    >
    > One of the file contains the Host address of the host name.


    Ah, not knowing Hyper-V I was wondering if there was an equivalent to
    VMware Tools and it seems the hyper-v package is it.

    Anyway glad you've found a solution and thanks for the report back.
    --
    Simon
    SUSE Knowledge Partner

    ------------------------------------------------------------------------
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below. Thanks.
    ------------------------------------------------------------------------

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •