網頁

2009年7月29日 星期三

SOL7550: Resetting the BIG-IP system configuration to the factory default settings using the sys-reset command

SOL7550: Resetting the BIG-IP system configuration to the factory default settings using the sys-reset command


Updated: 7/22/09 2:52 PM
Solution

Beginning with BIG-IP LTM version 9.4, you can restore all system configurations to factory default values using the sys-reset command.

Note: The sys-reset command was removed in BIG-IP version 10.0.1.

Note: For information about resetting the BIG-IP system for versions 9.0 through 9.3, refer to SOL6887: Resetting the BIG-IP system configuration to the default settings.

Restoring the BIG-IP LTM 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 SOL9118: Overview of the sys-icheck utility.

Description of the sys-reset command

When you reset the BIG-IP LTM 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:

SOL10035: Issuing a sys-reset when remote authentication is configured will prevent logging into the system after a reboot

SOL9384: 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 6400 (D63)
  • BIG-IP 6800 (D68)
  • BIG-IP 8400 (D84)
  • BIG-IP 8800 (D88)

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. Boot the BIG-IP system to the partition from which you want to run the sys-reset command.

    Note: For more information, refer to SOL5658: 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: The procedure outlined in SOL4178: Booting BIG-IP in single-user mode should not be used 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 will display 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:
    Note: This step is not required in BIG-IP version 10.0.0 and later. Proceed to step 4.
    init 1

    Important: The procedure outlined in SOL4178: Booting BIG-IP in single-user mode should not be used to set the machine to single-user mode when running the sys-reset utility.
  4. From the prompt, type the following command:

    sys-reset

    A message will display 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 Networks 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 SOL6845: Managing F5 Networks product hotfixes.

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

沒有留言:

張貼留言

追蹤者