Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

9/8/22, 4:12 PM Avamar Nightmares - Evernote

Replace ADS Gen4/Gen4s Internal Switch


Recommended Tools and Supplies

You might need the following items to replace an Avamar Data Store switch:

Phillips-head screwdriver
Flashlight
Cat6 Ethernet cable
Cisco Roll Cable (standard baby blue Cisco cable)
serial port on the network switch

Requirements for Performing this Procedure

Obtain the following before performing this procedure.

Fully-qualified domain name of the Avamar server with the defective switch
Specific node port (eth1-Gb2 or eth3-Gb4) that is connected to the defective switch
Whether an internal IP conflict existed

During original installation of the ADS Gen4 server, the default IP subnet for the internal ADS
network (192.168.255.1) might have conflicted with an existing IP numbering scheme in the
customer network environment. At that time, switch configuration would have been customized to
adapt to that scenario. If this occurred, you must obtain the IP address the customer provided at
that time for this purpose.

eth1 (Gb2) port should be connected to primary switch A


eth3 (Gb4) port should be connected to backup switch B

See the switch port d


diagram in the section: Remove defective switch for more information.

Remove Defective Switch

https://www.evernote.com/client/web?_sourcePage=HrT3_nO4caviMUD9T65RG_YvRLZ-1eYO3fqfqRu0fynRL_1nukNa4gH1t86pc1SP&__fp=U51xtP… 1/9
9/8/22, 4:12 PM Avamar Nightmares - Evernote

Method for Determining which Switch Configuration File to Use

In the next Task of the procedure, Configure the replacement switch, you will be instructed to download a
configuration file to the replacement switch. Since the ADS Gen4 system you are working on has two
switches, you can use the functioning switch to ensure that you download the correct configuration file to
the replacement switch. Also, you can confirm whether a firmware upgrade is required on the switch.
To determine the correct configuration file, perform the following:

Connect a serial cable between the serial or USB (COM) port on your laptop and the RJ-45 serial
port on functioning switch.

Open a HyperTerminal session.


COM port settings must be configured for 9600 baud, 8 Data Bits, and no hardware flow control to
establish a connection.

Log into the switch.


When prompted, provide a login and password. Login credentials are included in the README.txt file.

Type the following command:


show conf

Information similar to the following appears in your session:


--BEGIN--
Manager> show conf
Boot configuration file .............. "FILENAME" (Exists)
Current configuration ................ "FILENAME"
--END--

Confirm which configuration file is on the switch.


If FILENAME is avg4_swa.cfg, then use avg4_swb.cfg in Configure the replacement switch.
If FILENAME is avg4_swb.cfg, then use avg4_swa.cfg in Configure the replacement switch.

To determine the current firmware version, type the following command:


show system
https://www.evernote.com/client/web?_sourcePage=HrT3_nO4caviMUD9T65RG_YvRLZ-1eYO3fqfqRu0fynRL_1nukNa4gH1t86pc1SP&__fp=U51xtP… 2/9
9/8/22, 4:12 PM Avamar Nightmares - Evernote
show system

This command produces a lot of output. Look for the section of output that contains the following:

SysUpTime
( 155 days, 04:10:17 )
Boot Image : N/A
Software Version: v1.3.3 Jul-8-2011-
Release Version : v1.3.3 Jul-8-2011-
Patch Installed : NONE
Territory : usa
Country : none
Help File : N/A

If the “Software Version” is either 1.2.0 or 1.3.3, then the switch firmware must be upgraded.
Continue on to the next task. After the replacement switch has been configured, you will be
instructed to reconnect to the original good switch to perform the firmware update.

Note: The firmware level needs to be consistent on both internal switches.

End the HyperTerminal session and disconnect cabling between your laptop and the switch.

Configure the Replacement Switch

To configure an Avamar Gen4 dedicated switch, perform the following:

On your laptop, unzip the ADS_Gen4_switch_config_01_CONIFG.zip file to C:\.

See Requirements for performing this procedure.

This file contains the following:

avg4_swa.cfg
avg4_swb.cfg

at-tftpd.ini

README.txt
https://www.evernote.com/client/web?_sourcePage=HrT3_nO4caviMUD9T65RG_YvRLZ-1eYO3fqfqRu0fynRL_1nukNa4gH1t86pc1SP&__fp=U51xtP… 3/9
9/8/22, 4:12 PM Avamar Nightmares - Evernote

Rename the at-tftpd.ini file to at-tftpd.exe.


This file is a TFTP utility that will assist you in downloading the configuration files (avg4_swa.cfg) and
(avg4_swb.cfg) to the switch in this procedure.

Run at-tftpd.exe to install the AT-TFTPD Server 2.0 (Windows Driver) utility.

After installation is complete, open the utility.


Under Programs on the Start menu, select
Allied Telesis > AT-TFTP Server 2.0 > AT-TFTP Server 2.0.

Click File > Options.

In the Set Options dialog box, set the Default file transfer directories to C:\.

Click OK.
The TFTP daemon will now respond to TFTP requests that originate from the switch.

Do one of the following:

If Do the following
A customer network/ default Avamar

internal IP subnet conflict existed.

Go to step: Open the configuration file.

Otherwise. Go to step: Configure your laptop as follows.

See Requirements for performing this procedure for more information about such an IP address

Open the configuration file (avg4_swa.cfg or avg4_swb.cfg) in Notepad.

Change the following entry as shown:


add ip int=vlan1 ip=IPADDR netmask=255.255.255.0
where IPADDR is the IP address provided by the customer.

Save the file.

Configure your laptop as follows:


https://www.evernote.com/client/web?_sourcePage=HrT3_nO4caviMUD9T65RG_YvRLZ-1eYO3fqfqRu0fynRL_1nukNa4gH1t86pc1SP&__fp=U51xtP… 4/9
9/8/22, 4:12 PM Avamar Nightmares - Evernote

a. From Start, open Settings > Network and Dial-up Connections and select Local Area

Connection.

b. Select Properties.
c. Double-click Internet protocol (TCP/IP).
d. Click Use the following address.
e. Set IP address to 192.168.255.100.
f. Set netmask to 255.255.255.0.
Setting a gateway is not necessary

g. Click OK.
h. Click OK again.
i. Using an Ethernet Cat6 cable, connect your laptop to port 24 of the replacement switch.
j. At a Windows command prompt, type ipconfig to ensure the new IP address is active.

If not, disable and re-enable the Ethernet connection in the Local Area Connection dialog box.

Ensure that all nodes are connected properly to the replacement switch.

From port Gb2 (eth1) to the correct port, if replacing switch A.


From port Gb4 (eth3) to the correct port, if replacing switch B.
See port diagram
d in Remove defective switch for cable orientation.

In a Windows command prompt window, enter the following:


telnet 192.168.255.3
A login prompt should appear.

Log into the switch.


When prompted, provide a login and password. Login credentials are included in the README.txt file
in the ADS_Gen4_switch_config_01-VERSION.zip file.

Download the appropriate configuration file to the switch using the following command:
load meth=tftp file=CFGFILENAME server=192.168.255.100
where CFGFILENAME is either:

avg4_swa.cfg for switch A


avg4_swb.cfg for switch B

The TFTP utility is a case sensitive tool; in this command and ones that follow, be sure to type these
https://www.evernote.com/client/web?_sourcePage=HrT3_nO4caviMUD9T65RG_YvRLZ-1eYO3fqfqRu0fynRL_1nukNa4gH1t86pc1SP&__fp=U51xtP… 5/9
9/8/22, 4:12 PM Avamar Nightmares - Evernote

commands as shown.

Verify the downloaded file is on the switch by typing:


show file
The avg4_swa.cfg or avg4_swb.cfg filename should appear in the list, depending on which switch you
are replacing.

Set this configuration file as the default by typing:


set conf=CFGFILENAME
where CFGFILENAME is either:

avg4_swa.cfg for switch A


avg4_swb.cfg for switch B

Verify that activation succeeded as noted by the following message.


Operation successful.

Update the switch firmware on the replacement switch by performing the following lettered steps:
a. Copy the firmware file ATS-9924TL-v140.img from
C:\ProgramData\EMC\SolVeDesktop\AVAMAR.SOLVE\Tools to C:\.

b. Download the switch firmware file to the switch using the following command (following command
is on one line):
load meth=tftp destfile=appblock file= ATS-9924TL-v140.img
server=192.168.255.100

c. The switch will be rebooted automatically after the firmware load is complete.

IMPORTANT: After rebooting the switch, a switch A IP address changes to 192.168.255.200 and
a switch B IP address changes to 192.168.255.201 or, if you edited the configuration files, it
changes to the IP address provided by the customer. In the latter case, you might lose
connectivity with the switch. In that case, you must reconfigure your laptop and log in again to the
switch.

After the switch reboot completes, in a command prompt window, enter one of the following:

For switch A replacement:


telnet 192.168.255.200

https://www.evernote.com/client/web?_sourcePage=HrT3_nO4caviMUD9T65RG_YvRLZ-1eYO3fqfqRu0fynRL_1nukNa4gH1t86pc1SP&__fp=U51xtP… 6/9
9/8/22, 4:12 PM Avamar Nightmares - Evernote

For switch B replacement:


telnet 192.168.255.201

A login prompt should appear. Type the switch password and press Enter.

To ensure the correct configuration file is loaded, type:


show config
The result should display either avg4_swa.cfg or avg4_swb.cfg.

Verify the firmware version on the switch by typing:


show system
This command produces a lot of output. Look for the section of output that contains the following:
SysUpTime
( 0 days, 00:04:59 )
Boot Image : N/A
Software Version: v1.4.0 Mar-13-2013
Release Version : v1.4.0 Mar-13-2013
Patch Installed : NONE
Territory : usa
Country : none
Help File : N/A
“Software Version:” should be 1.4.0.

Ping the utility node (192.168.255.1 or the IP address the customer provided due to a customer
network/default Avamar internal IP subnet conflict).

This step ensures that you have properly configured the switch.

Using PuTTY as admin user, log in to 192.168.255.1 (or the IP address the customer provided
due to a customer network/default Avamar internal IP subnet conflict).

When prompted, enter the admin password and press Enter.

Load the admin OpenSSH key by typing:

ssh-agent bash
ssh-add /home/admin/.ssh/dpnid

You are prompted to type a passphrase.

Type the admin user account passphrase and press ENTER.


https://www.evernote.com/client/web?_sourcePage=HrT3_nO4caviMUD9T65RG_YvRLZ-1eYO3fqfqRu0fynRL_1nukNa4gH1t86pc1SP&__fp=U51xtP… 7/9
9/8/22, 4:12 PM Avamar Nightmares - Evernote
Type the admin user account passphrase and press ENTER.

Determine that eth1 is the current active port on all nodes and that eth1 and eth3 are both
functioning properly by typing:

mapall --all --user=root --noerror 'cat /proc/net/bonding/bond1 | egrep -i


"active|MII|interface"'

The previous command must be typed on one single command line.


Information similar to the following should be displayed for each node in the Avamar server,
beginning with 0.s for the utility node and followed by 0.0 and so forth for storage nodes.

Using /usr/local/avamar/var/probe.xml
(0.s) ssh -x root@102.236.90.16 'cat /proc/net/bonding/bond1 | egrep -i
"active|MII|interface"'
Password:
Bonding Mode: fault-tolerance (active-backup)
Currently Active Slave: eth1
MII Status: up
MII Polling Interval (ms): 100
Slave Interface: eth1
MII Status: up
Slave Interface: eth3
MII Status: up

The previous text is a partial output showing relevant data. All nodes must report "eth1" for
Currently Active Slave and "up" for MII Status for both Slave Interface eth1 and eth3.
Any other results indicate a physical connectivity problem (cabling) which you must troubleshoot
before running this command again.

Disconnect cabling between your laptop and the switch.


The replacement switch is now configured.

Task 6: Update firmware on original good switch


Perform the following task only if the original switch is running firmware lower than version 1.4.0. The
firmware version on the original good switch was checked in a previous task. .

Connect a serial cable between the serial or USB (COM) port on your laptop and the RJ-45 serial
port on functioning switch.

See image in Remove defective switch for port orientation.

https://www.evernote.com/client/web?_sourcePage=HrT3_nO4caviMUD9T65RG_YvRLZ-1eYO3fqfqRu0fynRL_1nukNa4gH1t86pc1SP&__fp=U51xtP… 8/9
9/8/22, 4:12 PM Avamar Nightmares - Evernote

Open a HyperTerminal session.


COM port settings must be configured for 9600 baud, 8 Data Bits, and no hardware flow control to
establish a connection.

Log into the switch.


When prompted, provide a login and password. Login credentials are included in the README.txt file.

Update the switch firmware on the original good switch by performing the following lettered steps:

a. Copy the firmware file ATS-9924TL-v140.img from


C:\ProgramData\EMC\SolVeDesktop\AVAMAR.SOLVE\Tools to C:\.

Log off the switch by typing:


exit

Disconnect cabling between your laptop and the switch.


The firmware update on the original switch is complete..

https://www.evernote.com/client/web?_sourcePage=HrT3_nO4caviMUD9T65RG_YvRLZ-1eYO3fqfqRu0fynRL_1nukNa4gH1t86pc1SP&__fp=U51xtP… 9/9

You might also like