Veritas NetBackup™ Appliance Commands Reference Guide
- Overview
- Appendix A. Main > Appliance commands
- Appendix B. Main > Manage > FibreChannel commands
- Appendix C. Main > Manage > HighAvailability commands
- Appendix D. Main > Manage > Libraries commands
- Appendix E. Main > Manage > Libraries > Advanced > ACS commands
- Appendix F. Main > Manage > License commands
- Appendix G. Main > Manage > MountPoints commands
- Appendix H. Main > Manage > NetBackup CLI commands
- Appendix I. Main > Manage > OpenStorage commands
- Appendix J. Main > Manage > Software commands
- Appendix K. Main > Manage > Storage commands
- Appendix L. Main > Manage > Tapes commands
- Appendix M. Main > Monitor commands
- Appendix N. Main > Network commands
- Appendix O. Main > Network > Security commands (DeviceCert)
- Appendix P. Main > Reports commands
- Appendix Q. Main > Settings commands
- Appendix R. Main > Settings > Alerts commands
- Appendix S. Main > Settings > Notifications view commands
- Appendix T. Main > Settings > Security commands
- Appendix U. Main > Support commands
Name
Main > Support > FactoryReset — Reset the appliance to factory default settings.
SYNOPSIS
FactoryReset
FactoryReset ResetAll
DESCRIPTION
Use this command to reset the appliance to the factory default settings. If you changed the default factory-set password, this command resets it back to the default value.
Note:
Starting with the NetBackup Appliance 5.0 release, if you perform a factory reset with storage preserved, you can reset the system to the current version only. If you perform a factory reset without storage preserved, you can reset the appliance to a different version. After the reset is completed, the original networking configuration will be lost, so you have to login using the IPMI to reconfigure the appliance
For appliance nodes in a high availability (HA) setup, you must first remove the node from the HA setup and disconnect its Ethernet and Fibre Channel (FC) cables before a factory reset.
Before a factory reset on any HA node, perform the following tasks in the order as they appear:
On the node that you do not want to remove, run the following command to remove the other node from the HA setup:
Manage > High Availability > Remove Node HostName
Where HostName is the host name of the node you want to remove.
Remove the Ethernet cables between the two nodes.
Remove the FC cables between the node and the Primary Storage Shelf.
After completing the previous tasks, you can run the FactoryReset command.
Note:
If you do not remove the node from the HA setup and disconnect the Ethernet and FC cables before a factory reset, the command fails. An error message appears to remind you to perform the previous tasks and then try the factory reset again.
OPTIONS
- FactoryReset
Use this command to reset the appliance to the factory default settings.
- FactoryReset ResetAll
Use this command to reset the appliance factory installed image in non-interactive mode.
EXAMPLES
To begin a factory reset from the appliance shell menu
- Open an SSH session and log on to the appliance as an administrator.
- Enter Main_Menu > Support > FactoryReset. This command shows the following messages and requires you to answer the questions that follow, before the factory reset begins:
[Info] Disable interrupt (CTRL-C), quit, and suspend signals.
[Info] The IPMI sysadmin user and its associated password, status, and permissions have been reset to the default values.
Appliance Factory Reset
Appliance factory reset will reset the entire system to the factory installed image. The appliance will have the following components reset to the factory restored settings/image: 1) Appliance Operating System 2) Appliance Software 3) NetBackup Software 4) Tape device configuration and associated tape images(data) on the primary server 5) Networking configuration (optionally retain) 6) Storage configuration and backup data (optionally retain) 7) Fibre Transport Deduplication target port configuration
- [Info] Successfully copied /usr/openv/netbackup/bp.conf to /cat/conf. - [Info] Running factory reset validation...please wait (approx 2 mins) - [Info] Factory reset validation successful.
RESET NETWORK CONFIGURATION [Optional] -- Resets the IP and routing configuration. -- Resets the DNS configuration. >> Do you want to reset the network configuration? [yes/no] (yes) no
RESET STORAGE CONFIGURATION and BACKUP DATA [Optional] -- Removes all the images on the AdvancedDisk, MSDP, Share partitions and associated tape images(data). -- Resets the storage partitions. -- Resets storage expansion units, if any. - [Warning] Performing a factory reset interrupts all share activity and removes and resets all share data. Unmount all the shares on clients before continuing with this operation. - [Info] Performing a factory reset removes the current Fibre Transport Deduplication target port configuration. >> Do you want to delete images and reset backup data? [yes/no] (yes) yes >> Resetting the storage configuration will remove all backup data on the storage partitions and any connected expansion units. This is not reversible. Are you sure you want to reset storage configuration? [yes/no] (yes) yes
- After you respond to these questions, the following summary information is shown:
FACTORY RESET SUMMARY --------------------- Reset Appliance OS, software configuration : [YES] Reset Appliance network configuration : [NO] Reset Appliance storage configuration (REMOVE DATA) : [YES]
Appliance will make the following version changes: +------------------------------------------------------------------------------+ | Appliance | Version before factory reset | Version after factory reset | |------------+--------------------------------+--------------------------------| |n40-h129 | NetBackup 10.0 Appliance 5.0 | NetBackup 10.0 Appliance 5.0 | +------------------------------------------------------------------------------+
- The following warning appears. If you want to begin the factory reset operation, enter Yes.
WARNING: An appliance factory reset cannot be reversed! The reset process takes about 90 minutes. The appliance will be restarted to start the reset process. Do you want to continue? (yes/no) yes
The following summary messages appear as the factory reset continues:
Performing factory reset. This operation could take 15-20 mins. Please wait... - [Info] Skipping NetBackup configuration reset for primary server 'n40-h129'. - [Info] PERFORMING APPLIANCE RESET TO FACTORY STATE - [Info] Delete checkpoints (type: NON_FACT) succeeded - [Info] Successfully copied /usr/openv/netbackup/bp.conf to /cat/conf. - [Info] Reset of the appliance to FACTORY STATE successful. - [Info] Stopping NetBackup processes... (6 mins approx) - [Info] Moving NetBackup Appliance Directory to n40-h129... - [Info] Acquired lock on the storage. - [Info] Resetting the storage configuration... - [Info] Checking whether the 'MSDP' partition exists... - [Info] Initiating deletion of 'MSDP' storage partition... - [Info] Removing the mount point for the 'MSDP' partition '0'... - [Info] Deleting the 'MSDP' partition '0'... - [Info] Checking whether the 'NetBackup Catalog' partition exists... - [Info] Initiating deletion of 'NetBackup Catalog' storage partition... - [Info] Removing the mount point for the 'NetBackup Catalog' partition '0'... - [Info] Deleting the 'NetBackup Catalog' partition '0'... - [Info] Checking whether the 'Share' partition exists... - [Info] The 'Share' partition does not exist. - [Info] Checking whether the 'MSDP Catalog' partition exists... - [Info] Initiating deletion of 'MSDP Catalog' storage partition... - [Info] Removing the mount point for the 'MSDP Catalog' partition '0'... - [Info] Deleting the 'MSDP Catalog' partition '0'... - [Info] Checking whether the 'Configuration' partition exists... - [Info] Initiating deletion of 'Configuration' storage partition... - [Info] Removing the mount point for the 'Configuration' partition '0'... - [Info] Deleting the 'Configuration' partition '0'... - [Info] Checking whether the 'NetBackup VxUpdate Repository' partition exists... - [Info] Initiating deletion of 'NetBackup VxUpdate Repository' storage partition... - [Info] Removing the mount point for the 'NetBackup VxUpdate Repository' partition '0'... - [Info] Deleting the 'NetBackup VxUpdate Repository' partition '0'... - [Info] Checking whether the 'AdvancedDisk' partition exists... - [Info] Initiating deletion of 'AdvancedDisk' storage partition... - [Info] Removing the mount point for the 'AdvancedDisk' partition '0'... - [Info] Deleting the 'AdvancedDisk' partition '0'... - [Info] Checking whether the 'NetBackup Cloud Catalyst Cache' partition exists... - [Info] The 'NetBackup Cloud Catalyst Cache' partition does not exist. - [Info] Optimized Share Reserve does not exist. - [Info] Removing the storage configuration... - [Info] Starting NetBackup processes... (6 min approx) - [Info] Successfully started NetBackup services. Rebooting the appliance now... - [Info] Rebooting appliance to complete the reset. Please reconnect to the appliance shell menu to continue using this appliance. Broadcast message from root@n40-h129 (pts/1) (Sun Jan 12 17:55:22 2020): The system is going down for reboot NOW!