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

EMC CONFIDENTIAL

Replacing a Control
Station

This procedure explains how to replace a control station in the


NS-960/NS-G8 system. Replacing the Control Station reinstalls
Linux. The Linux reinstallation requires that any customer Linux
configurations made after the original Linux/EMCNAS installation
be re-entered.
Before beginning this procedure review the Control Station Fault
Isolation Tree, located at Powerlink > Celerra Tools > NS-960 >
Replace Hardware > Field Replaceable Units, to determine if
Control Station replacement is the correct course of action.
◆ Disabling ConnectHome and Email notifications........................... 4
◆ Preserving system configuration on CS 0......................................... 6
◆ Removing a Control Station ............................................................... 9
◆ Installing a Control Station............................................................... 12
◆ Configuring the Control Station ...................................................... 14
◆ Restoring system configuration on CS 0......................................... 29
◆ Verifying ConnectHome and email notification............................ 32

1
EMC CONFIDENTIAL
Replacing a Control Station

Summary of Tasks
The summary of tasks for replacing a Control Station (CS) depends
on the Control Station configuration (single or dual Control Stations).
This section provides a summary of tasks for these Control Station
configurations:
◆ “Single-CS configuration” on page 2
◆ “Dual-CS configuration” on page 3

Single-CS For a single-Control Station configuration, see Table 1 for a high-level


configuration list of the steps to perform when replacing CS 0. Table 1 also refers to
procedures that contain the detailed steps to perform.

Table 1 Summary of tasks for a single-CS configuration

Steps Replace CS 0 (summary steps) Detailed steps

1. Disable ConnectHome and email “Disabling ConnectHome and Email


notifications. notifications” on page 4

2. Back up system files on CS 0. “Preserving system configuration on


CS 0” on page 6

3. Power down CS 0. “Removing a Control Station” on page 9

4. Replace CS 0. “Installing a Control Station” on page 12

5. • Power up CS 0. “Configuring the Control Station” on


• Configure CS 0. page 14

6. Restore system backups on CS 0. “Restoring system configuration on


CS 0” on page 29

7. Verify ConnectHome and email “Verifying ConnectHome and email


notifications. notification” on page 32

2 Replacing a Control Station


EMC CONFIDENTIAL
Replacing a Control Station

Dual-CS For a dual-Control Station configuration, see Table 2 for a high-level


configuration list of steps to perform when replacing a Control Station.
Table 2 lists, in adjacent columns, the steps for replacing CS 0 and
CS 1. Follow the steps for the Control Station that you are replacing
(CS 0 or CS 1). The right-most column lists the procedures that
contain the detailed steps to perform.

Table 2 Summary of tasks for dual-CS configurations

Steps If replacing CS 0 (summary steps) If replacing CS 1 (summary steps) Detailed steps

1. Disable ConnectHome and email Disable ConnectHome and email “Disabling ConnectHome and
notifications. notifications. Email notifications” on page 4

2. Back up system files on CS 0, if Skip this step for CS 1. “Preserving system configuration
possible. on CS 0” on page 6
Note: File backup and restoration are
Note: Do this step only on CS 0. Do required only for CS 0.
not perform this step on CS 1.

3. Power down CS 0 and CS 1. Power down CS 1. “Removing a Control Station” on


page 9
Note: Recovery of CS 0 on a Note: In this case, CS 0 remains
dual-CS configuration requires you powered up, and blade failover remains
to power down both Control enabled.
Stations. Blade failover is disabled
while both Control Stations are
powered down.

4. Replace CS 0. Replace CS 1. “Installing a Control Station” on


page 12

5. • Power up CS 0. • Power up CS 1. “Configuring the Control Station”


• Configure CS 0. • Configure CS 1. on page 14

6. • Restore system backups on Skip this step for CS 1. “Restoring system configuration
CS 0 (if backups were collected). on CS 0” on page 29
Note: File backup and restoration are
required only for CS 0.

7. Power up CS 1. “Powering up CS 1” on page 31


Note: Skip this step; CS 1 is already
powered up (see Step 5).

8. Verify ConnectHome and email Verify ConnectHome and email “Verifying ConnectHome and
notifications. notifications. email notification” on page 32

3
EMC CONFIDENTIAL
Replacing a Control Station

Disabling ConnectHome and Email notifications


Follow these steps to preserve the xml ConnectHome information in
the /nas/log/ConnectHome directory, disable ConnectHome, and
disable email notification.

Note: You must have at least one Control Station operating correctly to
perform this procedure. If there is no communication with the Control
Station, go to “Removing a Control Station” on page 9.

1. At the rear of the cabinet, connect the null modem cable from the
serial port on the service laptop to the primary Control Station
(Figure 1).
Serial port

CNS-000918

Figure 1 Control station serial connection

2. Open the HyperTerminal session using the following settings:


Bits per second: 19200
Data bits: 8
Parity: None
Stop bits: 1
Flow control: None
Emulation: Auto Detect
Telnet terminal ID: ANSI

Note: If you cannot connect to the HyperTerminal session, try connecting


through the secondary Control Station, if one is available. If you have
only one Control Station, and you cannot connect to the HyperTerminal
session, press the Control Station reset button, log in, and repeat this
step.

3. Login as nasadmin:
login:nasadmin

4 Replacing a Control Station


EMC CONFIDENTIAL
Replacing a Control Station

4. Become the root user:


$ su root
Password:

5. From the root directory, disable ConnectHome by typing:


/nas/sbin/nas_connecthome -service stop

6. Disable the Email notification service:


/nas/bin/nas_emailuser -modify -enabled no
OK

7. Verify that the Email notification service is disabled:


/nas/bin/nas_emailuser -info

Sample output:
Service Enabled = No
Recipient Address(es) = youremail@yourcompany.com
Carbon Copy Address(es) =
Email Server =
Subject Prefix = Celerra Notification -NDU through NST
Sender Address =

8. ConnectHome and Email notifications are now disabled. Go to


“Preserving system configuration on CS 0” on page 6.

5
EMC CONFIDENTIAL
Replacing a Control Station

Preserving system configuration on CS 0


If there is no communication with the Control Station, or if you are
replacing CS 1, go to “Removing a Control Station” on page 9.
To preserve the current system configuration on CS 0:
1. Log in to CS 0 as nasadmin. Change to the root user by entering
the following command:
su root

2. Check that NAS services are running by typing:


/nasmcd/getreason

Note: If slot 0 has a reason code of 10, then NAS services are running.

3. If NAS services are not running, go to “Removing a Control


Station” on page 9.
4. Run the upgrade-ck script to verify Celerra status and back up
files.
a. Click here to download and install the latest Celerra
Procedure Generator (using default settings) on your PC.
b. Unzip the upgrd-ck script.zip file here: C:\Program
Files\EMC\NASCPG\Application\Modules\SCRIPTS.
c. Transfer the upgrd-ckv10-<x>.tar.gz file to the Control Station
/home/nasadmin directory and untar it. For example:
tar xvfz upgrd-ckv10-38.tar.gz
d. From the /home/nasadmin directory, run the upgrade-ck
script by typing:
./upgrade-ckv<x>.bin -vb 1

Where <x> is the latest version of the script. For example:


./upgrade-ckv10-38.bin -vb 1

e. Resolve errors displayed in the Error List section.

6 Replacing a Control Station


EMC CONFIDENTIAL
Replacing a Control Station

5. If possible, back up the information in /nas/var/recover_cs0 and


the nasdb_backup.1.tar.gz file to the /nas/var/backup directory:
tar cvf /nas/var/backup/recover_cs0_backup.tar /nas/var/recover_cs0
/nas/var/backup/nasdb_backup.1.tar.gz

6. Back up the contents of the /home directory:


tar cvf /nas/var/backup/home_backup.tar /home

Note: If the backups are successful, administrator accounts that were


created in the /home directory are preserved; otherwise, these accounts
must be recreated after the installation.

7. Determine the EMCNAS version on CS 0 and the model name:


/nas/bin/nas_version
<nas_version>

/nas/sbin/model
<nas_model>
Note: The NAS software version on the install CD must match the
EMCNAS version currently installed on the Control Station.

Example:
# /nas/bin/nas_version
5.6.43-3

# /nas/sbin/model
NS-960FC
Note: Refer to the Control Station Fault Isolation Tree on Celerra Tools
for alternate steps if these commands do not return the NAS version and
model.

8. Determine the EMCNAS version running on the blades:


server_version ALL
Example:
server_2 : Product: EMC Celerra File Server Version: T5.6.43.300
server_3 : Product: EMC Celerra File Server Version: T5.6.43.300
server_4 : Product: EMC Celerra File Server Version: T5.6.43.300
server_5 : Product: EMC Celerra File Server Version: T5.6.43.300

Note: In this example, all the blades (2, 3, 4, and 5) are running a NAS patch
(5.6.43.300).

7
EMC CONFIDENTIAL
Replacing a Control Station

9. Compare the NAS version running on CS 0 (from Step 7) with the


NAS versions running on the blades (from Step 8).
a. If the NAS versions do not match, go to Step 10.
b. If the NAS versions match, go to Step 12.
10. Determine the DART image filename contained in the boot.bat
file:
grep gload /nas/dos/slot_*/boot.bat
Example:
/nas/dos/slot_2/boot.bat:gload -or c:\bin\nas.exe c:\slot_2\boot.cfg
/nas/dos/slot_3/boot.bat:gload -or c:\bin\nas.exe c:\slot_3\boot.cfg
/nas/dos/slot_4/boot.bat:gload -or c:\bin\nas.exe c:\slot_4\boot.cfg
/nas/dos/slot_5/boot.bat:gload -or c:\bin\nas.exe c:\slot_5\boot.cfg

11. Back up the nas.exe file (see Step 10) to the /nas/var/backup
directory:
tar cvf /nas/var/backup/<nas_patch_version>.tar /nas/dos/bin/nas.exe

Example:
tar cvf /nas/var/backup/5643300.tar /nas/dos/bin/nas.exe

12. Copy the following tar backup files to another location on the
network or to the service laptop:
• /nas/var/backup/recover_cs0_backup.tar
• /nas/var/backup/home_backup.tar
• /nas/var/backup/<nas_patch_version>.tar (if Step 11 was
necessary)
13. Go to “Removing a Control Station” on page 9.

8 Replacing a Control Station


EMC CONFIDENTIAL
Replacing a Control Station

Removing a Control Station

! CAUTION
Handle a Control Station assembly carefully, and use an ESD
wristband. Do not remove the assembly until you have a
replacement available. You can remove a Control Station assembly
while the NS-960/NS-G8 is powered up.

The replacement of the Control Station will reinstall Linux. The Linux
reinstallation requires that any customer Linux configurations made
after the original Linux/EMCNAS installation be re-entered.
As part of the Control Station replacement, the root password is
changed to nasadmin. You are not asked to enter the root passwords
as part of the Linux reinstallation.

! CAUTION
If you have dual Control Stations and you are replacing CS 0, you
must completely power down both Control Stations (CS 0 and
CS 1). If CS 1 is powered up during CS 0 replacement, the Control
Station recovery will fail!

You remove the Control Station assembly from the front of the
NS-960/NS-G8 cabinet. To remove a faulty Control Station, do the
following:
1. If you are replacing:
• CS 0, perform Steps 2-6 to power down CS 1 (if equipped);
then perform Steps 2-6 to power down CS 0 (see note).
• CS 1, perform Steps 2-6 to power down only CS 1 (in this case,
CS 0 remains powered up).

Note: The blade failover function is disabled while both Control Stations are
powered down.

2. Log in to Control Station as nasadmin. Change to the root user by


entering the following command:
su root

9
EMC CONFIDENTIAL
Replacing a Control Station

3. Halt the Control Station by entering the following command:


/sbin/halt

Note: This may take a few minutes to complete. Make sure it is finished
before you continue.

4. Press and hold the power button to power down the Control
Station. The Control Station power button is shown in Figure 2.
Remove the bezel to access this button.

Control Station (front) Power button CNS-000876

Figure 2 Control Station power button

5. Wait 30 seconds for the internal SATA disk drive to stop spinning
and safely park its heads before continuing.
6. Disconnect the Control Station power cable from the power
distribution panel (PDP).
7. If two Control Stations are equipped, and you are replacing CS 0,
repeat Step 2 through Step 6 to power down the other Control
Station.
8. Use masking tape or similar material to label each cable on the
Control Station that you are replacing so that you can correctly
reconnect the cables later.

! CAUTION
Do not bend, pull, or stress other rack cables when
disconnecting cables from the Control Station.

9. Disconnect all of the Ethernet, serial, and power cables from the
rear of the Control Station.
Gently press the connector latches and retention bail to release
them before you remove the cables.
10. At the front of the rack, remove the two small Phillips screws that
hold the assembly in position, as shown in Figure 3.

10 Replacing a Control Station


EMC CONFIDENTIAL
Replacing a Control Station

! CAUTION
The Control Station has the majority of its weight in the rear of
the assembly. Make sure the back end of the Control Station is
supported while installing or removing it. Dropping a Control
Station could result in personal injury or damage to
equipment.

11. Carefully slide out the assembly from the front of the rack.

Control Station Rear

Latch
Bracket (2)

Front

Front
Bezel
CNS-000910

Figure 3 Removing a Control Station

12. When you have completed “Removing a Control Station,” go to


“Installing a Control Station” on page 12.

11
EMC CONFIDENTIAL
Replacing a Control Station

Installing a Control Station

! CAUTION
Handle a Control Station assembly carefully, and use an ESD
wristband. You can install a Control Station assembly while the
NS-960/NS-G8 is powered up.

You install the Control Station assembly from the front of the
NS-960/NS-G8 rack. To install a replacement assembly, do the
following steps:
1. Remove the replacement Control Station assembly from its
static-free packaging.

! CAUTION
The Control Station has the majority of its weight in the rear of
the assembly. Make sure the back end of the Control Station is
supported while installing or removing it. Dropping a Control
Station could result in personal injury or damage to
equipment.

2. At the front of the rack, slide the assembly into the 1U rail
opening, as shown in Figure 4.

Control Station Rear

Latch
Bracket (2)

Front

Front
Bezel
CNS-000911

Figure 4 Installing a Control Station

12 Replacing a Control Station


EMC CONFIDENTIAL
Replacing a Control Station

3. Install the two Phillips-head screws to reattach the assembly.


Make sure you use the two latch brackets when inserting the two
screws.
4. Follow the cable labeling that you provided in step 8 on page 10
to reconnect and dress all cables on the replacement Control
Station except for the power cable. Do not reconnect the power
cable at this time. You will reconnect the power cable later (in step
4 on page 15).
5. When you have completed “Installing a Control Station,” go to
“Configuring the Control Station” on page 14.

13
EMC CONFIDENTIAL
Replacing a Control Station

Configuring the Control Station


This procedure assumes you are replacing the primary Control
Station (CS 0). If you are replacing the secondary Control Station
(CS 1), some of the configuration prompts are different.

! CAUTION
If you disconnect the serial cable from your service laptop to the
Control Station during this procedure, the setup script may abort
and return you to the command prompt. Do not disconnect this
serial cable during an installation!

To configure the replacement Control Station, do the following:


1. To facilitate the Control Station configuration, obtain the
following information from the site administrator:

Site parameter Site value Site parameter Site value

Primary internal network Control Station primary


IP address: nameserver (IP):

Primary internal network Control Station domain name:


IP netmask:

IPMI network IP address: Control Station host name:

IPMI IP netmask: Control Station secondary


nameserver (IP):

Backup internal network Control Station tertiary


IP address: nameserver (IP):

Backup internal network CLARiioN array SP A


IP netmask: IP address:

Control Station IP address: CLARiioN array SP B


IP address:

Control Station IP netmask: CLARiioN array


administrator login:

Control Station default CLARiioN array


gateway IP address: administrator password:

14 Replacing a Control Station


EMC CONFIDENTIAL
Replacing a Control Station

2. Connect the null modem cable from the serial port on the back of
the Control Station (shown in Figure 5) to your service laptop.

Serial port

CNS-000918

Figure 5 Control Station serial port

3. Open a HyperTerminal session using the following settings:


19200 bits per second, 8 data bits, parity None, 1 stop bit, flow
control None. Set terminal emulation to ANSI. Typically this is
done using COM 1.
4. Reconnect the Control Station power cable to the power
distribution panel (PDP) and insert the EMCNAS CD into the
Control Station.

Note: The NAS software version on the install CD must match the
EMCNAS version installed on the Celerra system. If you use a CD with a
different NAS software version than what is installed on Celerra, the
system displays a message describing the mismatch.

5. The Control Station displays its boot messages followed by the


prompt shown in Figure 6 on page 16. You have one minute to
type serialrecover, and then press Enter.

Note: If you did not see the screen shown in Figure 6 or did not enter
serialrecover within the allotted time, press and hold for 5 seconds the
Control Station power button; then repeat Step 5.

15
EMC CONFIDENTIAL
Replacing a Control Station

Figure 6 Install software prompt

6. The system displays the prompt shown in Figure 7. Tab to Yes,


and then press Enter to perform a destructive installation.

Figure 7 Linux installation prompt

16 Replacing a Control Station


EMC CONFIDENTIAL
Replacing a Control Station

7. At the Confirm Choice prompt, tab to OK, and then press Enter.
8. After about 10 minutes, the software installation completes and
displays the installation complete prompt shown in Figure 8.
Press Enter to reboot the system.

Figure 8 Installation complete prompt

9. The Control Station reboots. The Linux GRUB boot loader


appears, as shown in Figure 9 on page 18. No action is required.
The system begins booting after ten seconds.

17
EMC CONFIDENTIAL
Replacing a Control Station

Figure 9 Linux boot loader

10. When prompted to perform a fresh install as shown in Figure 10,


select No and press Enter.

Figure 10 Fresh install screen

18 Replacing a Control Station


EMC CONFIDENTIAL
Replacing a Control Station

11. Select OK and press Enter to confirm this is a Control Station


Recovery install as shown in Figure 11.

Figure 11 Control Station recovery confirmation

Sample output:
Starting EMC NAS Factory Installation

Is this a Secondary Control Station?

12. If you are replacing the:


• Primary Control Station (CS 0), enter no.
• Secondary Control Station (CS 1), enter yes.
13. If the system network configuration was previously set to:
• Non-factory default network values, go to Step 14.
• Factory default network values, the system will detect
previously used default factory values and configure the
replacement Control Station with those values. Go to step 17
on page 22.
Sample output:
Internal network IP validation in progress for
default subnet 128.221.252 and 128.221.253
Configuring eth0 with 128.221.252.200...yes
Configuring eth2 with 128.221.253.100...yes
Pinging DataMovers on both subnets...
DM 2 is pingable on primary subnet.
Checking switch configuration..
Switch configuration OK

19
EMC CONFIDENTIAL
Replacing a Control Station

14. If the Primary Internal Network Setup dialog box appears, the
recovery script detected non-factory default network values.
a. Tab to and remove the default values for the IP address and
netmask (see Figure 12).
b. Enter the previously configured non-factory default network
values for the primary internal LAN connection (port eth0).
Obtain these values from the site administrator.
c. Tab to OK and press Enter.

Figure 12 Primary internal network settings

20 Replacing a Control Station


EMC CONFIDENTIAL
Replacing a Control Station

15. If the IPMI Network Setup dialog box appears (Figure 13), enter
the IP address and netmask for the IPMI connection between the
two Control Stations (port eth1), as shown in Figure 13. To accept
the default values, tab to OK and press Enter.

Figure 13 IPMI private network settings

16. If the Backup Internal Network Setup dialog box appears:


a. Tab to and remove the default values for the IP address and
netmask as shown in Figure 14 on page 22.
b. Type the previously configured non-factory default network
values for the Backup Internal Network. Obtain these values
from the site administrator.
c. Tab to OK and press Enter

21
EMC CONFIDENTIAL
Replacing a Control Station

Figure 14 Backup private network settings

17. Enter the Control Station external networking configuration


values. This is the network connection to the Control Station for
remotely administering the Celerra system.
a. The Network Configuration dialog box appears, as shown in
Figure 15. Tab to Yes and then press Enter.

Figure 15 Network configuration type

22 Replacing a Control Station


EMC CONFIDENTIAL
Replacing a Control Station

b. The Boot Protocol dialog box appears, as shown in Figure 16.


Select Static IP address, tab to OK, and press Enter.

Figure 16 Boot Protocol

c. The Configure TCP/IP dialog box appears, as shown in


Figure 17. Enter the port IP address, netmask, default gateway
IP address, and primary nameserver IP address. Tab to OK
and press Enter.

Figure 17 Configure TCP/IP

23
EMC CONFIDENTIAL
Replacing a Control Station

d. The Configure Network dialog box appears, as shown in


Figure 18. Enter the domain name and hostname for the
Control Station. You can optionally enter secondary and
tertiary nameserver IP addresses. Tab to OK and press Enter.

Figure 18 Configure Network

18. After several minutes of setting up the enclosures, the system


reports the number of detected UPSs. If the reported number
matches the number of UPSs in the system, enter yes to confirm
and go to Step 19.

Note: The setup script does not detect the two automatic transfer
switches (ATSs). The number of UPSs reported by the script should be 0
because the NS-960/NS-G8 systems do not support UPSs.

19. The system reports the number of Data Movers detected. If the
number reported matches the number of Data Movers in the
system, enter yes to confirm.
If the system does not find the correct number of Data Movers, do
the following:
a. Enter no if the number of reported Data Movers does not
match the number of Data Movers in the system. You will be
prompted with the option to retry the Data Mover detection.
Do not enter yes or no to the Data Mover detection retry
prompt yet.
b. Verify that the private LAN cables from the Control Stations to
the blade enclosure’s system management switches are
connected correctly and fully seated.

24 Replacing a Control Station


EMC CONFIDENTIAL
Replacing a Control Station

c. Enter yes to retry the Data Mover detection. If the number of


Data Movers detected is correct, enter yes.
d. If the system still reports the wrong number of Data Movers,
contact EMC Customer Service.
The system displays the message:
Checking for existing system RG/LUN.

20. If you are installing the Control Station in the:


a. NS-960 Integrated system, go to step 28 on page 27.
b. NS-G8 Gateway system, perform steps 21-27.
21. The Celerra Factory Install dialog box appears. Select Gateway
and press Enter, as shown in Figure 19.

Figure 19 Celerra system configuration settings

22. Select OK and press Enter to confirm the type of Celerra system
configuration.
The system prompts you for the backend type, as shown in
Figure 20.
23. Select CLARiiON and press Enter.

Figure 20 Backend settings

25
EMC CONFIDENTIAL
Replacing a Control Station

24. Select OK and press Enter to confirm the type of backend for the
Celerra system.
25. If prompted, enter the IP address values for SP A and SP B of the
array, as shown in Figure 21.
Enter the username and password for the CLARiiON array.
Tab to Ok and press Enter. The system verifies the IP addresses.

Figure 21 CLARiiON backend SP settings

26. If prompted, select Fabric Connect, as shown in Figure 22 and


press Enter.

Figure 22 Celerra gateway settings

27. At the confirmation prompt, select OK and press Enter to confirm


the type of Celerra gateway you are installing. Then go to step 29
on page 27.

26 Replacing a Control Station


EMC CONFIDENTIAL
Replacing a Control Station

28. For NS-960 systems, the dialog box shown in Figure 23 appears.

Figure 23 Fibre Channel Enabled

a. For NS-960FC enabled systems, tab to Fibre Channel Enabled


and press Enter.
b. For NS-960 and NS-960iS systems, tab to Integrated and press
Enter.
29. After a few minutes, the system prompts you to enter a username
and password. Enter nasadmin for both username and password,
or use values specified by the customer.

Note: The system displays a message indicating that nasadmin is a bad


password (see Figure 24), but the password is still accepted. You must enter
the password twice.

Figure 24 Administrator username and password

30. If the EMC NAS software installation fails, the system should
display one or more error messages with resolution instructions.
Start by correcting any problems indicated by error messages.

27
EMC CONFIDENTIAL
Replacing a Control Station

31. When the installation is complete, the system displays a message


that the installation succeeded. Press Enter.
Storage System : Checking if auto assign are disabled for all luns......... Pass
Storage System : Checking if auto trespass are disabled for all luns....... Pass
--------------------------------------------------------------------------------
The "emcnas" package install Succeeded.
To run the new package login as <nasadmin>.

Press Enter key to exit upgrade :

32. To reboot the Control Station, log in as root, type reboot, and
press Enter.
Rebooting the Control Station verifies that it will start up
normally.
33. Log in as nasadmin and check the system status using the
nas_checkup command.
/nas/bin/nas_checkup
Sample output:
Check Version: <version_number>
Check Command: /nas/bin/nas_checkup
Check Log : /nas/log/checkup-run.<log_id>.log
-------------------------Checks--------------------
Control Station: Checking if file system usage is under
limit.............. Pass
Control Station: Checking if NAS Storage API is
installed correctly........ Pass
Control Station: Checking if NBS clients are
started....................... Pass
Control Station: Checking if NBS configuration
exists...................... Pass
<text elided>...
-----------------------------------------------------
One or more error-level checks have failed. Follow the
instructions below to correct the problem and try
again.
----------------------Information--------------------
-----------------------------------------------------
-----------------------Warnings----------------------
-----------------------------------------------------
------------------------Errors-----------------------
-----------------------------------------------------

28 Replacing a Control Station


EMC CONFIDENTIAL
Replacing a Control Station

Restoring system configuration on CS 0


If the system configuration files were not collected on CS 0, or if you
have replaced CS 1, skip this procedure and go to “Powering up
CS 1” on page 31.
If system configuration files were collected on CS 0, do the following
steps to restore the configuration files to the replacement Control
Station.

Note: Analyze these potentially corrupt backup files to ensure that restoring
them will not damage or contaminate the replacement Control Station. If
there is any concern about the safety of the files, do not restore.

1. Log in to CS 0 as nasadmin. Change to the root user by entering


the following command:
su root

2. Verify that /nas, /nbsnas, /nas/dos, and /nas/var are mounted


by typing:
df
3. Verify that the following files are in the /nas/var/backup
directory. If they are not present, from your laptop or network
location, copy the files back to the /nas/var/backup directory.
ls -l /nas/var/backup/*tar

Sample output:
-rw-r--r-- 1 root root 56985600 Aug 18 15:15 /nas/var/backup/home_backup.tar
-rw-r--r-- 1 root root 10158080 Aug 18 15:20 /nas/var/backup/recover_cs0_backup.
tar
-rw-r--r-- 1 root root 20879360 Aug 18 16:15 /nas/var/backup/5643300.tar

4. Create a temporary directory to analyze the NASDB backup


(nasdb_backup.1.tar.gz) by typing:
mkdir -p /tmp/recover_cs0

5. Change to this temporary directory by typing:


cd /tmp/recover_cs0

6. Untar the backup files created by the Upgrade Script by typing:


tar xpvf /nas/var/backup/recover_cs0_backup.tar

29
EMC CONFIDENTIAL
Replacing a Control Station

7. Change to the root directory by typing:


cd /

8. Restore the etc files to CS 0 by typing:


tar zxpvf /tmp/recover_cs0/nas/var/backup/nasdb_backup.1.tar.gz etc

9. Restore the contents of the /home directory by typing:


tar xpvf /nas/var/backup/home_backup.tar home

10. If the blades were running an EMCNAS patch (for example,


5643300.exe), restore the patch from the /nas/var/backup
directory and copy it to the /nas/dos/bin directory. For example:
cd /tmp/recover_cs0

tar xvpf /nas/var/backup/5643300.tar

cp /tmp/recover_cs0/nas/dos/bin/nas.exe /nas/dos/bin/nas.exe

11. Remove the tar files and temporary directories from the system.
cd /

rm -rf /tmp/recover_cs0

12. Reboot CS 0 to ensure that the Control Station works with the
new configuration:
reboot

13. Go to “Powering up CS 1” on page 31.

30 Replacing a Control Station


EMC CONFIDENTIAL
Replacing a Control Station

Powering up CS 1
If you have a single Control Station configuration, go to “Verifying
ConnectHome and email notification” on page 32.
If you have a dual Control Station configuration and have completed
replacing CS 0, you must power up CS 1 as described in this
procedure.
1. If you have completed replacement of:
• CS 1, go to “Verifying ConnectHome and email notification”
on page 32 (because CS 1 is already powered up in this case).
• CS 0, you must power up CS 1 before continuing; go to Step 2.
2. Verify that CS 0 has completed rebooting (see step 12 on page 30).
3. Power up CS 1 by reconnecting the CS 1 power cable to the power
distribution panel. Wait for CS 1 to initialize.
4. Fail over to CS 1 to verify that the failover function is working.
/nasmcd/sbin/cs_standby -failover

5. Fail back to CS 0 to make CS 0 the primary Control Station.


/nasmcd/sbin/cs_standby -takeover

6. Go to “Verifying ConnectHome and email notification” on


page 32.

31
EMC CONFIDENTIAL
Replacing a Control Station

Verifying ConnectHome and email notification


ConnectHome and email notification are re-enabled when the
Control Station comes back up. Use a HyperTerminal session to
verify ConnectHome and email notification:
1. From the ConnectHome configuration, determine the connections
that are enabled:
/nas/sbin/nas_connecthome -i
Sample output:
ConnectHome Configuration:

Encryption Enabled = yes


Dial In:
Enabled = yes
Modem phone number =
Site ID =
Serial number = HK192201084
Email:
Priority = 1
Sender Address = connectemc@emc.com
Recipient Address(es) = szg30@hosts.pvt.dns
Subject = CallHome Alert
Primary:
Email Server = sun1.hosts.pvt.dns
Secondary:
Email Server =

FTP:
Priority = Disabled
Primary:
FTP Server =
FTP Port = 21
FTP User Name = onalert
FTP Password = **********
FTP Remote Folder = incoming
FTP Transfer Mode = active
Secondary:
FTP Server =

32 Replacing a Control Station


EMC CONFIDENTIAL
Replacing a Control Station

FTP Port = 21
FTP User Name = onalert
FTP Password = **********
FTP Remote Folder = incoming
FTP Transfer Mode = active

Modem:
Priority = Disabled
Primary:
Phone Number = 918005270941
BT Tymnet = no
Secondary:
Phone Number = 918006262452
BT Tymnet = no

2. For each enabled connection, verify that ConnectHome works


with the /nas/sbin/nas_connecthome -test <connection_name>
command.
For example:
/nas/sbin/nas_connecthome -t -email_1

ConnectEMC 2.0.27-bl18 Wed Aug 22 10:24:32 EDT 2007


RSC API Version: 2.0.27-bl18
Copyright (C) EMC Corporation 2003-2008, all rights
reserved.
-----------------------------------------------------
Reading configuration file: ConnectEMC.ini.
Run Service begin...
Test succeeded for primary email.

Sample returns for disabled connections:


/nas/sbin/nas_connecthome -t -email_2
Error 14504231218: Secondary Email is not currently
enabled.

/nas/sbin/nas_connecthome -t -modem_1
Error 14504231218: Primary Modem is not currently
enabled.

/nas/sbin/nas_connecthome -t -modem_2
Error 14504231218: Secondary Modem is not currently
enabled.

33
EMC CONFIDENTIAL
Replacing a Control Station

3. Verify email notifications are configured:


/nas/bin/nas_emailuser -info

Service Enabled = No
Recipient Address(es) = abc@test.com
Carbon copy Address(es) =
Email Server = 1.2.3.4
Subject Prefix = Celerra Notification
Sender Address =

If the Recipient Address(es) field is empty, email notifications has


not been configured and does not need to be enabled. If you want
to configure email notifications, use the /nas/bin/nas_emailuser
command or Celerra Manager to configure it.
If the Recipient Address(es) field is populated, email notifications
were enabled. Re-enable email notifications:
a. Enable email notifications:
/nas/bin/nas_emailuser -modify -enabled yes
OK

b. Verify that email notification works:


/nas/bin/nas_emailuser -info

Service Enabled = Yes


Recipient Address(es) = youremail@yourcompany.com
Carbon Copy Address(es) =
Email Server = 1.2.3.4
Subject Prefix = Celerra Notification
Sender Address =

c. Test the configuration and verify that the configured Recipient


Address(es) received the test email:
/nas/bin/nas_emailuser -test
OK

34 Replacing a Control Station

You might also like