Tracking ACI endpoints
Once the number of tenants increases, it is likely that the number of virtual machines will also increase. How, then, do you keep track of all the VMs and to which tenant they belong?
Thankfully, the ACI Toolkit can help you with this (and a host of other scenarios).
How to do it…
- Download the ACI Toolkit virtual machine from http://bit.ly/1IzliZY.
- Deploy the OVA file to create the VMWare guest virtual machine.
- Update the packages by logging in to the virtual machine using the username and password of
acitoolkit
, then run the commandsudo ~/install
. - Connect the APIC to the ACI Toolkit’s MySQL database by running the following command:
python aci-endpoint-tracker.py
-u https://192.168.1.205 -l admin -p apicpassword -i
127.0.0.1 -a root -s mysqlpassword
- Log in to MySQL using this command:
mysql –u root –p
You will be prompted for the password.
- Switch to the ACI Toolkit database:
use acitoolkit;
- We can then query the endpoint table by using the following...