I tried to run 'onehost sync' one more time after restart of one deamon. It started working. Thank you very much for help. <br><div class="gmail_quote"><br>Regards, <br>Łukasz<br><div class="gmail_quote"><br><br>W dniu 23 marca 2011 16:24 użytkownik Łukasz Grabowski <span dir="ltr"><<a href="mailto:grabbs07@gmail.com" target="_blank">grabbs07@gmail.com</a>></span> napisał:<div>
<div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I am using Opennebula version 2.0.1-6.<br>After trying command 'onehost sync' nothing changed in output in the section host shares. I waited for till next monitoring cycle.<br>
I should run it in the front end; but in my case front end and worker node are made on one server.<br>
<br>Regards,<br>Łukasz<br><br><div class="gmail_quote">W dniu 23 marca 2011 11:40 użytkownik Daniel Molina <span dir="ltr"><<a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a>></span> napisał:<div>
<div></div><div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
The problem is that the remote files are missing in the worker node.<br>
What OpenNebula version are you using?<br>
Can you try to run the following command in the front end `onehost<br>
sync`? The remotes should be copied in the next monitoring cycle.<br>
<br>
Hope this helps.<br>
<br>
<br>
<br>
2011/3/22 Łukasz Grabowski <<a href="mailto:grabbs07@gmail.com" target="_blank">grabbs07@gmail.com</a>>:<br>
<div><div></div><div>> Hi, I created a host and when I'm showing parameters of the host I get only<br>
> nulls in the host shares section. I suppose it is an error. Could you help<br>
> me with it?<br>
> I'm enclosing output of commands and oned.log<br>
> Regards,<br>
> Łukasz<br>
><br>
> oneadmin@debian:~$ onehost list<br>
> ID NAME CLUSTER RVM TCPU FCPU ACPU TMEM FMEM<br>
> STAT<br>
> 5 194.29.169.16 default 0 0 0 100 0K 0K<br>
> on<br>
> oneadmin@debian:~$ onehost show 5<br>
> HOST 5 INFORMATION<br>
> ID : 5<br>
> NAME : 194.29.169.16<br>
> CLUSTER : default<br>
> STATE : INIT<br>
> IM_MAD : im_xen<br>
> VM_MAD : vmm_xen<br>
> TM_MAD : tm_ssh<br>
><br>
> HOST SHARES<br>
> MAX MEM : 0<br>
> USED MEM (REAL) : 0<br>
> USED MEM (ALLOCATED) : 0<br>
> MAX CPU : 0<br>
> USED CPU (REAL) : 0<br>
> USED CPU (ALLOCATED) : 0<br>
> RUNNING VMS : 0<br>
><br>
> MONITORING INFORMATION<br>
><br>
> oneadmin@debian:~$<br>
><br>
><br>
><br>
> ------------------------------------------------------------- oned.log<br>
> ----------------------------------------<br>
> Tue Mar 22 13:46:22 2011 [ONE][I]: Init OpenNebula Log system<br>
> Tue Mar 22 13:46:22 2011 [ONE][I]: Log Level: 3<br>
> [0=ERROR,1=WARNING,2=INFO,3=DEBUG]<br>
> Tue Mar 22 13:46:22 2011 [ONE][I]: ----------------------------------------<br>
> Tue Mar 22 13:46:22 2011 [ONE][I]: OpenNebula Configuration File<br>
> Tue Mar 22 13:46:22 2011 [ONE][I]: ----------------------------------------<br>
> Tue Mar 22 13:46:22 2011 [ONE][I]:<br>
> ----------------------------------<br>
> DB=BACKEND=sqlite<br>
> DEBUG_LEVEL=3<br>
> DEFAULT_DEVICE_PREFIX=xvd<br>
> DEFAULT_IMAGE_TYPE=OS<br>
> HM_MAD=EXECUTABLE=one_hm<br>
> HOST_MONITORING_INTERVAL=20<br>
> IMAGE_REPOSITORY_PATH=/srv/cloud/images<br>
> IM_MAD=ARGUMENTS=xen,EXECUTABLE=one_im_ssh,NAME=im_xen<br>
> MAC_PREFIX=02:00<br>
> MANAGER_TIMER=10<br>
> NETWORK_SIZE=254<br>
> PORT=2633<br>
> SCRIPTS_REMOTE_DIR=/var/tmp<br>
> TM_MAD=ARGUMENTS=tm_ssh/tm_ssh.conf,EXECUTABLE=one_tm,NAME=tm_ssh<br>
> VM_DIR=/srv/cloud/one/var<br>
> VM_HOOK=ARGUMENTS=$VMID,COMMAND=image.rb,NAME=image,ON=DONE<br>
> VM_MAD=ARGUMENTS=xen,DEFAULT=vmm_ssh/vmm_ssh_xen.conf,EXECUTABLE=one_vmm_ssh,NAME=vmm_xen,TYPE=xen<br>
> VM_POLLING_INTERVAL=10<br>
> VNC_BASE_PORT=5000<br>
> ----------------------------------<br>
> Tue Mar 22 13:46:22 2011 [ONE][I]: Bootstraping OpenNebula database.<br>
> Tue Mar 22 13:46:22 2011 [VMM][I]: Starting Virtual Machine Manager...<br>
> Tue Mar 22 13:46:22 2011 [LCM][I]: Starting Life-cycle Manager...<br>
> Tue Mar 22 13:46:22 2011 [VMM][I]: Virtual Machine Manager started.<br>
> Tue Mar 22 13:46:22 2011 [LCM][I]: Life-cycle Manager started.<br>
> Tue Mar 22 13:46:22 2011 [InM][I]: Starting Information Manager...<br>
> Tue Mar 22 13:46:22 2011 [InM][I]: Information Manager started.<br>
> Tue Mar 22 13:46:22 2011 [TrM][I]: Starting Transfer Manager...<br>
> Tue Mar 22 13:46:22 2011 [DiM][I]: Starting Dispatch Manager...<br>
> Tue Mar 22 13:46:22 2011 [TrM][I]: Transfer Manager started.<br>
> Tue Mar 22 13:46:22 2011 [DiM][I]: Dispatch Manager started.<br>
> Tue Mar 22 13:46:22 2011 [ReM][I]: Starting Request Manager...<br>
> Tue Mar 22 13:46:22 2011 [ReM][I]: Starting XML-RPC server, port 2633 ...<br>
> Tue Mar 22 13:46:22 2011 [ReM][I]: Request Manager started.<br>
> Tue Mar 22 13:46:22 2011 [HKM][I]: Starting Hook Manager...<br>
> Tue Mar 22 13:46:22 2011 [HKM][I]: Hook Manager started.<br>
> Tue Mar 22 13:46:24 2011 [VMM][I]: Loading Virtual Machine Manager drivers.<br>
> Tue Mar 22 13:46:24 2011 [VMM][I]: Loading driver: vmm_xen (XEN)<br>
> Tue Mar 22 13:46:24 2011 [VMM][I]: Driver vmm_xen loaded.<br>
> Tue Mar 22 13:46:24 2011 [InM][I]: Loading Information Manager drivers.<br>
> Tue Mar 22 13:46:24 2011 [InM][I]: Loading driver: im_xen<br>
> Tue Mar 22 13:46:24 2011 [InM][I]: Driver im_xen loaded<br>
> Tue Mar 22 13:46:24 2011 [TM][I]: Loading Transfer Manager drivers.<br>
> Tue Mar 22 13:46:24 2011 [VMM][I]: Loading driver: tm_ssh<br>
> Tue Mar 22 13:46:24 2011 [TM][I]: Driver tm_ssh loaded.<br>
> Tue Mar 22 13:46:24 2011 [HKM][I]: Loading Hook Manager driver.<br>
> Tue Mar 22 13:46:24 2011 [HKM][I]: Hook Manager loaded<br>
> Tue Mar 22 13:46:32 2011 [ReM][D]: HostPoolInfo method invoked<br>
> Tue Mar 22 13:46:35 2011 [ReM][D]: HostPoolInfo method invoked<br>
> Tue Mar 22 13:46:42 2011 [InM][I]: Monitoring host 194.29.169.16 (5)<br>
> Tue Mar 22 13:46:42 2011 [InM][I]: Command execution fail: 'if [ -x<br>
> "/var/tmp/im/run_probes" ]; then /var/tmp/im/run_probes xen 194.29.169.16;<br>
> else exit 42; fi'<br>
> Tue Mar 22 13:46:42 2011 [InM][I]: STDERR follows.<br>
> Tue Mar 22 13:46:42 2011 [InM][I]: ExitCode: 42<br>
> Tue Mar 22 13:46:42 2011 [ReM][D]: HostInfo method invoked<br>
> Tue Mar 22 13:46:46 2011 [ReM][D]: HostInfo method invoked<br>
> Tue Mar 22 13:46:50 2011 [ReM][D]: HostInfo method invoked<br>
> Tue Mar 22 13:46:53 2011 [ReM][D]: HostPoolInfo method invoked<br>
> Tue Mar 22 13:46:53 2011 [ReM][D]: VirtualMachinePoolInfo method invoked<br>
> Tue Mar 22 13:47:02 2011 [InM][I]: Monitoring host 194.29.169.16 (5)<br>
> Tue Mar 22 13:47:02 2011 [InM][I]: Command execution fail: 'if [ -x<br>
> "/var/tmp/im/run_probes" ]; then /var/tmp/im/run_probes xen 194.29.169.16;<br>
> else exit 42; fi'<br>
> Tue Mar 22 13:47:02 2011 [InM][I]: STDERR follows.<br>
> Tue Mar 22 13:47:02 2011 [InM][I]: ExitCode: 42<br>
> Tue Mar 22 13:47:04 2011 [ReM][D]: HostInfo method invoked<br>
> Tue Mar 22 13:47:22 2011 [InM][I]: Monitoring host 194.29.169.16 (5)<br>
> Tue Mar 22 13:47:22 2011 [InM][I]: Command execution fail: 'if [ -x<br>
> "/var/tmp/im/run_probes" ]; then /var/tmp/im/run_probes xen 194.29.169.16;<br>
> else exit 42; fi'<br>
> Tue Mar 22 13:47:22 2011 [InM][I]: STDERR follows.<br>
> Tue Mar 22 13:47:22 2011 [InM][I]: ExitCode: 42<br>
> Tue Mar 22 13:47:23 2011 [ReM][D]: HostPoolInfo method invoked<br>
> Tue Mar 22 13:47:23 2011 [ReM][D]: VirtualMachinePoolInfo method invoked<br>
> Tue Mar 22 13:47:28 2011 [ReM][D]: HostInfo method invoked<br>
> Tue Mar 22 13:47:29 2011 [ReM][D]: HostInfo method invoked<br>
> Tue Mar 22 13:47:30 2011 [ReM][D]: HostInfo method invoked<br>
> Tue Mar 22 13:47:31 2011 [ReM][D]: HostInfo method invoked<br>
> Tue Mar 22 13:47:31 2011 [ReM][D]: HostInfo method invoked<br>
> Tue Mar 22 13:47:32 2011 [ReM][D]: HostInfo method invoked<br>
> Tue Mar 22 13:47:32 2011 [ReM][D]: HostInfo method invoked<br>
> Tue Mar 22 13:47:32 2011 [ReM][D]: HostInfo method invoked<br>
> Tue Mar 22 13:47:42 2011 [InM][I]: Monitoring host 194.29.169.16 (5)<br>
> Tue Mar 22 13:47:42 2011 [ReM][D]: ImageAllocate invoked<br>
> Tue Mar 22 13:47:42 2011 [ReM][D]: ImageInfo method invoked<br>
> Tue Mar 22 13:47:42 2011 [InM][I]: Command execution fail: 'if [ -x<br>
> "/var/tmp/im/run_probes" ]; then /var/tmp/im/run_probes xen 194.29.169.16;<br>
> else exit 42; fi'<br>
> Tue Mar 22 13:47:42 2011 [InM][I]: STDERR follows.<br>
> Tue Mar 22 13:47:42 2011 [InM][I]: ExitCode: 42<br>
> Tue Mar 22 13:47:42 2011 [ReM][D]: ImageDelete invoked<br>
> Tue Mar 22 13:47:53 2011 [ReM][D]: HostPoolInfo method invoked<br>
> Tue Mar 22 13:47:53 2011 [ReM][D]: VirtualMachinePoolInfo method invoked<br>
> Tue Mar 22 13:48:02 2011 [InM][I]: Monitoring host 194.29.169.16 (5)<br>
> Tue Mar 22 13:48:02 2011 [InM][I]: Command execution fail: 'if [ -x<br>
> "/var/tmp/im/run_probes" ]; then /var/tmp/im/run_probes xen 194.29.169.16;<br>
> else exit 42; fi'<br>
> Tue Mar 22 13:48:02 2011 [InM][I]: STDERR follows.<br>
> Tue Mar 22 13:48:02 2011 [InM][I]: ExitCode: 42<br>
> Tue Mar 22 13:48:22 2011 [InM][I]: Monitoring host 194.29.169.16 (5)<br>
> Tue Mar 22 13:48:22 2011 [InM][I]: Command execution fail: 'if [ -x<br>
> "/var/tmp/im/run_probes" ]; then /var/tmp/im/run_probes xen 194.29.169.16;<br>
> else exit 42; fi'<br>
> Tue Mar 22 13:48:22 2011 [InM][I]: STDERR follows.<br>
> Tue Mar 22 13:48:22 2011 [InM][I]: ExitCode: 42<br>
> Tue Mar 22 13:48:23 2011 [ReM][D]: HostPoolInfo method invoked<br>
> Tue Mar 22 13:48:23 2011 [ReM][D]: VirtualMachinePoolInfo method invoked<br>
> Tue Mar 22 13:48:42 2011 [InM][I]: Monitoring host 194.29.169.16 (5)<br>
> Tue Mar 22 13:48:42 2011 [InM][I]: Command execution fail: 'if [ -x<br>
> "/var/tmp/im/run_probes" ]; then /var/tmp/im/run_probes xen 194.29.169.16;<br>
> else exit 42; fi'<br>
> Tue Mar 22 13:48:42 2011 [InM][I]: STDERR follows.<br>
> Tue Mar 22 13:48:42 2011 [InM][I]: ExitCode: 42<br>
> Tue Mar 22 13:48:53 2011 [ReM][D]: HostPoolInfo method invoked<br>
> Tue Mar 22 13:48:53 2011 [ReM][D]: VirtualMachinePoolInfo method invoked<br>
> Tue Mar 22 13:49:02 2011 [InM][I]: Monitoring host 194.29.169.16 (5)<br>
> Tue Mar 22 13:49:02 2011 [InM][I]: Command execution fail: 'if [ -x<br>
> "/var/tmp/im/run_probes" ]; then /var/tmp/im/run_probes xen 194.29.169.16;<br>
> else exit 42; fi'<br>
> Tue Mar 22 13:49:02 2011 [InM][I]: STDERR follows.<br>
> Tue Mar 22 13:49:02 2011 [InM][I]: ExitCode: 42<br>
> Tue Mar 22 13:49:22 2011 [InM][I]: Monitoring host 194.29.169.16 (5)<br>
> Tue Mar 22 13:49:22 2011 [InM][I]: Command execution fail: 'if [ -x<br>
> "/var/tmp/im/run_probes" ]; then /var/tmp/im/run_probes xen 194.29.169.16;<br>
> else exit 42; fi'<br>
> Tue Mar 22 13:49:22 2011 [InM][I]: STDERR follows.<br>
> Tue Mar 22 13:49:22 2011 [InM][I]: ExitCode: 42<br>
> Tue Mar 22 13:49:23 2011 [ReM][D]: HostPoolInfo method invoked<br>
> Tue Mar 22 13:49:23 2011 [ReM][D]: VirtualMachinePoolInfo method invoked<br>
> Tue Mar 22 13:49:30 2011 [ReM][D]: HostPoolInfo method invoked<br>
> Tue Mar 22 13:49:42 2011 [InM][I]: Monitoring host 194.29.169.16 (5)<br>
> Tue Mar 22 13:49:42 2011 [InM][I]: Command execution fail: 'if [ -x<br>
> "/var/tmp/im/run_probes" ]; then /var/tmp/im/run_probes xen 194.29.169.16;<br>
> else exit 42; fi'<br>
> Tue Mar 22 13:49:42 2011 [InM][I]: STDERR follows.<br>
> Tue Mar 22 13:49:42 2011 [InM][I]: ExitCode: 42<br>
> Tue Mar 22 13:49:53 2011 [ReM][D]: HostPoolInfo method invoked<br>
> Tue Mar 22 13:49:53 2011 [ReM][D]: VirtualMachinePoolInfo method invoked<br>
> Tue Mar 22 13:50:02 2011 [InM][I]: Monitoring host 194.29.169.16 (5)<br>
> Tue Mar 22 13:50:02 2011 [InM][I]: Command execution fail: 'if [ -x<br>
> "/var/tmp/im/run_probes" ]; then /var/tmp/im/run_probes xen 194.29.169.16;<br>
> else exit 42; fi'<br>
> Tue Mar 22 13:50:02 2011 [InM][I]: STDERR follows.<br>
> Tue Mar 22 13:50:02 2011 [InM][I]: ExitCode: 42<br>
> Tue Mar 22 13:50:22 2011 [InM][I]: Monitoring host 194.29.169.16 (5)<br>
> Tue Mar 22 13:50:22 2011 [InM][I]: Command execution fail: 'if [ -x<br>
> "/var/tmp/im/run_probes" ]; then /var/tmp/im/run_probes xen 194.29.169.16;<br>
> else exit 42; fi'<br>
> Tue Mar 22 13:50:22 2011 [InM][I]: STDERR follows.<br>
> Tue Mar 22 13:50:22 2011 [InM][I]: ExitCode: 42<br>
> Tue Mar 22 13:50:23 2011 [ReM][D]: HostPoolInfo method invoked<br>
> Tue Mar 22 13:50:23 2011 [ReM][D]: VirtualMachinePoolInfo method invoked<br>
> Tue Mar 22 13:50:42 2011 [InM][I]: Monitoring host 194.29.169.16 (5)<br>
> Tue Mar 22 13:50:42 2011 [InM][I]: Command execution fail: 'if [ -x<br>
> "/var/tmp/im/run_probes" ]; then /var/tmp/im/run_probes xen 194.29.169.16;<br>
> else exit 42; fi'<br>
> Tue Mar 22 13:50:42 2011 [InM][I]: STDERR follows.<br>
> Tue Mar 22 13:50:42 2011 [InM][I]: ExitCode: 42<br>
> Tue Mar 22 13:50:53 2011 [ReM][D]: HostPoolInfo method invoked<br>
> Tue Mar 22 13:50:53 2011 [ReM][D]: VirtualMachinePoolInfo method invoked<br>
> Tue Mar 22 13:51:02 2011 [InM][I]: Monitoring host 194.29.169.16 (5)<br>
> Tue Mar 22 13:51:02 2011 [InM][I]: Command execution fail: 'if [ -x<br>
> "/var/tmp/im/run_probes" ]; then /var/tmp/im/run_probes xen 194.29.169.16;<br>
> else exit 42; fi'<br>
> Tue Mar 22 13:51:02 2011 [InM][I]: STDERR follows.<br>
> Tue Mar 22 13:51:02 2011 [InM][I]: ExitCode: 42<br>
> Tue Mar 22 13:51:22 2011 [InM][I]: Monitoring host 194.29.169.16 (5)<br>
> Tue Mar 22 13:51:22 2011 [InM][I]: Command execution fail: 'if [ -x<br>
> "/var/tmp/im/run_probes" ]; then /var/tmp/im/run_probes xen 194.29.169.16;<br>
> else exit 42; fi'<br>
> Tue Mar 22 13:51:22 2011 [InM][I]: STDERR follows.<br>
> Tue Mar 22 13:51:22 2011 [InM][I]: ExitCode: 42<br>
> Tue Mar 22 13:51:23 2011 [ReM][D]: HostPoolInfo method invoked<br>
> Tue Mar 22 13:51:23 2011 [ReM][D]: VirtualMachinePoolInfo method invoked<br>
> Tue Mar 22 13:51:42 2011 [InM][I]: Monitoring host 194.29.169.16 (5)<br>
> Tue Mar 22 13:51:53 2011 [ReM][D]: HostPoolInfo method invoked<br>
> Tue Mar 22 13:51:53 2011 [ReM][D]: VirtualMachinePoolInfo method invoked<br>
> Tue Mar 22 13:52:02 2011 [InM][I]: Monitoring host 194.29.169.16 (5)<br>
> Tue Mar 22 13:52:22 2011 [InM][I]: Monitoring host 194.29.169.16 (5)<br>
> Tue Mar 22 13:52:23 2011 [ReM][D]: HostPoolInfo method invoked<br>
> Tue Mar 22 13:52:23 2011 [ReM][D]: VirtualMachinePoolInfo method invoked<br>
> Tue Mar 22 13:52:32 2011 [ReM][D]: ImageAllocate invoked<br>
> Tue Mar 22 13:52:32 2011 [ReM][D]: ImageInfo method invoked<br>
> Tue Mar 22 13:52:42 2011 [InM][I]: Monitoring host 194.29.169.16 (5)<br>
> Tue Mar 22 13:52:53 2011 [ReM][D]: HostPoolInfo method invoked<br>
> Tue Mar 22 13:52:53 2011 [ReM][D]: ImagePoolInfo method invoked<br>
> Tue Mar 22 13:53:04 2011 [ReM][D]: ImagePoolInfo method invoked<br>
> Tue Mar 22 13:53:15 2011 [ReM][D]: VirtualMachinePoolInfo method invoked<br>
> Tue Mar 22 13:53:17 2011 [ReM][D]: HostPoolInfo method invoked<br>
> Tue Mar 22 13:53:24 2011 [ReM][D]: HostInfo method invoked<br>
> Tue Mar 22 13:53:27 2011 [ReM][D]: HostInfo method invoked<br>
> Tue Mar 22 13:53:31 2011 [ReM][D]: HostInfo method invoked<br>
> Tue Mar 22 13:53:33 2011 [ReM][D]: HostInfo method invoked<br>
><br>
</div></div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
><br>
><br>
<font color="#888888"><br>
<br>
<br>
--<br>
Daniel Molina, Cloud Technology Engineer/Researcher<br>
Major Contributor<br>
OpenNebula - The Open Source Toolkit for Cloud Computing<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a><br>
</font></blockquote></div></div></div><br>
</blockquote></div></div></div><br>
</div><br>