General system maintenance

This section describes common maintenance procedures to perform on your ASMS system.

Reboot the appliance

This procedure describes how to reboot your appliance, which is sometimes required as part of other maintenance and configuration procedures.

Note: Perform a graceful shutdown and restart of the ASMS services to prevent unexpected behavior. For details, see ASMS graceful shutdown and startup in AlgoPedia.

Do the following:

  1. Connect to the ASMS Administration Interface. For details, see Connect to the Administration Interface.

  2. Press CTRL+C to exit the menu.

  3. Run the following command:

    reboot

If needed, Hardware Appliances can also be rebooted by pressing the power button on the front panel of the appliance for 10 seconds, and then pressing it again. We do not recommend this method as part of regular operation.

Back to top

Reset the appliance to factory defaults

This procedure describes how to reset the appliance to factory defaults, and must be performed if you are reusing an appliance in a new role.

For example, you might do this if you appliance was previously used as a Central Manager, and you now want to use it as a Load Unit or Remote Agent.

Note: Resetting the appliance to factory defaults erases all of the information on the appliance, including configurations, user data, and so on, and returns it to its initial, out-of-the-box state.

Do the following:

  1. We recommend backing up your data before you reset the appliance.

  2. Connect to the ASMS Administration Interface. For details, see Connect to the Administration Interface.

  3. Run the following command:

    reboot

  4. When the appliance reboots and a message appears, press SPACE. Do this within 5 seconds to prevent the appliance from fully rebooting.

    The appliance OS menu appears.

  5. Use the arrow keys to select Restore to Factory Defaults, then press ENTER.

    A warning message appears.

  6. Enter erase.

    Another warning message appears.

  7. Enter YES. Make sure you use capital letters.

    The system is formatted and re-installed, and all data is deleted. This process can take several minutes.

    At the end of the process, the system is automatically restarted.

  8. Continue by configuring your machine again. For details, see Configure ASMS machines.

Back to top

Migrate the Central Manager

This procedure describes how to migrate the ASMS Central Manager to another appliance, including a virtual appliance, AlgoSec hardware appliance, or an AWS/Azure instance. For example, you may want to do this while in the process of decommissioning end-of-life appliances or moving up to the cloud.

Note: Migration from a native Linux server is not supported. If you must migrate to a different deployment, perform a backup to an external backup server. Then connect the target appliance to the same backup server and perform ASMS restore from the backup server to the target appliance . See Backup and restore

Note: Migration can be performed only from the Central Manager that is being migrated.

Additionally, if you are working with HA clusters, this procedure breaks those clusters. Rebuild them when the migration is complete.

Do the following:

  1. Verify the system specifications on the source and target machines.

    ASMS versions

    Ensure that the ASMS version and build installed on both the source and target machines are identical.

    License

    Ensure that a valid ASMS license is installed on the target machine. For more details, see Install a license.

    System requirements

    Review the specifications on the target machine to ensure compliance. For more details, see System requirements.

    Additionally, verify how much storage is being used on the /data partition on the source machine. You must have at least the same amount of storage plus another 5% free on the target machine's /data partition.

  2. Disable any monitoring or analysis processes any devices managed by the Central Manager. Migration may fail if there are devices currently being monitored or analyzed. For details, see Schedule analysis and Configure real-time monitoring.

  3. Connect to the Central Manager administration interface via SSH and log in as root.

    For details, see Connect to the Administration Interface.

  4. In the main menu, enter 16 to migrate ASMS units.
  5. Enter 1 to migrate a Central Manger.
  6. Enter the IP address and root password of the target machine that will host the new Central Manager.
  7. The migration tool runs prerequisite checks on the target machine configuration and ASMS versions. If all checks pass, confirm the details by entering y.

    The migration begins and displays a confirmation message when complete.

  8. If you are migrating a system with HA/DR clusters, rebuild your broken clusters. For details, see Build a cluster.

After migration, the system is configured as follows:

Source machine

We recommend that you do not use the source machine after migrating without resetting it to factory settings.

Therefore, all services on the source machine are disabled.

For more details, see Reset the appliance to factory defaults.

Remote Agents

Remote Agents connected to the Central Manager will be automatically reconnected to the new Central Manager.

Back to top

Relocate devices

This procedure describes how to relocate devices between nodes in distributed architectures, providing a full Remote Agent migration tool.

For example, you may want to do this while in the process of decommissioning end-of-life appliances or moving up to the cloud.

Relocation is performed in the background without system downtime, and supports the following options:

  • From the ASMS Central Manager to Remote Agents.
  • From Remote Agents to the ASMS Central Manager.
  • Between different Remote Agents.

Relocating a device relocates all device-related data, including reports.

Do the following:

  1. If you are relocating devices from a Central Manager to a Remote Agent, ensure that your devices are collected together in a device group in AFA. When relocating devices from a Central Manager, you must relocate a group, even if you are only relocating a single device. The group being relocated should include only top-level devices.For more details, see Manage groups.
  2. Ensure that the ASMS version and build installed on both your source and target machines are identical.
  3. Disable any monitoring or analysis processes for the devices you want to relocate. Relocation may fail for devices that are currently being monitored or analyzed. For details, see Schedule analysis and Configure real-time monitoring.
  4. Connect to the Central Manager administration interface via SSH and log in as root.

    For details, see Connect to the Administration Interface.

  5. In the main menu, enter 16 to migrate ASMS units.

  6. Enter 2 to relocate devices between nodes.

  7. The detected nodes and their IPs are displayed. Select the following when prompted:

    • The source node, where the devices are currently located.

      When relocating from the Central Manager to a Remote Agent, you must also specify a device group to relocate.

    • The target node, where you want to move the devices.
  8. Enter a time limit, in minutes, after which you want the relocation process to time-out if not completed.

    The default value is 0, and leaves no time limit.

  9. If prompted, determine whether you want to disable monitoring, scheduled analysis, and log collection for all relocated devices.

    Tip: We recommend disabling these functions, especially when relocating devices to the Central Manager, to reduce CPU load on the Central Manager machine. For more details, see Default configurations for relocated devices.

  10. Press ENTER to start the relocation process. Relocation is performed in the background and the log file location is displayed.

    Just before the relocation is complete, the system checks the connectivity to the new device. If the check passes, the relocation processes is completed. If the connectivity check fails, the devices remain on the source node.

    Note: If you have relocated management devices and their children, AFA runs an automatic connectivity check on the management device only. For any child, managed devices, manually verify that connectivity is active between ASMS and the device.

    If connectivity is down, edit the device configuration in the AFA Administration area. For details, see Access the DEVICES SETUP page.

  11. After relocation is complete, edit the device configuration if needed, such as to reconfigure a syslog server or rescheduling analysis, in the AFA Administration area. For details, see Default configurations for relocated devices and Access the DEVICES SETUP page.

Back to top

Use case scenario: Migrating an entire ASMS system

The following procedure describes a sample process for migrating your entire ASMS system to new appliances.

For example, you may want to do this if you are moving your data centers to a new location or to the cloud, moving to a new set of upgraded appliances, or if you're adding additional appliances to your system.

Tip: Migrating an entire ASMS system is a complicated process. If you are migrating a complex deployment with Remote Agents across geographic locations, consider that the migration may required a few days.

In such cases, consider performing each Remote Agent migration and device relocation in incremental steps.

Click each step in the following image to jump down for more details.

Step Procedures

1. Start by migrating your Central Manager. Run through the entire migration and verify that everything works as expected when done.

For details, see:

2. Migrate Load Units by removing the existing units and adding new ones.

For details, see:

3. Relocate devices as needed from legacy Remote Agents to new Remote Agents.

When you're done, remote the legacy Remote Agents from your system.

For details, see:

4. Run sanity checks again to ensure that ASMS is running again as expected. For details, see Basic sanity checks.

For more details, see also ASMS system architecture.

Back to top

Contact AlgoSec technical support

This procedure describes how to contact AlgoSec support, and the files the send with your support case.

Do the following:

  1. Access the Support Home page on the AlgoSec portal.

  2. Click Submit a Support Case.

  3. Complete the fields and submit the ticket. Make sure to attach any relevant logs to your case.

    Create support logs from ASMS as follows:

Back to top

 

â See also: