How to set up two HA (active / passive mode) firewalls to be managed by panorama

Reply
L0 Member

How to set up two HA (active / passive mode) firewalls to be managed by panorama

Hi All,


I already have two firewalls to set HA and use Active / Passive mode.
But when I put both devices into the same Device Groups and Templates and push the configuration file to both devices, the HA settings of the second device will be overwritten by the HA settings of the first device.


I saw this "Migrate a Firewall HA Pair to Panorama Management"


It mentioned that it seems to set variables

Please help me.

 

Thank you!

Tags (3)
Highlighted
L7 Applicator

Re: How to set up two HA (active / passive mode) firewalls to be managed by panorama

Hi @HankHsieh 

I would configure the HA config locally on the devices and not in the template on panorama. This way you will have a lot less troubles. Some of the HA config you can configure in panorama with different device specific templates so that both devices have different configurations, but at least the HA IP addresses you must configure locally on the device (https://docs.paloaltonetworks.com/panorama/9-0/panorama-admin/manage-firewalls/manage-templates-and-...) so I recommend to simply configure HA completely local.

 

Highlighted
L3 Networker

Re: How to set up two HA (active / passive mode) firewalls to be managed by panorama

Hello

 

We are creating template stacks, one dedicated stack per node

1) node specific template

2) system specific template

3) general template

 

In the node specific themplate the HA settings are set. Everything else is configured in the system specific template. This ensures that no config (except mgn interface related one) needs to be done on the firewall nodes, everything is managed by panorama.

Highlighted
L7 Applicator

Re: How to set up two HA (active / passive mode) firewalls to be managed by panorama

@JoergSchuetter  how did you manage to configure the HA IP adresses in a template on panorama? I would also prefer to use the template for everything but because of the HA IP addresses there was such a mess that I simply changed to configure everything HA related locally.

Highlighted
L0 Member

回复: How to set up two HA (active / passive mode) firewalls to be managed by panorama

After I managed the device from panorama,

I used the same template and device group for both HA devices, and set all HA configs of this template to variables, and manually set the HA settings locally on the passive device, which works normally!

Highlighted
L3 Networker

Re: How to set up two HA (active / passive mode) firewalls to be managed by panorama

The setup looks like this:

JoergSchuetter_0-1579711722123.png

 

JoergSchuetter_1-1579711736856.png

JoergSchuetter_2-1579711754169.png

Besides this, there is only a config for the management interface certificate in the node template.

Highlighted
L7 Applicator

Re: How to set up two HA (active / passive mode) firewalls to be managed by panorama

Hi @JoergSchuetter 

Thanks for sharing. In this case I will give it another try.

The question now is why does paloalto write in the adminguide that IP addresses of HA firewalls can only be configured locally ... @kiwi do you may have the answer?

 

Edit: @JoergSchuetter what PAN-OS version do you use? When I configure the HA IPs in panorama template stack, they are not applied to the firewall. All the HA config works, but when I check locally on the firewall the IPs aren't from the template...

Highlighted
L3 Networker

Re: How to set up two HA (active / passive mode) firewalls to be managed by panorama

@vsys_remo : We are using this template stack since version 8.0 (works well with 8.1 and 9.0).

One initial step is to clean up the local stored config:

delete rulebase

delete zone trust

delete zone untrust

delete network virtual-wire default-vwire

delete network interface

delete network tunnel

delete network ike

delete network virtual-router default

delete deviceconfig system update-schedule

delete deviceconfig high-availability

delete deviceconfig system timezone

Highlighted
L7 Applicator

Re: How to set up two HA (active / passive mode) firewalls to be managed by panorama

@JoergSchuetter 

Did exactly that (besides the HA config I have nothing locally), but there is no value for HA IP address locally on the firewall ...

Highlighted
L3 Networker

Re: How to set up two HA (active / passive mode) firewalls to be managed by panorama

@vsys_remo 

What do you mean with "no  value for HA IP address locally"?

It will not be listed on the CLI using "show ..."

Does it show up in the GUI of the firewall?

 

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!