Commissioning Flexi NG
Flexi NG 3.1
1 Install SW in ATCA Flexi NG ©2013 Nokia Solutions and Networks. All rights reserved.
PDF created with pdfFactory Pro trial version www.pdffactory.com
Nokia Solutions and Networks Academy
Legal notice
Intellectual Property Rights
All copyrights and intellectual property rights for Nokia Solutions and Networks training documentation, product
documentation and slide presentation material, all of which are forthwith known as Nokia Solutions and Networks training
material, are the exclusive property of Nokia Solutions and Networks. Nokia Solutions and Networks owns the rights to
copying, modification, translation, adaptation or derivatives including any improvements or developments. Nokia
Solutions and Networks has the sole right to copy, distribute, amend, modify, develop, license, sublicense, sell, transfer
and assign the Nokia Solutions and Networks training material. Individuals can use the Nokia Solutions and Networks
training material for their own personal self-development only, those same individuals cannot subsequently pass on that
same Intellectual Property to others without the prior written agreement of Nokia Solutions and Networks. The Nokia
Solutions and Networks training material cannot be used outside of an agreed Nokia Solutions and Networks training
session for development of groups without the prior written agreement of Nokia Solutions and Networks.
2 Install SW in ATCA Flexi NG ©2013 Nokia Solutions and Networks. All rights reserved.
PDF created with pdfFactory Pro trial version www.pdffactory.com
Objectives
• List steps for build up Flexi NG
• Install Flexi NG software package through FEWS tool
• SW upgrade or downgrade
3 Install SW in ATCA Flexi NG ©2013 Nokia Solutions and Networks. All rights reserved.
PDF created with pdfFactory Pro trial version www.pdffactory.com
Commissioning Workflow
4 Install SW in ATCA Flexi NG ©2013 Nokia Solutions and Networks. All rights reserved.
PDF created with pdfFactory Pro trial version www.pdffactory.com
Steps for Build Up Flexi NG
• Install memories to ACPI5-A and hard disk to RTM
• Install your blades and AMCs to shelf
• Setup your Linux PC
• Copy needed R_FPT*.iso from NOLS to FEWS PC
• FSetupcli action in FEWS
– Uncompress R_FPT*.iso file to *.img files(fsetupcli --delivery --patch *.iso)
– Session creation(fsetupcli –session --create <session name> <fsetup*.conf>
– Session start(fsetupcli –session –start <session name>)
• SW Installation
– Disable all nodes except CLA-0 and AHUBs in shelf manager(clia deactivate board <slot
number>
– Boot up CLA-0 from FEWS(Net boot is used instead of boot from hard disk). Note that
others nodes should be disabled in this stage.
– Boot up other nodes from CLA-0. Enable other nodes, except CLA-1
– Boot up CLA-1 and run post configuration CLA-0 at the same time
5 Install SW in ATCA Flexi NG ©2013 Nokia Solutions and Networks. All rights reserved.
PDF created with pdfFactory Pro trial version www.pdffactory.com
Steps for Build Up Flexi NG Cont.
• eSW checking and updating using SCLI or manual commands
• SSH preparation
– Define SSH IP address and routes
– Edit /etc/ssh/sshd_external-file and restart SSH RG(hascli –rn /SSH)
• Integration
– Networking
– Routing
– Flexi NG services
6 Install SW in ATCA Flexi NG ©2013 Nokia Solutions and Networks. All rights reserved.
PDF created with pdfFactory Pro trial version www.pdffactory.com
Setting up FEWS
What is FEWS?
• FEWS is the abbreviation for ‘Field Engineering WorkStation’
• FEWS can be any kind of Intel based laptop or PC
• FEWS runs RedHat Enterprise Linux as operating system
• FEWS contains the SW delivery/deliveries for commissioning
• FEWS needs to have at least one Ethernet interface
7 Install SW in ATCA Flexi NG ©2013 Nokia Solutions and Networks. All rights reserved.
PDF created with pdfFactory Pro trial version www.pdffactory.com
Connect FEWS to Flexi NG
• Connect from FEWS PC ethernet cable to AHUB4-A(left AHUB and port SFP
1/6)
• Serial connection at least to Shelf manager and CLA-0 is needed. You can
use also windows laptop to get needed serial connections to CLA and Shelf
Manager.
8 Install SW in ATCA Flexi NG ©2013 Nokia Solutions and Networks. All rights reserved.
PDF created with pdfFactory Pro trial version www.pdffactory.com
Using Commissioning Tools from Delivery Image-1
• Create a temporary directory for the delivery in FEWS machine
mkdir -p /root/package
• Copy the ISO image to this directory
[root@localhost ~]# ll /root/package/
total 2009564
-rw-r--r-- 1 root root 2055776256 Aug 8 16:00
R_FPT_1.40.1.26_374034p1_NG3.1_PT8_r200652_AB4.iso
9 Install SW in ATCA Flexi NG ©2013 Nokia Solutions and Networks. All rights reserved.
PDF created with pdfFactory Pro trial version www.pdffactory.com
Using Commissioning Tools from Delivery Image-2
• Mount the ISO image to the FEWS file system
mkdir -p /mnt/fewsng
mount -o loop /root/package/FPT*_xxx.iso /mnt/fewsng
• The commissioning tools are available under <mount point>/MISC/SS_FEWS/bin
[root@localhost ~]# ll /mnt/fewsng/MISC/SS_FEWS/bin/
total 221
drwxr-xr-x 2 root root 2048 Jan 25 13:14 delivery
-rwxr-xr-x 1 root root 6579 Jan 25 13:14 dexec.sh
drwxr-xr-x 3 root root 2048 Jan 25 13:14 fews
-rwxr-xr-x 1 root root 28882 Jan 25 13:14 fsetupcli
drwxr-xr-x 2 root root 2048 Jan 25 13:14 hw
drwxr-xr-x 2 root root 2048 Jan 25 13:14 iso
drwxr-xr-x 2 root root 2048 Jan 25 13:14 post
drwxr-xr-x 2 root root 2048 Jan 25 13:14 repo
drwxr-xr-x 2 root root 2048 Jan 25 13:14 session
drwxr-xr-x 2 root root 2048 Jan 25 13:14 sudo
drwxr-xr-x 2 root root 2048 Jan 25 13:14 target
drwxr-xr-x 2 root root 2048 Jan 25 13:14 usb
drwxr-xr-x 2 root root 2048 Jan 25 13:14 user
-rwxr-xr-x 1 root root 167608 Jan 25 13:14 xdelta3
10 Install SW in ATCA Flexi NG ©2013 Nokia Solutions and Networks. All rights reserved.
PDF created with pdfFactory Pro trial version www.pdffactory.com
Extract Package
• Export FEWS path
export PATH=/mnt/fewsng/MISC/SS_FEWS/bin:$PATH
• Patch the package
fsetupcli --delivery --patch /root/package/FPT*_xxx.iso
• After delivery patch, you can find 2 *.img files from:
/opt/nokiasiemens/fews/deliveries/<package>/
[root@localhost ~]# ll /opt/nokiasiemens/fews/deliveries/R_FPT_1.40.1.36_376472p2_NG3.1_r208998_AB4/
total 4477220
-rw-r--r-- 1 root root 271 Feb 20 10:37 METADATA
drwxr-xr-x 5 root root 4096 Feb 20 10:37 MISC
-r--r--r-- 1 root root 2038431744 Feb 20 10:37 R_FPT_1.40.1.36_376472p2_NG3.1_r208998_AB4amp.img
-r--r--r-- 1 root root 2541748224 Feb 20 10:35 R_FPT_1.40.1.36_376472p2_NG3.1_r208998_AB4x86.img
drwxr-xr-x 10 root root 4096 Jan 25 12:50 SS_FSetup
11 Install SW in ATCA Flexi NG ©2013 Nokia Solutions and Networks. All rights reserved.
PDF created with pdfFactory Pro trial version www.pdffactory.com
Open Terminal Window for Minicom
• Open another terminal/console window for hardware configuration.
– It is recommended to use this terminal window only for hardware configuration with the
Minicom utility and keep it open until commissioning is successfully completed.
– Execute all commands below in the Minicom terminal.
• Launch Minicom in the setup mode by entering the following command:
– # minicom -s
– The configuration window is displayed.
– If FEWS has only one serial port, it is usually mapped as /dev/ttyS0. Note that the last
character is zero.
– Typically, laptops do not have serial ports. In this case, use a USB-to-Serial adapter and
Minicom mapping /dev/ttyUSB0.
12 Install SW in ATCA Flexi NG ©2013 Nokia Solutions and Networks. All rights reserved.
PDF created with pdfFactory Pro trial version www.pdffactory.com
Minicom Configure Settings
• Scroll down the menu with the arrow key, select Serial port setup, and press
Enter.
• A popup window is displayed.
– Press A to change the serial device.
– If FEWS has only one serial port, enter the serial line as /dev/ttyS0, and press Enter.
if FEWS has no serial port, enter /dev/ttyUSB0, and press Enter.
– Press E to change the default connection speed of the serial device and select 38400 (the
serial port speed of the ACPI5-A and AHUB4-A blades and the shelf manager is 38400
8N1).
– Press F to change Hardware Flow Control to No.
– Press G to change Software Flow Control to No.
• Using the arrow keys, move to Save setup as dfl and press Enter.
– This configuration is saved as the default setup.
• Select Exit Minicom.
13 Install SW in ATCA Flexi NG ©2013 Nokia Solutions and Networks. All rights reserved.
PDF created with pdfFactory Pro trial version www.pdffactory.com
Prepare Flexi NG Deployment-1
• Create a temporary work directory into your FEWS work directory
mkdir temp_1
• Check the SW status
fsetupcli --delivery --list
R_FPT0_5.2.0.0.WR.64.20130730T105088:OK
• Mount the package R_FPT*.x86_64.img file to the new temp directory
mount -o loop
/opt/nokiasiemens/fews/deliveries/R_FPT_1.40.1.36_376472p2_NG3.1_r208998_AB4/R_FPT_
1.40.1.36_376472p2_NG3.1_r208998_AB4x86.img temp_ng
14 Install SW in ATCA Flexi NG ©2013 Nokia Solutions and Networks. All rights reserved.
PDF created with pdfFactory Pro trial version www.pdffactory.com
Choose Flexi NG Deployment
• Go into deployment directory
cd temp_1/etc/opt/nokiasiemens/ldapfiles/ldif_in/
• Choose the Flexi NG deployment and put it in the FSetup.conf file
# ll /etc/opt/nokiasiemens/ldapfiles/ldif_in/ |grep create_ng
-rwxr-x--- 1 root root 9813 Jan 25 2014 check_create_ng.sh
-rwxr-x--- 1 root root 1699 Jan 25 2014 create_ng.conf.template
-rwxr-x--- 1 root root 4202 Jan 25 2014 create_ng.sh.template
……
-rwxr-x--- 1 root root 3475 Jan 25 2014 create_ng_ib_dpi_ha_nsnatca.sh
-rwxr-x--- 1 root root 3642 Jan 25 2014 create_ng_ib_dpi_nsnatca.sh
-rwxr-x--- 1 root root 2698 Jan 25 2014 create_ng_ib_ha_nsnatca.sh
-rwxr-x--- 1 root root 2714 Jan 25 2014 create_ng_max_dpi_ha_nsnatca.sh
-rwxr-x--- 1 root root 1766 Jan 25 2014 create_ng_nsnatca.sh
• Copy the deployment files to the deployment directory
cp create_ng*.sh
/opt/nokiasiemens/fews/deliveries/R_FPT_1.40.1.36_376472p2_NG3.1_r208998_AB4/SS_FSetup/etc/ldif_in
15 Install SW in ATCA Flexi NG ©2013 Nokia Solutions and Networks. All rights reserved.
PDF created with pdfFactory Pro trial version www.pdffactory.com
Creating the FSetup Configuration File
#DELIVERY="R_FPT0_2.9.1.2.WR.64.20101027T145713" # commissioning
COMM_DELIVERY_ROOT="/opt/nokiasiemens/fews/deliveries" # commissioning
COMM_SESSION_ROOT="/opt/nokiasiemens/fews/sessions" # commissioning
HW_PLATFORM="ATCA" # system
CLUSTERID="Lion" # system This is name of the your ATCA
#TIMEZONE="Europe/Helsinki" # commissioning
FSVER="FP5LYNX" # system
COMM_IFACE="eth1" # commissioning This is interface in FEWS where AHUB is connected
#COMM_IPMGMT_EXTERNAL_IP_SCRIPT="/atkis/fews/ipscript_buster.sh" # commissioning
#COMM_IPMGMT_FI_SUBNET="169.254.128.0/17"
CPU_TYPE="x86_64" # system
#DEPLOYMENT="create_Flexi NG_1shelf.sh" # commissioning
#COMM_NETWORK="192.168.40.1/24" # commissioning
COMM_NETWORK="192.168.0.1/24" # commissioning
COMM_FEWSIP="192.168.0.199/24" # commissioning
COMM_NODE="CLA" # commissioning
#COMM_IPMGMT_INTERNAL_IFACE=eth0
#COMM_IPMGMT_FI_IFACE=eth2
COMM_KERNEL_VARIANT="wr"
#PASSWORD_root='root'
#PASSWORD__nokfsoperator='root'
#PASSWORD__nokfssysemoperatorfallback='root'
16 Install SW in ATCA Flexi NG ©2013 Nokia Solutions and Networks. All rights reserved.
PDF created with pdfFactory Pro trial version www.pdffactory.com
Create Commissioning Session-1
• FEWS: Commissioning session creation:
#fsetupcli –-session –-create <session name> fsetup*.conf
For example:
#fsetupcli –-session –-create lion /tmp/fsetuplion.conf
Choose SW delivery, deployment and define passwords.
• FEWS: After session is created you need to start it:
#fsetupcli –-session –-start <session name>
For example:
#fsetupcli –-session –-start lion
17 Install SW in ATCA Flexi NG ©2013 Nokia Solutions and Networks. All rights reserved.
PDF created with pdfFactory Pro trial version www.pdffactory.com
Create Commissioning Session-2
• With creation of a session the directory /opt/nokiasiemens/fews/<mySession>
will be created. The directory contains all configuration data to commission
the CLA, except data used to boot the CLA.
• The SW for the CLA will be fetched from
/opt/nokiasiemens/deliveries/<delivery-version selected for commissioning>
during the commissioning process.
• In addition the session create command will create the configuration files for
the DHCP daemon and for TFTP to start the CLA via the network according
the passed commissioning parameter.
18 Install SW in ATCA Flexi NG ©2013 Nokia Solutions and Networks. All rights reserved.
PDF created with pdfFactory Pro trial version www.pdffactory.com
Create Commissioning Session-3
•The DHCP daemon is used to assign the IP address and boot information to
the CLA and TFTP is used to copy the kernel and initial ram-disk.
•The DHCP daemon configuration files can be found at
/opt/nokiasiemens/fews/sessions/<mySession>
•The TFTP files used to start the CLA can be found at /tftpboot/<mySession>
19 Install SW in ATCA Flexi NG ©2013 Nokia Solutions and Networks. All rights reserved.
PDF created with pdfFactory Pro trial version www.pdffactory.com
CLA BIOS Setting-Enable Disk Loading
20 Install SW in ATCA Flexi NG ©2013 Nokia Solutions and Networks. All rights reserved.
PDF created with pdfFactory Pro trial version www.pdffactory.com
CLA BIOS Setting-Change Boot Priority
21 Install SW in ATCA Flexi NG ©2013 Nokia Solutions and Networks. All rights reserved.
PDF created with pdfFactory Pro trial version www.pdffactory.com
CLA BIOS Setting-Disable Watchdog Timer
****************************************************************************
* Watchdog Timer Configuration * Select the BIOS POST *
* *************************************************** * IPMI HW watchdog *
* BIOS POST Timeout [Disabled] * timeout value. *
* BIOS POST Action [No Action] * *
* * *
* OS Load Timeout [Disabled] * *
* OS Load Action [No Action] *
22 Install SW in ATCA Flexi NG ©2013 Nokia Solutions and Networks. All rights reserved.
PDF created with pdfFactory Pro trial version www.pdffactory.com
Commissioning
• CLAs: Clear the Master Boot Record (MBR) before commissioning in CLAs if
there is a old SW
#dd if=/dev/zero of=/dev/sda count=1 bs=512
• Connect fews to hub (SFP 1/6 interface in ahub3)
In Shelfmanager:Deactivate all plugged boards except CLA-0, AHUB and
Shelf Manager. Use shelf manager(root/shmm4nsn):
#clia deactivate board < slot number >
• For example:
#clia deactivate board 2
23 Install SW in ATCA Flexi NG ©2013 Nokia Solutions and Networks. All rights reserved.
PDF created with pdfFactory Pro trial version www.pdffactory.com
Commissioning
• Shelf manager:Restart CLA-0:
#clia boardreset 1
• Boot order in CLA sholud be that PXE-boot is first and after that Hard drive.
You should have serial connection to CLA-0 that you can see that CLA start
to boot from PXE(FEWS). You should press enter beginning that PXE-boot
continues. If boot order is not correct one then during CLA-0 boot press F12
to get boot setup to change boot priority.
boot: "manual" for manual installation (default) Press enter here
24 Install SW in ATCA Flexi NG ©2013 Nokia Solutions and Networks. All rights reserved.
PDF created with pdfFactory Pro trial version www.pdffactory.com
Commissioning
• Check commissioning log in FEWS:
q tail -f /opt/nokiasiemens/fews/sessions/<sessionname>/log/FSETUP.log
• After commissioning is finished you can see commissionig finished OK text on
CLA-0. Stop session in FEWS:
#=============================================#
# COMMISSIONING: FINISHED OK (0)
# START DATE: 2010-07-16-181021
# END DATE: 2010-07-16-183005
# ELAPSED TIME: 00:09:44
#=============================================#
#fsetupcli --session --stop session_name
• For example
#fsetupcli --session --stop lion
25 Install SW in ATCA Flexi NG ©2013 Nokia Solutions and Networks. All rights reserved.
PDF created with pdfFactory Pro trial version www.pdffactory.com
Commissioning
• Shelfmanager or serial console in CLA-0: Restart CLA-0.
For example in shelf manager or in CLA-0 press 0(reboot node):
#clia boardreset 1
• After CLA-0 is up then activate the all boards except CLA-1 in shelf manager
#clia activate board < slot number >
For example:
#clia activate board 3
26 Install SW in ATCA Flexi NG ©2013 Nokia Solutions and Networks. All rights reserved.
PDF created with pdfFactory Pro trial version www.pdffactory.com
Commissioning
• CLA-0: When all blades are up(use fstestcli command to check node status.
When nodes are NOK state, you can proceed then Start post Config right
away after cla-1(activate from shelf manager) start to get up.
• In shelf manager:
#clia activate board 16 CLA-1 (Wait few seconds…)
• In CLA-0:
#fsetupcli post configure
• If you have problems, check postconfig failure cases.
27 Install SW in ATCA Flexi NG ©2013 Nokia Solutions and Networks. All rights reserved.
PDF created with pdfFactory Pro trial version www.pdffactory.com
Commissioning, SSH access
• After postconfiguration is finished you can define SSH access
#INFO "postConfig finished successfully"
• Give permission to access ssh with vi-tool in CLA-0. You need to do that also in CLA-1 when
redundancy is supported. At the moment its not needed.
#vi /etc/ssh/sshd_external_config
change permit_root_login no to yes
– enter insert mode, use i
– Exit and save, use esc then wq!
• Restart ssh process
#hascli -rn /SSH
• Configure your external IP addresses as mentioned on Integration, IP connectivity(O&M),
Layer 3 and Integration, IP connectivity(O&M), Layer 2 slides and SSH is ready to use
28 Install SW in ATCA Flexi NG ©2013 Nokia Solutions and Networks. All rights reserved.
PDF created with pdfFactory Pro trial version www.pdffactory.com
Check eSW through SCLI
• The eSW version of the FRU can be retrieved using the following SCLI
commands:
– show sw-manage embedded-sw version node <node-name>
– show sw-manage embedded-sw version fru-location <fru-location>
• The status of the FRU for performing eSW upgrade can be retrieved using the
following SCLI commands:
– show sw-manage embedded-sw status node <node-name>
– show sw-manage embedded-sw status fru-location <fru-location>
29 Install SW in ATCA Flexi NG ©2013 Nokia Solutions and Networks. All rights reserved.
PDF created with pdfFactory Pro trial version www.pdffactory.com
Upgrade eSW through SCLI
• The upgrade of the eSW of the FRU can be performed using the following
SCLI commands:
– set sw-manage embedded-sw upgrade node <node-name> all [version-check
<disable|enable>][status-check <disable|enable>]
– set sw-manage embedded-sw upgrade fru-location <frulocation> all [version-check
<disable|enable>][status-check <disable|enable>]
– set sw-manage embedded-sw upgrade node <node-name> <esw-type> [version-check
<disable|enable>][status-check <disable|enable>]
– set sw-manage embedded-sw upgrade fru-location <frulocation> <esw-type> [version-
check <disable|enable>][status-check <disable|enable>]
30 Install SW in ATCA Flexi NG ©2013 Nokia Solutions and Networks. All rights reserved.
PDF created with pdfFactory Pro trial version www.pdffactory.com