Prisma AIRS
Cluster Management
Table of Contents
Expand All
|
Collapse All
Prisma AIRS Docs
Cluster Management
Learn about the horizontal and vertical scaling of nodes in a KVM HSF
cluster.
| Where Can I Use This? | What Do I Need? |
|---|---|
|
|
Horizontal Scale Out (Add Node):
- Log in to SCM and navigate to Insights > Deployment.Select Private Cloud KVM and select Modify an Existing Firewall Cluster.Select the HSF cluster you wish to modify and click Next.Modify the parameters you wish to change such as Number of vCPUs, memory, image path and so on.Click Create Terraform Template and then Download Terraform template.The parameters that are greyed out are not modifiable. You may choose to Clone an existing Terraform as a template.
Download the new, updated ZIP file from SCM.Unzip and overwrite existing files in the deployment directory, preserving .tfstate.Navigate to the new node's directory and run terraform init, terraform plan, terraform apply.- Avoid running terraform apply on the folder containing nodes that are already deployed. This operation is not supported for existing deployments.
- You can also use the deploy-cluster.sh script for this if using the remote deployment. This script is not relevant for local deployments.
Horizontal Scale In (Delete Node)
Deleting a node requires you to:- Manually delicense the firewall
- Manually remove the node from the Panorama
Execute the following steps in the order listed below:- Manually delicense the firewall - You can manually delicense the firewall using the Licensing API key through UI or CLI:
- UI - De-licensing requires the 'Licensing API' key to be configured on the Panorama. This key can be obtained from CSP.
- CLI - Execute the command:request batch license deactivate VM-Capacity mode auto devices <serial-number>Note Serial Number - Record the serial number of the node to be deleted.Terraform Destroy - Navigate to the respective node's directory and run terraform destroy.All terraform commands need to be executed by sudo user.Cleanup:
- Delete Folder: Remove the respective node folder from the local system.
- Update SCM: Remove the node from the SCM template configuration.
- Panorama/CSP Cleanup: Manually remove the node from Panorama (device
group, template stack, log collector group, cluster, mgt-config)
using the following commands:Execute the following commands in configure mode.delete device-group <device-group-name> devices <serial-number>delete template-stack <template-stack-name> devices <serial-number>delete log-collector-group <lc-name> devices <serial-number>delete mgt-config devices <serial-number>delete cluster <cluster-name> devices <serial-number>commit
- Release CSP Credits: Manually release the credits associated with the deleted node's serial number.
Cluster Delete
The cluster can be deleted using: - Local Deployment - To remove all cluster nodes, follow the same steps as for a Horizontal Scale In. This involves:
- Delicensing
- Panorama cleanup
- Running terraform destroy sequentially within each folder
- Instead of running terraform destroy in each folder (as in step 3 for local deployment), execute the script ./deploy_cluster.sh destroy. This script will perform the terraform destroy operation for all nodes and provide a final summary.
Additionally, after all references on Panorama have been removed, execute the delete cluster command to finalize the removal of the cluster. This deletion can also be performed through the UI, followed by a commit to Panorama.delete cluster <cluster-name>commitVertical Scaling (Resource Update)
- Power off the KVM instance for the node.
- Manually modify vCPU, memory, or network interface parameters on the KVM host using the virt-manager or CLI.
- Power on the KVM instance.
- Update corresponding parameters in the SCM template for consistency.
Applying Terraform after changing variables such as vCPU or memory is not recommended. Doing so may not only prevent the changes from taking effect but could also result in the destruction of the cluster.Interface Attachor Detach (P-Nodes Only)
- Power off the VM.
- Manually attach or detach interfaces using libvirt commands.
- Power on the VM.
Upgrade or Downgrade Software
- Ensure all existing nodes have transitioned to the new image through the Panorama update process.
- Update the SCM template with the new image name.
- New nodes added through SCM will use the new image; existing nodes will need to be manually upgraded, one node upgrade at a time, starting with lowest node1 and going to next node ID through Panorama > Managed devices.