CentOS 5 :: Use NTPD To Keep The Time Correct On All Of The Virtual Machines?
Jan 27, 2009
I have a server running VMWare Server on it with 4 virtual machines running. I am trying to use NTPD to keep the time correct on all of the virtual machines. On my physical server, I have installed ntpd and this is it's config file:
Quote:# ntpd.conf
tinker panic 0
restrict 127.0.0.1
restrict default kod nomodify notrap
server 0.vmware.pool.ntp.org
server 1.vmware.pool.ntp.org
server 2.vmware.pool.ntp.org
[Code]...
View 3 Replies
ADVERTISEMENT
Apr 1, 2010
I am facing issue in ntp, it is getting killed frequently. see below error; # /etc/init.d/ntpd status ntpd dead but pid file exists After starting service it is works fine but again after sometimes it get in dead postition.
View 5 Replies
View Related
Jul 21, 2010
Is anyone familiar with how to correct a glitch with Qemu-KVM that prevents virtual machines (Windows Server guests) from starting after the Linux host has been rebooted? It gives an error constructing a domain in /dev/sr0 because of /usr/share/virt-manager/virtManager/engine.py line 493 [run_domain vm_startup], /usr/share/virt-manager/virtManager/domain.py line 573 [startup self.vm create()] and /usr/lib/python2.6/site-packages/libvirt.py line 287 [create if ret=-1 raise libvirtError].
View 1 Replies
View Related
Nov 20, 2009
I'm having a problem with the time on one of my servers jumping forward into the future. We run serveral CentOS 5.4 servers running Xen, some up to date and some a little older. The one in question is running 2.6.18-164.el5xen, with xen-libs-3.0.3-94.el5_4.2 and xen-3.0.3-94.el5_4.2. On this server are several Xen virtual machines, also running CentOS 5.4 with kernel 2.6.18-164.el5xen. One in particular has problems with the clock keeping proper time.
We use NTP (ntpd) to sync time to a central server in the company. Our NTP set-up works fine, and we have problems on only a couple of servers out of many. The problem I see is that one one particular Xen virtual machine, the clock will suddenly jump forward into the future, usually by several minutes but once by more than an hour. This has obvious implications for software running on the machine. Software such as Oracle grid control agent will restart itself under the (incorrect) assumption that it has been hung for several minutes with no activity. Oracle database will cope gracefully, but applications that refer to the clock will be confused.
We detect these time jumps because we have Nagios checking the clock on each host against the centralised time server (Nagios's check_ntp plugin). Nagios will suddenly report a clock offset that is miles into the future. Following the time jump, ntpd on the host in question will re-sync the time. Ntpd keeps the time steady, ticking just a few milliseconds per second until real time catches up with the server. i.e. Nagios will report the time as being 10 minutes ahead, then a minute later the host will be 9 minutes ahead, and then a further minute later the host will be 8 minutes ahead of real time. The clock on the host stays running very slow until it eventually is correct.
[Code]...
View 6 Replies
View Related
Mar 30, 2011
[root@espeed log]# /etc/init.d/ntpd start
Starting ntpd: ntpd: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
[root@espeed log]# ldd /usr/sbin/ntpd
linux-gate.so.1 => (0x00786000)
libm.so.6 => /lib/libm.so.6 (0x0059d000)
[code]....
View 8 Replies
View Related
Oct 12, 2010
I have a few mail servers, a mail log server and a web server running on Centos 5. Now I have a task: to avoid accidental crashes on the production servers while installing updates, my boss asked me to do clones (these clones will all be VMware virtual machines) of the servers (EXCLUDING the actual e-mails and log contents) and then to run those clones on VMWare Server. This way, first I will install and test updates on the clones and - if they will be running without crashes - I will apply the updates on the real production servers themselves.
I have already installed VMWare Server 2.0 I have a few questions: How do I build the virtual machines to exclude the actual mail files and mail logs? Can I use VMware Converter for this purpose, or do I have to use another program? How do I actually do this cloning? Is there a tutorial on how to do this?
View 4 Replies
View Related
Jan 14, 2010
I am trying to setup one of my virtual machines in VMware with CentOS 5.2
At the welcome to Centos screen I get the following message ??
an error has occurred - no valid devices were found on which to create new file systems. Please check your hardware for the cause of this problem.
View 3 Replies
View Related
Jun 23, 2009
I've run into a problem gathering usage for my xen virtual systems. With my old model I used to gather all network usage via my cisco devices using the the counters for each port. Each system had it's own port on the switch, and I tracked network usage accordingly. Now that I'm using xen for virtual systems, and multiple vm's share the same switch port, i'm not exactly sure what my best option is for tracking usage.
I thought I may be able to setup vlans on the switch, and bind each vm to a different vlan using vconfig... but it seems like there has to be a better solution than that.
View 1 Replies
View Related
Aug 29, 2010
I am new to virtual machines in general, and currently playing with the XEN-based VM in CentOS 5.5. Question: if neither virt-manager nor virsh (using "virsh edit <guest name>" and changing the name in the XML file) are designed to actually change a guest's name...then what is the recommended procedure for doing this?
View 1 Replies
View Related
Oct 15, 2010
I installed centos 5.5 Ent as host and i installed vmware server 2.2. i need to Change the location of the 'Virtual Machines' directory(/var/lib/vmware/Virtual Machines) to a directory on /home(/home/Virtual Machines) where there is more disk space.Reinstalling centos and reinstalling Vmware server is not the option for me.
View 4 Replies
View Related
May 2, 2009
We've been experiencing sudden host server crashes minutes after starting a fourth virtual machine. Our setup looks like:
Dell Poweredge T300
1 x Intel Xeon X3323 Quad Core 2.5 ghz
16 GB Ram
CentOS 5.3 (64 bit)
Server is running a stripped down version of CentOS 5.3 (64-bit), running only the built-in Xen Virtualization Environment. There is no other services running on the server (not samba, httpd, sendmail, cups... nothing except Xen) We've created several virtual machines, and as long as we don't start a fourth virtual machine everything runs smoothly (impresive hardware).
Each virtual server is configured as:
PARAVIRTUALIZED
1 Virtual CPU
1 GB RAM
However, 5 minutes or so after starting a fourth virtual machine, the entire host server crashes and restarts itself. Are we limited by the number of cores on the host machine CPU (4 cores)? 1 for the host and 3 for virtual machines? We've read in forums about other Xen setups running up to 11 virtual machines on less powerful hardware? (a dual core server). Should we be using FULLY VIRTUALIZED virtual machines instead? Is the number of XEN virtual machines in fact limited by the number of cores? If so, how can someone run several virtual machines on a single core host?
By the way, we were replacing a previous Dell Server (Poweredge 2600 with 512 MB Ram and a single Xeon single core processor running Open Virtuozzo). We were able to run up to 16 virtual machines at the same time. Of course none of the machines endured hard work (testing environments, etc). But hey, my point is that we expected to get a much higher number of virtual machines on this new hardware.
View 8 Replies
View Related
Jun 29, 2010
I would like to configure and SAN disk. But I do not have a physical SAN disk. Is it possible to create and configure a Virtual SAN disk and work on it with virtual machines?I have around 400GB of space in my Laptop.
View 7 Replies
View Related
Mar 22, 2010
I am trying to synchronize the time of my VM server with ntpd. I have the following configuration. And in the /etc/ntp.conf, I have the following line:
restrict default ignore
restrict 127.0.0.1.
server time1.server
server time2.server
Whenever I have this line, the erver is not able to synchronize its time... So far as I understood, this line prevents other servers using this machine as a time server. And the second line says to allow localhost to use as time server. But why do I need to use its own time server when I have specified to use time1.server and time2.server ? ( firewall for tcp and udp ports 123 is open)
However, when I replace the first line of the configuration with the following line, it works. restrict default kod nomodify notrap noquery But with this, i am allowing other servers to use this server a ntp (which I wouldn't like to). Why this machine tries to use ntp server of its own (to snyc time) and why it is not working though i have the entry "restrict 127.0.0.1" ??
View 1 Replies
View Related
Feb 10, 2011
NTPD on Fedora 14.
View 2 Replies
View Related
Aug 31, 2010
I use Arch, but no info about it in official wiki.
View 2 Replies
View Related
Oct 12, 2010
I have to administer a few mail servers, a mail log server, 4 nameservers and a web server -all running on Centos 5 server distributions. Now I have a task: to avoid accidental crashes on the production servers while installing updates, my boss asked me to do clones (these clones will all be VMware virtual machines) of the servers (EXCLUDING the actual e-mails and mail log contents) and then to run those clones on VMWare Server. This way, first I will install and test updates on the clones and - if they will be running without crashes - I will apply the updates on the real production servers themselves. I have already installed VMWare Server 2.0 I have a few questions:
- How do I build the virtual machines to exclude the actual mail files and mail logs? Can I use VMware Converter for this purpose, or do I have to use another program?
- How do I actually do this cloning? Is there a tutorial on how to do this?
View 3 Replies
View Related
Jul 14, 2011
I have a set of machines on a disconnected network. Periodically, one of the machines connects to the internet and synchronizes its time with a time server that is not known until the connection is established. (The machine queries a central command server for the address of the time server it should synchronize to.)
I then use a custom tool to do some calculations to call adjtimex() and adjust the clock so that it runs fairly accurately.
I know ntpd is supposed to be able to handle disconnected networks but I thought you had to preconfigure the servers in the configuration file.
My intent is to run ntpd on this machine (without configured "server"s) so that it can serve time to the internal network. (Periodic synchronization using ntpdate from the internal machine to the bridge machine.)
The problem: ntpd wants to fuss with the values I set using adjtimex(). I want it to quit thinking it needs to adjust the clock and just serve time to the internal network. (Maybe I have a GPS time source hooked directly to the machine!)
View 4 Replies
View Related
Dec 16, 2009
I have a Windows 2003 server that runs a Win32 time server which synchronizes with off site time sources. I have a CentOS 5.4 server which I just configured and installed NTP on. For some reason, I keep getting time discrepancies even after the server is (apparently) synching with my local NTP server on the Windows box.
Hwclock is set to UTC true/etc/localtime is properly symlinked to appropriate /usr/share/zoneinfo fileNTPD is setup as a service which loads on startupNTP.conf is configured to only retrieve from my local Windows 2003 time serverntpq -p seems to verify that the system is indeed synching up properlyThe problem is, whenever I run the 'date' command it is displaying my system time in (presumably) UTC. That is, even though my the CentOS box appears to be synching up to the local time, it's not translating it into my proper time zone. Consequently, the date is always at -6 hours from the actual local time. It was my understanding that the hwclock is fine to remain at UTC as ntpd should be synching with my local Windows 2003 time server periodically and updating it, and the system time should be getting translated to my localtime.
what I do, after rebooting the box the hwclock and system clock display the improper time.Maybe I just have a fundamental misunderstanding of how this is supposed to operate.Update: I'm not sure why, but after I commented out the other servers and added a fudge declaration for my internal server and rebooted, everything is working as it should and the time is correct.I'm still not really sure if it was adding the "fudge <hostname> stratum 2" declaration that corrected things, or commenting out the additional hosts, so I'll leave this open if anyone cares to comment or contribute.
View 9 Replies
View Related
Aug 29, 2010
i'm trying to use the ntpd -gq instead of ntpdate. The result is that clock not set. as below. However ntpdate is working ok and had set the clock correctly.this is the ntp.conf file:
[root@CentOS5 ~]# cat /etc/ntp.conf
logfile /var/log/ntp.log
driftfile /var/lib/ntp/drift
server 0.centos.pool.ntp.org
this is the output of command:
[root@CentOS5 ~]# ntpd -dqg
ntpd 4.2.2p1@1.1570-o Sat Dec 19 00:58:16 UTC 2009 (1)[code]....
Also attached is the trace file, from the trace file, everything seems ok, timestamps is sent and received:
View 1 Replies
View Related
Sep 1, 2010
ntpd startup fails during boot.Does startup just fine manually from command line once it's booted though. Any suggestions what I might adjust?
View 2 Replies
View Related
Jan 21, 2011
I am running a centOS 5.5 server and can't synchronize with time servers via ntpd. My server sits behind a firewall with only port 80 open and I suspect this is the issue. Do I need to open other ports to connect to the time servers at [URL]?
View 4 Replies
View Related
Jan 8, 2010
I cant get ntpd to synchronize with the ntp servers. I have a CentOS 5.3 32 bit Virtual Machine. I'm in USA on Pacific Standard Time. Here's all configuration and other important information for troubleshooting. Is there anything wrong with my config? btw, I used wireshark to look at the UDP packets - I dont get any responses from any of the servers back. I only see requests going out from my server, but no response. Is this a firewall Issue? If it is, then do I need to just enable UDP port 123 on the firewall?
[Code]...
View 4 Replies
View Related
Jun 26, 2010
I installed openSUSE 11.2 and works great. The only problem I have is that I can use the XEN virtual machines only as a root. If I login as a normal user and open the Virtial Machine Manager I receive the following message:Virtial Machince Manager Connection Failure:Unable to open a connection to the Xen hypervisor/daemon.
Verify that:
- A Xen host kernel was booted
- The Xen service has been started
[code]...
View 1 Replies
View Related
Jan 4, 2011
I'm considering setting up a virtual machine running Windows, with Ubuntu 10.10 as the host OS, for those cases where I have a Windows-only program.I understand that using a VM will lose some performance, but are there other limitations to what the OS in a virtual machine can do compared to "running on bare metal"?
For example:
Can a VM play games, like Dragon Age Origins or Civilization V? (Possibly with poorer framerates and/or lower resolution, but does it play at all?) Can a VM rip DVD/Blue-ray using AnyDVD or similar Windows program? Can a VM handle new hardware that requires dedicated drivers, but the drivers are only available for the OS running inside the VM? (Ex. graphics card, digital camera, card reader for smart card authentication.) Is it possible to say anything about "general limitations" of VMs, or is this wholly dependent on the specific VM?
View 3 Replies
View Related
Mar 2, 2010
finaly got my Centos host ready and configured,i have Vmware installed inside the Centos Host.how can i allow to RDP to the Virtual machines inside th Centos,
View 2 Replies
View Related
Nov 18, 2010
I am attempting to put some Virtual Machines on my Fedora13 box. Using KVM it just doesn't want to work quickly.... Using the v.14 LiveCD to try and install an image onto the virtual machine... took over 15 mins to get to a login screen, then I gave up attempting to log in after 5 mins from clicking the login button. I assigned the virtual box to have 1024Mb RAM and access to both CPU.
I then decided to sack it off and try and install VirtualBox... this has been a disaster. I know it's due to the fact that it wont run alongside KVM, and I've disabled KVM (as far as I am aware) - but it's still FAILING on using DKMS (Or whatever it's called - not got the error open at the mo). basically.. am I doing something wrong causing the system to run so ridiculously slowly, and how am I being thick for VirtualBox to fail to install?
View 8 Replies
View Related
Aug 14, 2009
I have an HP Compaq nx6125 laptop, which has an AMD Turion 64 2200MHz processor, running Windows 7 Ultimate. I have installed the VMware Workstation 6.5.2 [full] trial and am attempting to install Fedora 11 on a virtual machine.
I understand that the Turion processor is a 64 bit processor, so I downloaded the Fedora 11 x86_64 DVD iso image.
First I have to create a VMware virtual machine (VM) and choose a version for it. If I choose a version that is any of the 64 bit options (for example, "Other Linux 2.6.x kernel 64-bit", since there are specific options for RHEL but not for Fedora), I get an error message the moment I try to power on the VM and start the install, saying "The buslogic SCSI adapter is not supported for 64-bit guests in this release [...]". Then the VM just shuts down.
I guess this laptop does have a SCSI bus, but my disks are IDE and as far as I can see (System Information) the SCSI bus is not used (?).
On the other hand, if the VM I create is any of the 32-bit option versions, I get what seems to be just a warning, saying that I'm running a 64-bit guest OS (Fedora 11) on a virtual machine configured to run a 32-bit OS, and suggesting I change this to ensure the 64-bit guest OS will function correctly. What would be the risks / downsides of forcing the install anyways?
I will also ask for help on the VMware side, too, and it's not my intention to turn this into a VMware discussion, but I'm just wondering if anybody on the forum has worked with this combination (VMware 6.5.2 and Fedora 11 running within it, preferrable on an HP Compaq 6125 running Windows 7 Ultimate) ? If so, I'd really appreciate some feedback / pointers.
I used to work a lot with Linux back in the days of RH5.2, and it's been a while, plus I'm new to the virtual machine world, so bear with me here.
View 4 Replies
View Related
Dec 10, 2010
I only have one IP adress to access the server. But the server will host 3 web sites and I want them to be hosted in a vm. So, I want to setup 3 virtual machines to do it and use apache reverse proxy and vhosts to redirect the domain requested to the right vm. Now. I understand the concept, but I am not an expert to set that up....
I have an openSUSE 11.3 server. So, I have to set a virtual machine server, is that right? I have been told that I cannot do it with VMware server in oS 11.3. Can I use virtualbox for this? I only have to install virtual box? Is there a special version to install? Once the virtual machine server is install, is it trivial to create 3 vm? So, I want to know wich are the steps I have to take to set that up.
View 9 Replies
View Related
Feb 5, 2010
I am Working On Citrix Xen Server.I have Installed two Virtual Machines(Centos 5.3).Now Apache is Configured and its running on the First VM.Can I Set up a Apache Clustering On those VM?.My Aim is "If Apache On the First VM Down,then Apache on Second VM Should Automatically Start".Is there Any Tutorial to Setup Apache Clustering On Virtual machines.
View 4 Replies
View Related
Mar 22, 2010
I've installed a virtual machine on my computer. and I want to boot from its hard disk(which is on my /home/xen/domains/test1/disk.img). what I need is create a grub entry for this.
View 11 Replies
View Related