Hi,<div><br></div><div>Unlike the monitorization, the accounting is not done in intervals. All the actions on the VMs are stored, with the exact time of deployment, shutdown, migration, etc.</div><div><br></div><div>The accounting is done for each history entry, meaning that a VM with a migration will have 2 different accounting entries.</div>

<div>To get the exact number of seconds a VM is active, use STIME (Start Time) and ETIME (End Time).</div><div>This includes the disk files transfer times, but you can also get more detailed times:</div><div><br></div><div>

PSTIME PETIME: Prolog (files copied to the Host) start and end time</div><div>RSTIME RETIME: Running start and end time</div><div>ESTIME EETIME: Epilog (files copied back to the datastores) start and end time</div><div><br>

</div><div>See the accounting reference here [1]</div><div><br></div><div><br></div><div>I'm afraid I can't answer the networking questions, that is implemented using wizardry as far as I know.</div><div><br></div>

<div>Regards</div><div><br></div><div>[1] <a href="http://opennebula.org/documentation:rel3.6:accounting">http://opennebula.org/documentation:rel3.6:accounting</a><br clear="all">--<br>Carlos Martín, MSc<br>Project Engineer<br>

OpenNebula - The Open-source Solution for Data Center Virtualization<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>

<br>
<br><br><div class="gmail_quote">On Mon, Oct 8, 2012 at 9:26 AM, Gandalf Corvotempesta <span dir="ltr"><<a href="mailto:gandalf.corvotempesta@gmail.com" target="_blank">gandalf.corvotempesta@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Let's assume a standard configuration with 2 networks: public and internal.<br>
- Is possibile to configure multiple filtering types on the same cloud<br>
and on the same virtual instance?<br>
(ebtable for public, vlan/openvswitch for the internal)<br>
<br>
I'm asking this because I would like to avoid a public vlan for each<br>
customers on the public side (this will need a router reconfiguration<br>
every time, to add the proper gateway on the same broadcast domain of<br>
customer in each vlan)<br>
<br>
- Is possibile, for a customer, to create a sort of PVLAN where a part<br>
of its internal network will be isolated from other virtual machines<br>
(same customer and same vlan). For example, let's assume that<br>
customer1 has 5 VPS: vps1, vps2...vps5.<br>
VPS1 should communicate only with VPS4 in a sort of custom vlan. I<br>
have a VLAN, on private side, for each customers and I would like to<br>
give customers the capability  to create some communication groups.<br>
<br>
- Accounting: on which frequency accounting data are saved on DB? This<br>
is much important for us, as we will use this to invoice customers.<br>
Will be possibile to touch the real number of seconds that an instance<br>
was ON  and the real number of seconds that an instance was paused but<br>
with data still present on the node (no cpu/ram utilization but only<br>
disk utilization)<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">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>
</blockquote></div><br></div>