This section provides the procedures to restore the USB key Complete System Backup onto the new AMC121 CPU. This process comprises the following procedures:
To install the O/S and software load on the new AMC121 CPU using a USB key
- Insert the USB key into the USB port on the new AMC121 CPU.
- If the new AMC121 CPU is already activated, it must be reset to begin rebooting from the USB key. Refer to To deactivate the new AMC121 CPU for the proper deactivation procedure. When the blue LED stops blinking and remains illuminated, continue to the next step.
- Activate the new AMC121 CPU by pressing this card's ejector handle toward the front panel.
When the AMC121 is operational, the blue hot-swap LED turns OFF. - Press F2 while the AMC121 CPU is powering up to enter the BIOS.
If the AMC121 CPU starts to lilo boot, you have missed the chance to press F2. In this case, reset this card by pressing the Reset button on the AMC121 CPU faceplate (see the following figure) and try again.
If using the ejector handle to reset the CPU, refer to To deactivate the new AMC121 CPU for the proper deactivation procedure.
When the blue LED stops blinking and remains illuminated, press the card's ejector handle toward the front panel again to re-activate the card.
Navigate to the Main window and make sure that the System Time and the System Date are set to the local time and date on the working CPU and the other CPU in the operation regardless of timezone.
Caution
You must set the System Time and the System Date to the local time and date on the working CPU and the other CPU in operation regardless of timezone in this step even if you have done this task before. Otherwise, the system will not function as expected.
For example, if the local time on the working CPU is 07:30:25 EST, the time entered in the BIOS on the new AMC121 CPU and the other working CPU has to be 07:30:25 even though the timezone is not entered.
- Navigate to the Exit window, select Load Custom/Optimal Defaults, and press ENTER.
- Select OK, and press ENTER.
- Navigate to the Boot window and select Hard Disk Drives.
- Select the 1st Drive, highlight the device that corresponds to the USB key and press ENTER.
Select 2nd Drive, highlight the device that corresponds to the AMC121 CPU's SD card, and press ENTER.
Tip
The second boot drive should be the AMC121 CPU's SD card (USB: Single Flash Reader) and the third boot drive should be the AMC121 CPU's hard drive, which should be in the format SATA: <hd manufacturer/model>. In the following example, the hard drive entry is SATA:PM-FUJITSU MH.
Navigate to the Exit window, select Save Changes and Exit, press ENTER.
Enter root, and press ENTER.
CentOS Linux 7 (Core)
Kernel 3.10.0-693.21.1.el7.sonus06.x86_64 on an x86_64
usb-os-installer login:
Enter y, and then press ENTER. The following appears on your screen.
+-------------------------------------+
| USB OS Installation |
+-------------------------------------+
Installation Details
================================================================================
Card Type: AMC121
Target Shared Storage Device:
Node: /dev/sda
Transport: ata
Description: ATA Hitachi HTE54322
Installer Key Device:
Node: /dev/sdb
Transport: usb
Description: Generic Flash Disk
Target Root File System Device:
Node: /dev/sdc
Transport: usb
Description: Single Flash Reader
Do you wish to repartition/reformat the logs/stats device /dev/sda (y/n)?
Enter y and then press ENTER.
The system will be installed on device sdc.
Confirm (y/n)?
When prompted, remove the USB key and press ENTER to reboot the AMC121 CPU.
Please remove the USB key. Upon reboot into the OS installed on the permanent
drive there will be additional automated installation steps and a second reboot.
When this reboot has completed:
- for new install the login banner will indicate when system initialization
steps are required.
- for restore the data will be applied to the system and applications will
start.
Manual installation sanity checks can be performed at that time.
Please remove the USB key and press ENTER to continue (reboot).
<PRESS ENTER>
If the AMC121 CPU does not boot without the USB key, go to the BIOS settings and make sure that the SD card is set as the first boot device.
The screen output for Boot > Hard Disk Drive should appear as follows.
The screen output for Boot >Boot Device Priority should appear as follows.
After the system reboots and the following prompts appear, go to the next step.
Enter root for login and the same password for the working CPU, and then press ENTER.
If the root password from the working CPU is not working, try to use password changeme instead.
Verify the OS version by running following command at the Linux prompt on the new AMC121 CPU.
Make sure that the Chassis Type is set to 3U on the new AMC121 CPU by doing the following:
To verify the chassis type, enter the following:
# /usr/sbin/getChassisType
3U
If the chassis type is not already set to 3U, enter the following:
# /usr/sbin/setChassisType -c 3U
Set Chassis Type to 3U
From the new AMC121 CPU, make sure that this CPU can ping its carrier card.
# ping -c 3 169.254.100.31
PING 169.254.100.31 (169.254.100.31) 56(84) bytes of data.
64 bytes from 169.254.100.31: icmp_seq=1 ttl=64 time=0.160 ms
64 bytes from 169.254.100.31: icmp_seq=2 ttl=64 time=0.154 ms
64 bytes from 169.254.100.31: icmp_seq=3 ttl=64 time=0.143 ms
--- 169.254.100.31 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.143/0.152/0.160/0.012 ms
To restore the data configuration on the new AMC121 CPU
Login to the new CPU.
echo (slot number) > /opt/restore_identity
For example, if the new CPU is supposed to be slot 24, type the following:
echo 24 > /opt/restore_identity
Enter the following, and press ENTER.
systemctl restart sonus-system
The CPU restores the data and then reboot itself.
Tip
The CPU restore can take up to 15 minutes.