[one-users] SunStone Monitoring

KC LO kclo2000 at gmail.com
Thu Sep 1 02:40:40 PDT 2011


Hi Tino,

Please find my output

      NAME  STATE   CPU(sec) CPU(%)     MEM(k) MEM(%)  MAXMEM(k) MAXMEM(%)
VCPUS NETS NETTX(k) NETRX(k) VBDS   VBD_OO   VBD_RD   VBD_WR SSID
  Domain-0 -----r      72973    0.0    1048732    6.3   no limit
n/a     1    5        0        0    0        0        0        0    0
    one-11 --b---       1328    0.0    1048576    6.3    1048576
6.3     1    1    25275   191034    1        0    23272   600927    0
      NAME  STATE   CPU(sec) CPU(%)     MEM(k) MEM(%)  MAXMEM(k) MAXMEM(%)
VCPUS NETS NETTX(k) NETRX(k) VBDS   VBD_OO   VBD_RD   VBD_WR SSID
  Domain-0 -----r      72973    0.5    1048732    6.3   no limit
n/a     1    5        0        0    0        0        0        0    0
    one-11 --b---       1328    0.1    1048576    6.3    1048576
6.3     1    1    25275   191034    1        0    23272   600927    0

Thanks!

2011/8/29 Carlos Martín Sánchez <cmartin at opennebula.org>

> Hi,
>
> I believe this could be related to these issues [1,2].
>
> Can you please paste the output of 'ssh 1.1.1.1 sudo /usr/sbin/xentop
> -bi2' from the front-end, as oneadmin?
> It will help us debug the problem.
>
> Regards.
>
> [1] http://dev.opennebula.org/issues/656
> [2] http://dev.opennebula.org/issues/567
>
> --
> Carlos Martín, MSc
> Project Major Contributor
> OpenNebula - The Open Source Toolkit for Cloud Computing
> www.OpenNebula.org <http://www.opennebula.org/> | cmartin at opennebula.org
>
>
>
> On Fri, Aug 19, 2011 at 8:11 AM, KC LO <kclo2000 at gmail.com> wrote:
> > 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
> >> >
> >> >
> >
> >
> > _______________________________________________
> > 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/20110901/d77068d2/attachment-0002.htm>


More information about the Users mailing list