공식 댓글
Your welcome guys, glad to help. Get in touch if you have any questions.
Hello,
I just want to hear if anybody are using some kind of billing system for Cloudplatform 3.0.6/3.0.7.
I know there is Cloud Platform Business manager 1.4/2.0, but are there other out there
anybody have some nice Excel sheets.. - LOL
Kind regards
Gert
Your welcome guys, glad to help. Get in touch if you have any questions.
I don't know about a complete billing system but this might get your started:
CloudPlatform's API has some calls that could help you track people's usage. Have a look at :
http://download.cloud.com/releases/3.0.6/api_3.0.6/TOC_Root_Admin.html
There's a section called Usage. More specifically, I think this is the API call which would help you:
http://download.cloud.com/releases/3.0.6/api_3.0.6/root_admin/listUsageRecords.html
It isn't a billing system but it does provide information which would help you build one by returning needed values in an XML format.
Hi Gert,
Amysta (http://www.amysta.com/) have great billing and chargeback solution.
I have also worked on multiple billing integration projects, it all depends on your requirements.
Best Regards,
Tariq
Hello,
All i need is the records so i can have something to base my invoices on.
like: http://cloud.dzone.com/articles/analyzing-cloudstack-usage
Kind regards
Gert
If you're looking to extract the information from a DB like the link you provided, the information you're looking for is in a DB called cloud_usage:
mysql> use cloud_usage;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> show tables;
----------------------------
| Tables_in_cloud_usage |
----------------------------
| account |
| cloud_usage |
| usage_event |
| usage_ip_address |
| usage_job |
| usage_load_balancer_policy |
| usage_network |
| usage_network_offering |
| usage_port_forwarding |
| usage_security_group |
| usage_storage |
| usage_vm_instance |
| usage_volume |
| usage_vpn_user |
| user_statistics |
----------------------------
15 rows in set (0.00 sec)
mysql>
I'm not sure I understand your question. The information is found in cloud_usage and that database resides on your management server.
If you have a careful read of the URL you provided, you'll see that the poster provides an almost completed solution. the info he provides is enough to pull VM names and disk sizes and I'm assuming once that's done it's pretty easy to graph. You could look at what he did and and modify it for the other items such as CPU memory and network usage.
Erik
I recently did a presentation on working with the Usage Data at CCC13. The slides may be of some help: http://www.slideshare.net/se_100/ccc13-presentation?from_search=9
Best Regards
Ask, Discuss, Answer