Model mismatch across cluster members-paloaltonetworks-panos
Indeni will identify when two devices are part of a cluster and alert if the model of device in use is different.
Replace one of the devices to match the other.
How does this work?
This script uses the Palo Alto Networks API to retrieve the hardware model of the device. indeni then compares the result to the same script run on other members of the same cluster.
Why is this important?
Two or more devices which operate as part of a single cluster must be running on the same hardware.
Without Indeni how would you find this?
Manual tracking by an administrator is usually the only method for knowing when two devices are not running on the same hardware.
Failed to fetch the data: https://bitbucket.org/indeni/indeni-knowledge/src/master/parsers/src/panw/panos/show-system-info-monitoring.ind
// Deprecation warning : Scala template-based rules are deprecated. Please use YAML format rules instead. package com.indeni.server.rules.library.templatebased.crossvendor import com.indeni.server.rules.RuleContext import com.indeni.server.rules.library.templates.SnapshotComparisonTemplateRule import com.indeni.server.rules.RemediationStepCondition /** * */ case class CrossVendorCompareModel() extends SnapshotComparisonTemplateRule( ruleName = "cross_vendor_compare_model", ruleFriendlyName = "Clustered Devices: Model mismatch across cluster members", ruleDescription = "Indeni will identify when two devices are part of a cluster and alert if the model of device in use is different.", metricName = "model", isArray = false, alertDescription = "The members of a cluster of devices must have the same device models in use.", baseRemediationText = "Replace one of the devices to match the other.")( RemediationStepCondition.VENDOR_JUNIPER -> """|1. Run "show version" command to review device model, operating system and software version. |2. Each node of SRX must have the same hardware. |3. Each node of SRX chassis cluster must be running the same version of Junos. |4. Review the following article on Juniper tech support site: <a target="_blank" href=" https://kb.juniper.net/InfoCenter/index?page=content&id=KB15911&actp=METADATA">SRX Getting Started - Troubleshoot High Availability (HA)</a>""".stripMargin )