Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

request vmhost snapshot

Syntax

Syntax (SRX2300, SRX4120, SRX4300, SRX4700, SRX5400, SRX5600, and SRX5800)

Description

Create a recovery snapshot of the currently running and active file system partitions on the backup disk to recover the primary disk in case of failure.

On the device, back up the snapshot of the host OS image along with the Junos OS image. In case of failure of the primary disk, you can boot from the image available in the backup disk and then recover the primary disk with the snapshot created using the recovery option.

Note: Run the request vmhost snapshot command during a scheduled maintenance window to avoid potential service disruption.

Options

none—Create a snapshot from the current disk to the target disk without partitioning the target disk. Contents on target disk is lost.

config

(Optional) Sychronise configuration between the disks.

no-confirm

(Optional) Use the option to synchronize the configuration between the disks without a confirmation prompt.

partition

(Optional) Create a snapshot from the current disk to target disk and partition the target disk. Contents on the target disk are lost

re0 | re1

(Optional) Select the Routing Engine (re0/re1) where you want to create the snapshot. Default is the current executing Routing Engine.

For PTX1000 routers, since there is only one RE, re0|re1 is not supported.

Note:

The QFX10002-60C and PTX10002-60C devices do not have primary and backup routing engines.

recovery

(Optional) Recover the primary disk from the snapshot content stored in the backup disk. This option is applicable only when the Routing engine is booted from backup disk. Contents in the primary disk are lost.

routing-engine

(Optional) Specify the Routing Engine on which the snapshot is to be created. The following options are available:

  • backup—Backup Routing Engine.

  • both—Both Routing Engines.

  • local—Routing Engine on the local Virtual Chassis member.

  • master—Primary Routing Engine.

  • other—Other Routing Engine.

Required Privilege Level

maintenance

Sample Output

request vmhost snapshot

request vmhost snapshot (SRX2300, SRX4120, SRX4300, SRX4700, SRX5400, SRX5600, and SRX5800)

request vmhost snapshot recovery

Release Information

Command introduced in Junos OS Release 15.1F3.

Note:

PTX3000 router supports the Routing and Control Board, RCBPTX.

Platform-Specific vmhost Behavior

Use Feature Explorer to confirm platform, and release support for specific features.

Use the following table to review platform-specific behaviors for your platform:

Platform

Difference

SRX Series

  • SRX2300, SRX4120, SRX4300, SRX4700, SRX5400, SRX5600, and SRX5800 devices that run on vmhost, do not support the config and no-confirm options.

  • Run the command request vmhost snapshot partition on SRX2300, SRX4120, SRX4300, SRX4700, SRX5400, SRX5600, and SRX5800 devices only in the following scenarios:

    • The secondary disk is corrupted.

    • A new disk is installed in the secondary slot.