Setting Zone VLAN and Running VM Maximums
175
To set up the integration between CloudPlatform and Traffic Sentinel:
1. On your network infrastructure, install Traffic Sentinel and configure it to gather traffic data. For
installation and configuration steps, see inMon documentation at Traffic Sentinel Documentation
5
.
2. In the Traffic Sentinel UI, configure Traffic Sentinel to accept script querying from guest users.
CloudPlatform will be the guest user performing the remote queries to gather network usage for
one or more IP addresses.
Click File > Users > Access Control > Reports Query, then select Guest from the drop-down list.
3. On CloudPlatform, add the Traffic Sentinel host by calling the CloudPlatform API command
addTrafficMonitor. Pass in the URL of the Traffic Sentinel as protocol + host + port (optional); for
example, http://10.147.28.100:8080. For the addTrafficMonitor command syntax, see the API
Reference at API Documentation
6
.
For information about how to call the CloudPlatform API, see the Developer’s Guide at CloudStack
API Developer's Guide
7
.
4. Log in to the CloudPlatform UI as administrator.
5. Select Configuration from the Global Settings page, and set the following:
direct.network.stats.interval: How often you want CloudPlatform to query Traffic Sentinel.
14.9. Setting Zone VLAN and Running VM Maximums
In the external networking case, every VM in a zone must have a unique guest IP address. There are
two variables that you need to consider in determining how to configure CloudPlatform to support this:
how many Zone VLANs do you expect to have and how many VMs do you expect to have running in
the Zone at any one time.
Use the following table to determine how to configure CloudPlatform for your deployment.
guest.vlan.bits Maximum Running VMs per
Zone
Maximum Zone VLANs
12 4096 4094
11 8192 2048
10 16384 1024
10 32768 512
Based on your deployment's needs, choose the appropriate value of guest.vlan.bits. Set it as
described in Edit the Global Configuration Settings (Optional) section and restart the Management
Server.
5
http://inmon.com.
6
http://incubator.apache.org/cloudstack/docs/api/index.html
7
http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/API_Developers_Guide/
index.html