Syntax Syntax Function -H Shows Help for the Command Sys-Reset
Total Page:16
File Type:pdf, Size:1020Kb
K7550: Restoring the BIG-IP configuration to factory default settings (9.3.x - 9.4.x) Non-Diagnostic Original Publication Date: Jul 3, 2007 Update Date: Jul 3, 2018 Topic This article applies to BIG-IP 9.3.x - 9.4.x. For information about other versions, refer to the following articles: K13127: Restoring the BIG-IP configuration to factory default settings (11.x - 12.x) K10519: Restoring the BIG-IP configuration to factory default settings (10.x) In BIG-IP LTM 9.3.x and 9.4.x, you can restore all system configurations to factory default values using the sys-reset command. Restoring the BIG-IP LTM system to factory default values using the sys-reset command removes all system configuration settings, including the licensing information. All files that are not recorded in the RPM database will also be removed. The sys-reset command runs the sys-icheck utility, which identifies any unintended modifications to BIG-IP system files. If the sys-icheck utility does not find any system integrity issues, it returns the system to the factory default state. Note: For more information, refer to K9118: Overview of the sys-icheck utility. Description of the sys-reset command When you reset the BIG-IP LTM system to factory defaults, the sys-reset command performs the following tasks: Removes all BIG-IP system configuration and restores the factory default values Removes system licensing information Resets system passwords and the hostname to default settings Removes all files in the /shared partition Preserves management interface settings Syntax options for the sys-reset command You can perform the following options with the sys-reset command: Syntax Syntax function -h Shows help for the sys-reset command -p Ignores all applied hotfixes (not recommended) -u Ignores unrecoverable file errors -s Preserves the /shared partition Known Issues For information regarding known issues affecting the sys-reset utility, refer to the following Solutions: K10035: Issuing a sys-reset when remote authentication is configured will prevent logging into the system after a reboot K9384: The sys-reset utility does not correctly process filenames with spaces Running sys-reset To run the sys-reset command, perform one of the following procedures based on the configuration of your BIG-IP system: A system with multiple partitions A system with single partitions A system with hotfix packages installed Running sys-reset on BIG-IP systems with multiple partitions You can run the sys-reset command on systems with single or multiple partitions. When you run the sys- reset utility on systems with multiple partitions, all BIG-IP system configuration information is removed from the partition on which sys-reset was run. Configuration information on other partitions is not altered. The following BIG-IP systems contain multiple partitions: BIG-IP 520 and 540 (D35) BIG-IP 1500 (C36) BIG-IP 1600 (C102) BIG-IP 3400 (C62) BIG-IP 3410 (C100) BIG-IP 3600 (C103) BIG-IP 3900 (C106) BIG-IP 6400 (D63) BIG-IP 6800 (D68) BIG-IP 6900 (D104) BIG-IP 8400 (D84) BIG-IP 8800 (D88) BIG-IP 8900 (D106) Note: You must be local to the BIG-IP system with a console connection to perform this procedure. To run the sys-reset utility on systems with multiple partitions, perform the following procedure: 1. Log in to the command line from the system console. 2. 2. Boot the BIG-IP system to the partition from which you want to run the sys-reset command. Note: For more information, refer to K5658: Overview of the switchboot utility. 3. Back up the system license file to a remote location. 4. Set the system run level to single user mode by typing the following command: init 1 Important: Do not use the procedure outlined in K4178: Booting BIG-IP in single-user mode (GRUB 0.07) to set the machine to single-user mode when running the sys-reset utility. 5. From the prompt, type the following command: sys-reset A message displays indicating that the system reset is complete. 6. Reboot the device by typing the following command: reboot The BIG-IP system configuration has been restored to the factory default values. Running sys-reset on BIG-IP systems with single partitions You can run the sys-reset command on systems with single or multiple partitions. When you run the sys- reset utility on systems with a single partition, all BIG-IP system configuration information is removed from the partition. The following BIG-IP systems contain a single partition: BIG-IP 1000 D39 BIG-IP 2400 D44 BIG-IP 5100 D51 BIG-IP 5110 D51 Note: You must be local to the BIG-IP system with a console connection to perform this procedure. To run the sys-reset utility on systems with a single partition, perform the following procedure: 1. Log in to the command line from the system console. 2. Back up the system license file to a remote location. 3. Set the system run level to single user mode by typing the following command: init 1 Important: Do not use the procedure outlined in K4178: Booting BIG-IP in single-user mode to set the machine to single-user mode when running the sys-reset utility. 4. 4. From the prompt, type the following command: sys-reset A message displays indicating that the system reset is complete. 5. Reboot the device by typing the following command: reboot The BIG-IP system configuration has been restored to the factory default values. Running sys-reset with the -p option The sys-reset -p option runs sys-reset ignoring any hotfixes that have been applied to the system. Note: F5 does not recommended running sys-reset on a system in which a hotfix is installed. If you plan to run the sys-reset utility to restore a system to factory default values, you should first uninstall the hotfix. For more information about managing hotfixes, refer to K6845: Managing BIG-IP product hotfixes (9.x). Preserving the /shared partition By default, the sys-reset utility removes all files in the /shared partition. You can run the sys-reset command and have the system preserve all files in the /shared partition by typing the following sys-reset command: sys-reset -s Supplemental Information None Applies to: Product: BIG-IP, BIG-IP ASM, BIG-IP GTM, BIG-IP Link Controller, BIG-IP LTM, BIG-IP PSM, BIG-IP WebAccelerator 9.4.8, 9.4.7, 9.4.6, 9.4.5, 9.4.4, 9.4.3, 9.4.2, 9.4.1, 9.4.0, 9.3.1, 9.3.0.