Start a conversation

UltraBand Clear Cache Content

Overview

In this article, you will learn the procedure for clearing all caches content in a system.

IMPORTANT: The following procedure entails formatting the storage and deleting the database, so you need a maintenance window to perform this activity.

Pre Requisites

Audience: L2 Agents

Connect to the system via SSH:

  • For Grid, connect to the management server.
  • For Standalone, connect to the server MGMT IP.

Attention: You will need a Maintenance Window to perform this activity.

Grid

Clearing the Cache Content for a Grid platform:

  1. Stop the UltraBand service using the following:
    • From the CLI, Stop the service using the command: "oper service stop"
    • From the CLI, make sure the service is stopped using the command: "show status"
  2. From the Management, login as a root user and run the Configure Storages Script using the command:
    cd /opt/pang/useful/configure_storages/
    ./configure_storages.py -s <the number of the storages in the system> -b <the number of the CEs in the system>

    Example: for a system with 8 cache engines and 3 storages:

    ./configure_storages.py -s 3 -b 8

     

    Note: If Format including SSD volume, use "-f" option at the end of the command
  3. A warning message about the disk format will be shown, to continue the configuration of the storage enter "y".

    *********** WARNING! **********
    The selected storage is about to be reconfigured. All data on that storage will be lost. You'll need to format disks manually. Do you want to continue? (y/n) y Wait until the configure_storages.py script is completed
  4. Using the CLI, start the service using the command: “oper service start”


Standalone Version 5.x

Clearing the Cache Content for a Standalone platform:

  1. Stop the UltraBand service using the following:
    • From the CLI, Stop the service using the command: “oper service stop”
    • From the CLI, make sure the service is stopped using the command: “show status”
  2. Login as a root user
  3. Run the Format Disk script using the commands:
    cd /opt/pang/useful/
    ./format_disks.sh -format_all
    Wait until the format_disks.sh is completed
  4. Run the Format SSD script using the commands:
    cd /opt/pang/bin/
    ./ssd_auto_install.sh -f
    Wait until the ssd_auto_install.sh script is completed
  5. Using the CLI, start the service using the command: “oper service start”

Standalone Version 6.x and 7.x

Clearing the Cache Content for a Standalone platform:

  1. Stop the UltraBand service using the following:
    • From the CLI, Stop the service using the command: “oper service stop”
    • From the CLI, make sure the service is stopped using the command: “show status”
  2. Login as a root user
  3. Run the Format Disk script using the commands:
    cd /opt/pang/useful/
    ./format_disks.sh -format_all
    Wait until the format_disks.sh is completed
  4. Run the Format SSD script using the commands:
    cd /opt/pang/useful/
    ./format_dish.sh -format_all_ssd
    Wait until the ssd_auto_install.sh script is completed
  5. Using the CLI, start the service using the command: “oper service start”

Product:  PeerApp UltraBand

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments