Remote Array Rebuild on Virtual Multi-Port Monitor

book

Article ID: 143098

calendar_today

Updated On:

Products

APPLICATION DELIVERY ANALYSIS

Issue/Introduction

Using ARCCONF, we are able to remotely destroy/rebuild the arrays on a Multi-Port Monitor server. This aids us in being able to repair hardware issues when a client doe not have direct access to the machine.

Cause

Possible reasons you'd need to use this:

1) A single drive from an array is failing. This will cause the array to behave erratically when data is trying to be read/written. If a Vertica database or a mysql database on the server are failing regularly, this is most likely the case.

2) An array has completely failed but the underlying hardware is still healthy.

Environment

MBX/Supermicro servers. RHEL.

Resolution

Ensure that ARCCONF is installed on the server by downloading the command line utility:

https://storage.microsemi.com/en-us/speed/raid/storage_manager/arcconf_v2_01_22270_zip.php

Once downloaded, navigate though the file structure for 64bit linux. Move the arcconf file to the VMTP server (it doesn't really matter where).

 

CA6000:

Delete sdb (On CA6000s, you can only repair the Data array because the OS and nqxfs are on the same array):

/location/of/arcconf DELETE 2 LOGICALDRIVE ALL

/location/of/arcconf CREATE 2 LOGICALDRIVE Name Data Method QUICK Rcache RON WcacheWBB MAX 5 0,0 0,1 0,2 0,3 0,4 0,5 0,6 0,7 0,8 0,9 0,10 0,11

 

/sbin/parted /dev/sdb -s mklabel gpt

/sbin/parted /dev/sdb -s mkpart primary xfs $END 100%

/sbin/mkfs.xfs -l size=32m,version=2 -d agcount=256 -f /dev/sdb1

mkdir -p /data

mount /dev/sdb1 /data

mkdir /data/capture

mkdir /data/nq_capture/capture (MTP 10.4+)

 

CA6300:

Delete sdb array:

/location/of/arcconf DELETE 1 LOGICALDRIVE 1

/location/of/arcconf CREATE 2 LOGICALDRIVE Name Data Method QUICK Rcache RON WcacheWBB MAX 6 [drives required in the array*]

*You can find a listing of the drives in an array by using:

/location/of/arcconf GETCONFIG 1 AL

 

/sbin/parted /dev/sdb -s mklabel gpt

/sbin/parted /dev/sdb -s mkpart primary xfs 10KB 1700GB

/sbin/parted /dev/sdb -s mkpart primary xfs 1700GB 100%

/sbin/mkfs.xfs -l size=32m,version=2 -d agcount=256 -f /dev/sdb1

/sbin/mkfs.xfs -l size=32m,version=2 -d agcount=256 -f /dev/sdb2

mkdir /data

mkdir /nqxfs

mount /dev/sdb1 /nqxfs

mount /dev/sdb2 /data

Reinstall the VMTP software using ./install_VMTP