Veritas NetBackup™ Appliance Commands Reference Guide
- Overview
- Appendix A. Main > Appliance commands
- Appendix B. Main > Manage > FibreChannel commands
- Appendix C. Main > Manage > Libraries commands
- Appendix D. Main > Manage > Libraries > Advanced > ACS commands
- Appendix E. Main > Manage > License commands
- Appendix F. Main > Manage > MountPoints commands
- Appendix G. Main > Manage > NetBackup CLI commands
- Appendix H. Main > Manage > OpenStorage commands
- Appendix I. Main > Manage > Software commands
- Appendix J. Main > Manage > Storage commands
- Appendix K. Main > Manage > Tapes commands
- Appendix L. Main > Manage > Certificates commands
- Appendix M. Main > Monitor commands
- Appendix N. Main > Network commands
- Appendix O. Main > Network > Security (IPsec) commands
- 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.
For nodes in an appliance 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.
Note:
If you attempt to run a factory reset or initiate a rollback to a non-HA checkpoint on a node in an HA setup, the HA setup can malfunction.
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.
Disconnect the Ethernet cables and the FC cables from the removed node.
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 following questions before the factory reset begins.
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 media configuration on the master server 5) Networking configuration 6) Storage configuration and backup data (optionally retain) - [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 and MSDP storage pools. -- Resets the storage partitions. -- Resets storage expansion units, if any. >> Do you want to delete images and reset backup data? [yes/no] (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) >> A reboot of the appliance is required to complete the factory reset. Reboot automatically after reset? [yes/no] (no) yes >> Automatically rebooting after the reset will not provide you with an opportunity to review the progress/final status of the reset. Are you sure you would like to automatically reboot? [yes/no] (no) 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] Auto reboot after reset? : [YES] Appliance will make the following version changes: +------------------------------------------------------------------------------+ | Appliance | Current Version | Reverted Version | |------------+--------------------------------+--------------------------------| |v49 |NetBackup 7.6.0.1 Appliance |NetBackup 7.6.0.1 Appliance | | |2.6.0.1 |2.6.0.1 | +------------------------------------------------------------------------------+
- The following warning appears. If you want to begin the factory reset operation, enter Yes.
WARNING: an Appliance Factory reset cannot be reversed! Continue with factory reset? yes
The following summary messages appear as the factory reset continues:
- [Info] PERFORMING APPLIANCE RESET TO FACTORY STATE ON : abc123.example.com - [Info] Delete checkpoints (type: NON_FACT) succeeded - [Info] Reset of the appliance to FACTORY STATE successful. - [Info] Stopping NetBackup processes... (6 mins approx) - [Info] Moving NetBackup Appliance Directory to ce-win21-urmi1... - [Info] Acquired lock on the storage. - [Info] Resetting the storage configuration... - [Info] Checking whether the 'MSDP' storage partition exists... - [Info] Initiating deletion of 'MSDP' storage partition... - [Info] Unmounting the 'MSDP' partition '0'... - [Info] Deleting the 'MSDP' partition '0'... - [Info] Checking whether the 'Catalog' storage partition exists... - [Info] Initiating deletion of 'Catalog' storage partition... - [Info] Unmounting the 'Catalog' partition '0'... - [Info] Deleting the 'Catalog' partition '0'... - [Info] Checking whether the 'Configuration' storage partition exists... - [Info] Initiating deletion of 'Configuration' storage partition... - [Info] Unmounting the 'Configuration' partition '0'... - [Info] Deleting the 'Configuration' partition '0'... - [Info] Checking whether the 'AdvancedDisk' storage partition exists... - [Info] Initiating deletion of 'AdvancedDisk' storage partition... - [Info] Unmounting the 'AdvancedDisk' partition '0'... - [Info] Deleting the 'AdvancedDisk' partition '0'... - [Info] Removing the storage configuration... - [Warning] Failed to query SCSI device '/dev/system/root'. - [Warning] Failed to query SCSI device '/dev/system/root'. >> A reboot of the appliance is required to complete the factory reset. Reboot now?[yes/no] (no)yes Rebooting the appliance now... - [Info] Rebooting abc123.example.com... Broadcast message from root (Mon Nov 25 11:56:39 2013): The system is going down for reboot NOW! - [Info] Rebooting appliance to complete the reset. Please reconnect to the Appliance shell menu to continue using this appliance