Junos
Highlighted
Junos

Junos in Primary and Back up partition

‎11-29-2018 05:42 PM

Hi everyone,

 

Is there a way we can have same copy of JUNOS in back up partition as we have in Primary partition?

Background:

we have EX4200 in Virtual chassis, with two members, we had a power issue but when power came up, Virtula chassis was  broken  because switches were booted from back up partition which had different JUNOS version.

 

Thanks,

 

7 REPLIES 7
Highlighted
Junos

Re: Junos in Primary and Back up partition

‎11-29-2018 06:50 PM
Yes, use the system snapshot command after you’ve booted into the correct version on both members.

request system snapshot slice alternate
Highlighted
Junos
Solution
Accepted by topic author sarahr202
‎11-30-2018 07:03 AM

Re: Junos in Primary and Back up partition

‎11-30-2018 03:08 AM

You can also configure the auto snapshot option that will keep the snapshots in sync as the configuration changes.

 

https://www.juniper.net/documentation/en_US/junos12.3/topics/reference/configuration-statement/auto-...

 

Steve Puluka BSEET - Juniper Ambassador
IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP)
http://puluka.com/home
Highlighted
Junos

Re: Junos in Primary and Back up partition

‎12-02-2018 04:32 PM

Hi Spuluka.

 

I Just want to confirm my understanding is correct

set system auto-snapshot.

The above command will perform followings:

 

1) When even there is a change in the config,  alt config folder gets updated. 

2)  If some reason, router boots up from Secondary , then command also overwrite root and config folders with the contents of alt root and alt config.

 

The link you have provided does not say anything about (1).   I am assuming but this is how it works eventhough link does not say anything it.

 

Also when we use set system auto-snapshot, does it also copies JUNOS packages from /root to ALT/root ? or do we have to use request system snapshot?

 

Appreciated all the help!!

 

Highlighted
Junos

Re: Junos in Primary and Back up partition

‎12-03-2018 03:51 AM

The operational command

show system auto-snapshot

 

Will list separately if the configuration and system snapshots are engaged on the platform.

I am not sure which platforms and versions engage both.

 

Steve Puluka BSEET - Juniper Ambassador
IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP)
http://puluka.com/home
Highlighted
Junos

Re: Junos in Primary and Back up partition

‎12-03-2018 07:24 AM

Auto-snapshot simply rewrites the secondary partition with the new primary in the event of a failed boot and saves you the trouble of having to do it manually. There is no alt configuration partition -- /var and /config are shared by the two roots.

 

 

https://www.juniper.net/documentation/en_US/junos/topics/concept/switch-resilient-dual-root-partitio...

 

Highlighted
Junos

Re: Junos in Primary and Back up partition

‎12-03-2018 07:33 AM

Thanks,

 

So on SRX 650, when I run the command show system auto-snapshot, I see:

 

Auto-snapshot configuration Enabled

Auto -snapshot State: Disabled

 

What about JUNOS? Is it not backed up?

Thanks

 

 

 

 

 

Highlighted
Junos

Re: Junos in Primary and Back up partition

‎12-03-2018 08:28 AM

That simply means auto-snapshot is neither in progress nor been executed in the past.

 

https://www.juniper.net/documentation/en_US/junos/topics/reference/command-summary/show-system-auto-... 

Feedback