[one-users] SunStone Monitoring

KC LO kclo2000 at gmail.com
Thu Aug 18 23:11:46 PDT 2011


Hi Tino,

Thanks for your advise and sorry that I missed this configuration.

I can get the graph display for physical host and virtual machines.  But for
virtual machines' graph, it does not contain any data.  By checking on
/var/log/one/10.log, it shows

Fri Aug 19 14:16:56 2011 [VMM][I]: Command execution fail: 'if [ -x
"/var/lib/on
e/remotes/vmm/xen/poll" ]; then /var/lib/one/remotes/vmm/xen/poll one-10
1.1.1.1 1.1.1.1; else                              exit 42; fi'
Fri Aug 19 14:16:56 2011 [VMM][I]: Error executing sudo /usr/sbin/xentop
-bi2
Fri Aug 19 14:16:56 2011 [VMM][I]: /var/lib/one/remotes/vmm/xen/poll:186:in
`get
_vm_info': undefined method `[]' for nil:NilClass (NoMethodError)
Fri Aug 19 14:16:56 2011 [VMM][I]: from
/var/lib/one/remotes/vmm/xen/poll:310:in
 `print_one_vm_info'
Fri Aug 19 14:16:56 2011 [VMM][I]: from
/var/lib/one/remotes/vmm/xen/poll:344
Fri Aug 19 14:16:56 2011 [VMM][I]: ExitCode: 1
Fri Aug 19 14:16:56 2011 [VMM][E]: Error monitoring VM
Fri Aug 19 14:16:56 2011 [VMM][E]: Error monitoring VM
I have tried to run ssh 1.1.1.1 sudo /usr/sbin/xentop -bi2 from the
opennebula machine without errors.   I have also checked the /var/log/secure
of xen server 1.1.1.1 and observe that opennebula has "sshed" to it

My Xen Hypervisor is running 3.4.3

Any ideas?

Thanks!

On 18 August 2011 22:43, Tino Vazquez <tinova at opennebula.org> wrote:

> Hi,
>
> Please start opennebula watch as explained here [1].
>
> Hope it helps,
>
> -Tino
>
> [1] http://opennebula.org/documentation:rel3.0:acctd_conf
>
> --
> Constantino Vázquez Blanco, MSc
> OpenNebula Major Contributor
> www.OpenNebula.org <http://www.opennebula.org/> | @tinova79
>
>
>
> On Wed, Aug 17, 2011 at 5:54 AM, KC LO <kclo2000 at gmail.com> wrote:
> > Hi all,
> >
> > I have installed Opennebula 3.0 Beta1 (2.9.8.0) and I have completed the
> > following tasks : -
> > 1) create image
> > 2) create template
> > 3) deploy a VM instance from template
> >
> > The VM is using Xen as hypervisor.
> >
> > I can run onehost list to show CPU and memory of the physical host. When
> I
> > run onevm show one-9. I can't get the VM CPU and ram info
> >
> > [oneadmin at server28 one]$ onevm show one-9
> > VIRTUAL MACHINE 9 INFORMATION
> > ID                  : 9
> > NAME                : one-9
> > USER                : test
> > GROUP               : oneadmin
> > STATE               : ACTIVE
> > LCM_STATE           : RUNNING
> > HOSTNAME            : 1.1.1.1
> > START TIME          : 08/17 09:54:27
> > END TIME            : -
> > DEPLOY ID           : one-9
> >
> > VIRTUAL MACHINE MONITORING
> > USED MEMORY         : 0
> > USED CPU            : 0
> > NET_TX              : 0
> > NET_RX              : 0
> >
> > VIRTUAL MACHINE TEMPLATE
> > CPU=1
> > DISK=[
> >   CLONE=YES,
> >   DISK_ID=0,
> >   IMAGE=CentOS6,
> >   IMAGE_ID=0,
> >   READONLY=NO,
> >   SAVE=NO,
> >   SOURCE=/var/lib/one/images/a0db9ef1531518d5eb808a4f52b3ca58,
> >   TARGET=hda,
> >   TYPE=DISK ]
> > MEMORY=1024
> > NAME=one-9
> > OS=[
> >   BOOTLOADER=/usr/bin/pygrub,
> >   ROOT=xvda3 ]
> > TEMPLATE_ID=2
> > VMID=9
> >
> > VIRTUAL MACHINE HISTORY
> >  SEQ        HOSTNAME REASON           START        TIME       PTIME
> >    0   1.1.1.1   none  08/17 09:54:38 00 02:06:58 00 00:09:54
> >
> >
> > However, I can't see anything from "monitoring information" of the
> SunStone
> > interface on Physical host and Virtual Machines for the CPU and memory
> > information.
> > Any ideas?
> >
> > On the other hand, I am going to use OpenNebula to manage VMware.  Any
> > suggestions for the configuration?
> >
> > Thanks!
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opennebula.org
> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110819/9abe1840/attachment-0002.htm>


More information about the Users mailing list