====== Deploying an Infoblox Reporting Server in a Lab ======
===== Management =====
If MGMT port is enabled on a Grid Member (e.g. DNS member), then the member will use the MGMT port to communicate with the reporting server (if there is a reporting server configured).
===== Deploy NIOS Reporting VM =====
**NOTE**: Even when you have a proper reporting license, you will still need to set the permanent reporting license using the set temp_license command on the reporting server after it has joined the Grid.
Before doing anything, SSH into the Grid Manager appliance and run ''show license_uid'' to get the Grid UID (rather than the Grid Managers 'member' UID. This is used to get the reporting license for daily data ingestion from Infoblox as the reporting license is Grid wide rather than being assigned to a specific member.
Infoblox > show license_uid
The grid-wide license unique ID (same as LPC_UID): d6f127686f4549308543a1c2d10497e9
Be aware that the reporting server will want username/password for a remote SCP server (of your choice) that it can use for data exports. Prepare this in advance.
Before deploying the new reporting VM, add the member into the Grid Manager (Grid > Grid Manager > Members > Add). Don't forget to set the Member Type to "Virtual NIOS" rather than "Infoblox" and then set Host Name and IP Address details. Don't forget that reporting servers cannot be deployed as HA members. If required, resiliency is achieved through using multiple reporting servers.
Once that is done, make sure you also have the
* Grid Name
* Grid Shared Secret
* IP address of the Grid Manager (LAN1 or, if HA is used, the HA VIP).
To deploy an Infoblox Reporting server, you will need the same OVA file that you use to deploy the Grid Manager/Grid Member VMs.
Deploy the OVA BUT DO NOT POWER ON. Before you power the deployed VM for the first time, add a second disk. This will be used for storing logs. IB-V5005 licensed cannot be applied later if there is no second disk attached. It can be as large as you like but it cannot be resized after deployment without redeploying the whole VM. For a tiny test lab, 10GB is fine. For production, talk to your account team at Infoblox or professional services. Officially, Infoblox recommends provisioning the reporting disk of size greater than or equal to 250 GB.
The amount of CPU/RAM assigned is flexible. For a tiny test lab, 4 vCPU and 8GB RAM is fine to start with. You may even be able to reduce to 2 vCPU and 4GB RAM. For production, talk to your account team at Infoblox or professional services. You will likely need 8 vCPU and 32GB RAM minimum.
Power on the VM.
Log in via the console with the credentials admin/infoblox.
Run set ''temp_license'' and add a NIOS license (option #4) and then select IB-V5005 (option #29). The numbers are based on NIOS 9.0.6. Earlier versions of NIOS might number them differently.
This reboots the VM. Wait for the VM to reboot. It might take the VM about a minute to actually initiate the reboot.
Log in via the console with the credentials admin/infoblox.
Run set ''temp_license'' and you should now see only three options instead of twenty nine.
- Add NIOS License
- Add Grid license
- Add Reporting subscription license
Add a Grid license (option #2). This is necessary for us to be able to join the VM to the NIOS Grid.
Run ''set network'' to set the appropriate IP. When asked if you want to become a Grid Member, say no (you can say yes if you want but I like to keep my steps segregated).
This reboots the VM.
Assuming you didn't choose to join the Grid when setting the network, log in via the console with the credentials admin/infoblox.
If you want to use the MGMT port (you probably don't) then configure it now as per [[infoblox_nios:deploy_nios_vm#mgmt_port|these instructions]].
On the VM, run ''set membership'' and provide the Grid Manager VIP (LAN1 or HA as appropriate), the Grid Name, and the Grid Shared Secret to join it to the Grid.
This reboots the VM and joins it to the Grid. Once it has joined to the Grid, any further configuration is doing using the Grid Manager UI or via SSH to the reporting member using credentials for the Grid Manager.
Log into the Grid Master and check that the member is connected by checking ''Grid > Grid Manger > Members''. It should be Green. Yellow indicates it is still setting up/syncing.
SSH into the reporting member (assuming you have enabled SSH under Grid > Grid Manager > Grid Properties >Advanced mode >Security > Advanced > Enable Remote Console Access.
Run set ''temp_license'' and you should now see only three options instead of twenty nine.
- Add NIOS License
- Add Grid license
- Add Reporting subscription license
Add a Reporting subscription license (option #3). This will generate a perpetual, Grid Wide, Reporting license which can be seen under Grid > Licenses > Grid Wide.
Select license (1-3) or q to quit: 3
This action will generate a perpetual Reporting license.
Are you sure you want to do this? (y or n): y
Reporting Subscription temporary grid-wide license installed.
Temporary license (grid-wide) is installed.
Infoblox >
Log out of the Grid Manager UI and back in and you will now see the "Reporting" tab next to "Smart Folders" in the GUI top banner. The icon of the reporting server under Grid > Grid Manager > Members will also have changed from solid blue to the reporting icon.
Set the reporting settings by going to ''Grid > Grid Manager > Reporting > Services'' and clicking the "Edit" button the right (or 'Grid Reporting Properties' if you click the little black down arrow next to "Edit" on the right side of the screen.
Under ''General > Basic'' tick "Enable Data Indexing". If you want to have data older than X days deleted, tick "Enable Time Based Retention" and set the "Retention in days" field when enabling Category.Then select the check boxes and enter the index percentages below this box. Where a category is ticked, it must be configured to have an index % greater than 0 and the sum of all the ticked boxes must not exceed 100%.
Save and close.
Go to the Grid Master ''Grid > Grid Manager > Reporting > Services''.
Click the member and then click start (play button). It may take a few minutes to start up.
You should now be able to view the reporting server under the ''Reporting'' tab on the Grid Master.
When you access the "Reporting" tab for the first time, you will see the "App configuration" wizard (SCP folder configuration)
Click the "Continue to app setup page"
Set username/password for SCP protocol as well as Host/IP address and Host port and destination path.
Finally, don't forget to get proper licenses installed. You will need to apply two sets of licenses
* The NIOS and Grid license for the reporting server that makes it a TE-v5005 (or IB-v5005, same thing) as well as gives it permission to join the Grid. These are $0 from Infoblox and you can have as many as you like.
* The Grid Wide reporting license that specifies the maximum amount of data the reporting system in the Grid can ingest daily. 500Mb is $0. Higher than that, you get 1GB, 2GB, etc.
To get the proper licenses, you need to register the reporting VM in the Infoblox Support portal. Get the Hardware ID by running show hwid
Infoblox > show hwid
Hardware ID: 564D21240E8FA9695FCE5704BEA203AA
To get the proper Grid wide license, you need to register the "Grid" as a VM in the Infoblox support portal and assign the Grid Wide ingestion license to it.
===== Replacing Perpetual Reporting=====
* Run ''show license_uid'' on the Grid Manager **NOTE**: You need to already have a Grid license and NIOS license installed. Set a temp license if required.
* Create "Virtual Appliance" in the support portal using the Grid UID from step 1. Assign the Grid Wide reporting license.
* Remove the old permanent reporting license from the Grid.
* Power off the old reporting server.
* Power on the new reporting server.
* Add the new reporting server to the Grid.
* And the new "Grid Wide" subscription reporting license to the Grid.
[[https://www.linkedin.com/pulse/replacing-infoblox-servers-without-pranks-rodrigo-gomes-dos-santos|Useful Guide to replacing old reporting type with new reporting type]]