You are on page 1of 30

09/05/2017

DELTA APG_LINUX E///

Dirección de Operaciones y Red


Mayo 2017

Dirección de Operaciones y Red 1


Telefónica de España

DELTA APG LINUX E///

Crisis económica
 INTRODUCCIÓN
 HW Y CABLEADO APG43
Competencia en todas las
 ESTRUCTURA
redes SW APG43 LINUX
 MANEJO Y CAMBIO DE TARJETAS

Dirección de Operaciones y Red 2


Telefónica de España

1
09/05/2017

DELTA APG LINUX E///

Crisis económica
 INTRODUCCIÓN
 HW Y CABLEADO APG43
Competencia en todas las
 ESTRUCTURA
redes SW APG43 LINUX
 MANEJO Y CAMBIO DE TARJETAS

Dirección de Operaciones y Red 3


Telefónica de España

DELTA APG LINUX E///


 CP 212-55

Dirección de Operaciones y Red 4


Telefónica de España

2
09/05/2017

DELTA APG LINUX E///

Dirección de Operaciones y Red 5


Telefónica de España

DELTA APG LINUX E///


 CP 212-55

2 11 0 00 111 22
0
MAUB
CPUB-A

CPUB-B

APUB-A

APUB-B
GED/DVD
(optional)
SCB-RP/4

SCB-RP/4
GEA (opt.)
For RPBI-S

For RPBI-S
Reserved

Reserved
GED/DISK-1

GED/DISK-2

Dirección de Operaciones y Red 6


Telefónica de España

3
09/05/2017

DELTA APG LINUX E///


 APG43

2 11 0 00 111 22
0
MAUB

APUB-A

GED/DVD
(optional)

APUB-B
GED/DISK-1

GED/DISK-2
CPUB-A

CPUB-B
GEA (opt.)
Reserved
For RPBI-S

Reserved
For RPBI-S
SCB-RP/4

SCB-RP/4
Dirección de Operaciones y Red 7
Telefónica de España

DELTA APG LINUX E///

Dirección de Operaciones y Red 8


Telefónica de España

4
09/05/2017

DELTA APG LINUX E///

Crisis económica
 INTRODUCCIÓN
 HW Y CABLEADO APG43
Competencia en todas las
 ESTRUCTURA
redes SW APG43 LINUX
 MANEJO Y CAMBIO DE TARJETAS

Dirección de Operaciones y Red 9


Telefónica de España

DELTA APG LINUX E///


 APG43 APUB

•Two SAS connections to the two POW


GED/Disk boards. SNC
MIA

•Single SATA connection to the SAS-1


GED/DVD board. SAS-0
USB-1
•SATA/USB connection to the
Alarm board. SATA-1, USB-0

SATA-0
•Local ethernet port.
ETH-2, DEBUG
CONSOLE
•Two public ethernet ports.
RESET
•Serial console port. ETH-1
ETH-0
•Boots from system disk, flash
disk or USB.

Dirección de Operaciones y Red 10


Telefónica de España

5
09/05/2017

DELTA APG LINUX E///


 APG43 APUB

• Each GEP board includes:


AMD Opteron, single core, 30 W, 1.8 GHz 64 bit
processor (the AP uses 32 bit).
1 GB DDR333 memory.
SAS RAID controllers used as SAS initiators.
2 x1 GbE backplane, 2 x 1GbE front. 10/100 Mbit
debug.
SATA channel (ext. media).
USB interface (alarm transport).
NO VGA and keyboard/mouse connections. W2k03
supports serial console.
IPMI processor.
512 MB Flash disk pre-loaded with Windows PE.
73 GB SAS 2.5” system disk.

• Each board occupies 2 slots ( 30 mm).

Dirección de Operaciones y Red 11


Telefónica de España

DELTA APG LINUX E///


 APG43 APUB

Dirección de Operaciones y Red 12


Telefónica de España

6
09/05/2017

DELTA APG LINUX E///


 APG43 GED-Disk

• Provides AP data disk storage.

• Each board occupies 2 slots (30 mm).

• Single, enterprise class, 3,5” SAS disk.

• 147 GB (later will be 300GB).

• Dual SAS port, for redundant connection via


front panel to each of the GEP/APUB boards
(i.e. to both APG43 nodes).

• Mbus (HWID, MIA, Off/On/Reset).

Dirección de Operaciones y Red 13


Telefónica de España

DELTA APG LINUX E///


 APG43 GED-DVD

• Non-redundant, hot-pluggable.

• Provides external media (DVD-R/RW)


storage.

• The board occupies 4 slots (60mm).

• 1X 5.25” SATA DVD Reader/Writer (Plextor).

• 8.5 GB dual-layer DVD-RW media.

• Each of two SATA ports on front panel is


connected to a SATA port on each AP node.

• SATA Port Selector allows one AP to get


ownership of Media.
Dirección de Operaciones y Red 14
Telefónica de España

7
09/05/2017

DELTA APG LINUX E///


 APG43 GEA
• Provides the APG with:
 External Alarm (32) Collection
 Distribution of Ext. Alarm to APUB
 Alarm Display Mediation

• Serial (UART) to USB conversion for


tunneling External Alarms to AP applications.

• USB channels/connectors on front.

• Sofix (prev. RS485) on front for alarm display


output.

• 72 pin Dsub for 32 alarm inputs replaced by 8


FCI Densishield for 8 x 8 = 64 alarm points.
- GEA field release will be 4 x 8 = 32 alarm
inputs

• Occupies only 1 slot ( 15 mm) due to Dsub


removal.

Dirección de Operaciones y Red 15


Telefónica de España

DELTA APG LINUX E///


 APG43 APUB HW

Dirección de Operaciones y Red 16


Telefónica de España

8
09/05/2017

DELTA APG LINUX E///


 APG43 Cableado

Dirección de Operaciones y Red 17


Telefónica de España

DELTA APG LINUX E///


 APG43/2 Cableado

Dirección de Operaciones y Red 18


Telefónica de España

9
09/05/2017

DELTA APG LINUX E///


 APG43 Cableado

Dirección de Operaciones y Red 19


Telefónica de España

DELTA APG LINUX E///

Crisis económica
 INTRODUCCIÓN
 HW Y CABLEADO APG43
Competencia en todas las
 ESTRUCTURA
redes SW APG43 LINUX
 MANEJO Y CAMBIO DE TARJETAS

Dirección de Operaciones y Red 20


Telefónica de España

10
09/05/2017

DELTA APG LINUX E///


 Three IP addresses

NODE A (Standby)
(Active) (Active)
NODE B (Standby)

Host IP address Host IP address


IPC IPC

IPA IPB
MACA MACB
APG 40
HUB

ARP frame (IPC, MACA) ARP frame (IPC, MACB)

ROUTER

Dirección de Operaciones y Red 21


Telefónica de España

DELTA APG LINUX E///


 Component Architecture

• The APG43 platform on Linux OS is a Component Based Architecture (CBA) node.


• The following components will be part of first APG43L delivery:
 Common HW platforms (GEP, GED, GEA)
 Linux Distribution Extension(LDE)
 Core MiddleWare (CMW)
 Common Operation and Maintenance (COM)
 Backup and Restore Framework Coordinator (BRFC)

Model
ME F

SF E
T

COM AXE-IO Applications

BRFC

Core Middleware

LDE

GEP, GED, GEA

Dirección de Operaciones y Red 22


Telefónica de España

11
09/05/2017

DELTA APG LINUX E///


 Centralized User Management

• The APG43L requires a centralized LDAP server for the users.


 No normal users are defined on the APG as such
 Only trouble shooting users are locally defined.
• The LDAP server is external to the APG and will be available as a
part of the Ericsson OSS. If Ericsson OSS is not used then it can be
implemented on customer LDAP server.
• The remote system is accessed via a secure interface, that is LDAP
over TLS.
• Only LDAP version 3 is supported.
• The LDAP schema is implemented by CoreMW.
• This username length should not exceed 8 characters. Usernames
are limited to 8 characters because of LDAP server in OSS-RC

Dirección de Operaciones y Red 23


Telefónica de España

DELTA APG LINUX E///


 Centralized User Management

Network configuration is a prerequisite for Centralized User Management (A&A)

2 ID & PWD

Targets Nodes
3 TARGETs matching
and Roles for all
O&M users LDAP
4 GET ROLES

2 3 4

Targets are 1 1 LOGIN


specified
in APG 5 BSC 5 Ready FOR OPERATION
APG

Dirección de Operaciones y Red 24


Telefónica de España

12
09/05/2017

DELTA APG LINUX E///


 Type of Sessions
MML session: AP session:
› Normal OAM activities on
AP
› OAM activities on CP
› AP commands
› COM CLI
› MML commands
› Exec mode
› Config mode

AP trouble shooting session: File Transfer session:


› Advance OAM activities › Copy files to/from remote
› Restricted set of operating servers/clients.
system commands
› AP commands specific for › Only the exposed file system
troubleshooting activities is visible to the user
Dirección de Operaciones y Red 25
Telefónica de España

DELTA APG LINUX E///


 Type of users

• Defined on central LDAP server


• Normal O&M operations
- Model based configuration
OaM user - AXE MML

• Temporary local user


• Troubleshooting operations
TS Admin - Predefined OS cmd
Manage TS user TS user - Predefined AP cmd
on local APG - Model based configuration
- AXE MML
- No target/roles
Dirección de Operaciones y Red 26
Telefónica de España

13
09/05/2017

DELTA APG LINUX E///


 Users Interface
tsadmin
4422
LDAP TLS-P.636 4423
server

4422
4423
22
Local 22
23 Security 23
TS users
LDAP 5XXX Authority 5XXX
users 52XXX 52XXX

APG43L

console
root

AUTHORITY LEVEL
ITEMS
ROLE Non-security MOM Security MOM Non-security folders Security folders MML Session AP cmd
All (except aehevls,
Full access (No
SystemAdministrator Full access No Access No access No alogfind,csadm,gmlog, rpmo, tcdef,
access in /tools)
ncdef, ldapdef)
Read-only to 3 Top
Only aehls, aehevls, alist, alogfind,
SystemSecurityAdministrator MOC but not the Full access Read-only access Full access No
csadm, tcdef, ncdef, ldapdef
attributes
SystemReadOnly Read-only access No access Read-only access No access No Only listing commands
Read-only to 3 Top
EricssonSupport No access Only /tools No access No Only gmlog, rpmo
MOC
Read-only to 3 Top Yes (as CP user
CpRole0 No Access No access No access Only alogfind, mml
MOC ADMINISTRATOR)
Read-only to 3 Top
≠ CpRole0 No Access No access No access Yes Only alogfind, mml
MOC

Dirección de Operaciones y Red 27


Telefónica de España

DELTA APG LINUX E///


 Conexiones

Dirección de Operaciones y Red 28


Telefónica de España

14
09/05/2017

DELTA APG LINUX E///


 MOM

• Configuration of APG43L is based on MOM (Managed Object


Model)
• Managed Object (MO) classes are organized in a tree hierarchy
• An MO represents an physical/logical resource
– It contains attributes and actions which enable user read and change
operations

ManagedElement

SystemFunctions

SwM BrM FileM SecM SwM SysM AXE Functions

Dirección de Operaciones y Red 29


Telefónica de España

DELTA APG LINUX E///


 MOM

Dirección de Operaciones y Red 30


Telefónica de España

15
09/05/2017

DELTA APG LINUX E///


 Apblade

Dirección de Operaciones y Red 31


Telefónica de España

DELTA APG LINUX E///


 MOM

› Exec Mode: For displaying information in a read-only way


and executing actions.
› Config Mode: For changing configuration and executing
actions.

Dirección de Operaciones y Red 32


Telefónica de España

16
09/05/2017

DELTA APG LINUX E///


 DISK
Duplicated data is written to a pair of drives

Dirección de Operaciones y Red 33


Telefónica de España

DELTA APG LINUX E///


 DISK
Duplicated data is written to a pair of drives

Dirección de Operaciones y Red 34


Telefónica de España

17
09/05/2017

DELTA APG LINUX E///


 DISK
Duplicated data is written to a pair of drives
Data dis k implem entation in APG 43L
APG43 (GEP1)
Board Name Port SCSI target IDCapacity Main Folder Note
Flash 0 0 (not used) 512 MB None
GED-SAS-A /dev/sdb 2 0 147/300 GB /data
/dev/md0
GED-SAS-B /dev/sdc 2 4 147/300 GB /data
/boot
System disk /dev/sdd 2 7 73/147/300 GB /var/log
/cluster

APG43/2 (GEP2)
/boot
System disk /dev/sdb 1 0 73/147/300 GB /var/log
/cluster
GED-SAS-B /dev/sdc 1 3 147/300/450/600 GB
/data
/dev/md0
GED-SAS-A /dev/sdd 1 7 147/300/450/600 GB
/data
Flash 0 0 1 GB/2 GB None

Dirección de Operaciones y Red 35


Telefónica de España

DELTA APG LINUX E///


 File System

› File system can be accessed via


(S)FTP and AP sessions via File
Management model (FILEM)
› Only a portion of data disk is
exposed and made accessible
› COM-FileM to expose a file system
for FTP/SFTP access
› SFTP and FTP sessions share
the same path prefix (/)

Dirección de Operaciones y Red 36


Telefónica de España

18
09/05/2017

DELTA APG LINUX E///


 Path FTP=APG43

/backup_restore/
cd /data/opt/ap/internal_root/backup_restore/

/data_transfer/destinations/STSDEST/Ready
cd /data/opt/ap/internal_root/data_transfer/destinations/STSDEST/Ready

Dirección de Operaciones y Red 37


Telefónica de España

DELTA APG LINUX E///

Crisis económica
 INTRODUCCIÓN
 HW Y CABLEADO APG43
Competencia en todas las
 ESTRUCTURA
redes SW APG43 LINUX
 MANEJO Y CAMBIO DE TARJETAS

Dirección de Operaciones y Red 38


Telefónica de España

19
09/05/2017

DELTA APG LINUX E///


 OSS-RC

- Consulta nodo OSS:


eac_esi_config -nelist
eac_esi_config -ne GCGUA6R

- OSS directorio STS


cd /var/opt/ericsson/sgw/outputfiles/asn1/apg_sts/M_DEL7R

Dirección de Operaciones y Red 39


Telefónica de España

DELTA APG LINUX E///


 SERVIDOR LDAP
comprobacion usuario GSO en el LDAP:

strac@ericgs1> ldapsearch -h 10.53.48.100 -b dc=gsmomc -D


cn=APGNUCLEO,ou=proxyagent,ou=com,dc=gsmomc -w APGNUCLEO "(&(uid=gso))"
version: 1
dn: uid=gso,ou=people,dc=gsmomc
userPassword: {SSHA}548VsSbLwTaX773W9F60lWi0cEwFbfV21hgCRw==
ericssonUserAuthorizationScope: apg.radio:SystemAdministrator
ericssonUserAuthorizationScope: apg.radio:SystemReadOnly
ericssonUserAuthorizationScope: radio:CpRole0
ericssonUserAuthorizationScope: apg.radio:CpRole0
ericssonUserAuthenticationScope: apg.radio
ericssonUserAuthenticationScope: radio

comprobacion todos los usuarios


strac@ericgs1> :
ldapsearch -h 10.53.53.237 -b dc=gsmomc -D
cn=APGNUCLEO,ou=proxyagent,ou=com,dc=gsmomc -w APGNUCLEO
"(&(objectClass=posixAccount)(ericssonUserAuthenticationScope=apg.radio))"

Dirección de Operaciones y Red 40


Telefónica de España

20
09/05/2017

DELTA APG LINUX E///


 SERVIDOR LDAP
(Ldap=1)>show -v
Ldap=1
baseDn="dc=gsmomc"
bindDn="cn=APGNUCLEO,ou=proxyagent,ou=com,dc=gsmomc"
bindPassword="1:iMCgVcYwNwxSzf9tsovQHpqAms2hu77Q"
fallbackLdapIpAddress="ericginf2.eri.gsm.tme.es"
ldapId="1"
ldapIpAddress="ericginf1.eri.gsm.tme.es"
nodeType
"M_DEL7R"
"apg.radio"
profileFilter=ERICSSON_FILTER
roleAliasesBaseDn=[] <empty>
useReferrals=false <default>
userLabel="LDAP based login authentication"
(Ldap=1)>ping ericginf1.eri.gsm.tme.es
PING ericginf1.eri.gsm.tme.es (10.53.53.237) 56(84) bytes of data.
^C
--- ericginf1.eri.gsm.tme.es ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2017ms

(Ldap=1)>ldapdef 10.53.48.100 ericginf1.eri.gsm.tme.es 10.53.48.101 ericginf2.eri.gsm.tme.es


(Ldap=1)>ping ericginf1.eri.gsm.tme.es
PING ericginf1.eri.gsm.tme.es (10.53.48.100) 56(84) bytes of data.
64 bytes from ericginf1.eri.gsm.tme.es (10.53.48.100): icmp_seq=1 ttl=241 time=4.59 ms
64 bytes from ericginf1.eri.gsm.tme.es (10.53.48.100): icmp_seq=2 ttl=241 time=3.18 ms
64 bytes from ericginf1.eri.gsm.tme.es (10.53.48.100): icmp_seq=3 ttl=241 time=3.29 ms

Dirección de Operaciones y Red 41


Telefónica de España

DELTA APG LINUX E///


 Usuarios TS APG43

addtsuser -e 14 ts_user

listtsuser

removetsuser

cat /etc/password

Dirección de Operaciones y Red 42


Telefónica de España

21
09/05/2017

DELTA APG LINUX E///


 Configuracion APG43
>show ManagedElement=M_DEL8R,SystemFunctions=1,SwM=1
SwM=1
activeSwVersion
"ManagedElement=M_DEL8R,SystemFunctions=1,SwM=1,SwVersionMain=APG43L-2.2.1-
R1A"
automaticBackup=0
automaticRestore=0
fallbackTimer=-1
localFileStorePath="/cluster/sw_package/APG"
subType="AP1"
reportProgress
actionId=0
actionName="Not Available"
progressInfo="Not Available"
progressPercentage=0
state=FINISHED
timeActionStarted="2016-11-29T01:28:21"
timeOfLastStatusUpdate="2016-11-29T01:28:21"
SwVersionMain=APG43L-2.2.1-R1A

Dirección de Operaciones y Red 43


Telefónica de España

DELTA APG LINUX E///


 Estado APG43
> prcstate -l
active node is up and working
passive node is up and working

> hcstart -v
Processing GENERAL related checks:

Processing SW-UPGRADE related checks:

Processing SW-HEALTH related checks:

Processing HW-HEALTH related checks:

Processing SECURITY related checks:

RESULT: APG is healthy

Dirección de Operaciones y Red 44


Telefónica de España

22
09/05/2017

DELTA APG LINUX E///


 Estado APG43

ABLLL4R-SC-2-2:# cmw-status si
Status OK
ABLLL4R-SC-2-2:# cmw-status node
Status OK
ABLLL4R-SC-2-2:# drbd-overview
0:drbd0/0 Connected Primary/Secondary UpToDate/UpToDate C r----- lvm-pv: lde-cluster-vg
27.94g 14.04g
ABLLL4R-SC-2-2:#

Dirección de Operaciones y Red 45


Telefónica de España

DELTA APG LINUX E///


 ETH IP ABLLL4R-SC-2-2:# netls
Public Network:
NODE-A
IP Address : 10.248.9.181
MAC Address: 3C:19:7D:8B:01:41
Subnet Mask: 255.255.255.240

NODE-B
IP Address : 10.248.9.182
MAC Address: 3C:19:7D:8A:A7:B1
Subnet Mask: 255.255.255.240

Gateway IP Address: 10.248.9.177


Cluster IP Address: 10.248.9.180

ABLLL4R-SC-2-2:# ip link ls dev eth0


5: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 3c:19:7d:8a:a7:b0 brd ff:ff:ff:ff:ff:ff
ABLLL4R-SC-2-2:# ip link ls dev eth1
6: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether 3c:19:7d:8a:a7:b1 brd ff:ff:ff:ff:ff:ff
ABLLL4R-SC-2-2:#

Dirección de Operaciones y Red 46


Telefónica de España

23
09/05/2017

DELTA APG LINUX E///


 Activate object types

 APG43W
• stmotd -i
• stmotd -a ALTSERVICE
• stmotd -e
 APG43L
• config
• ManagedElement=<NE>,SystemFunctions=1,AxeFunctions=1,
DataOutputHandling=1,StatisticalCounterM=1,ObjectTypes=1
• ObjectType=ALTSERVICE
• isIncluded=true
• commit
.
.

Dirección de Operaciones y Red 47


Telefónica de España

DELTA APG LINUX E///


 Manejo MOM
Alarm Identifier Class Category Time
10305:3 O2 APZ 2016-08-27 02:57:29

Object of Reference
B/Both

Alarm Text
AP NETWORK SURVEILLANCE STOPPED
PROBLEM
NETWORK SURVEILLANCE OF EXTERNAL NETWORK IS STOPPED

. ManagedElement=M_ATO1M,SystemFunctions=1,AxeFunctions=1,SupervisionHandling=1,ExternalNetworkSurveillanceM=1
(ExternalNetworkSurveillanceM=1)>show
ExternalNetworkSurveillanceM=1
failoverCount=0
isSurveillanceActive=NO
(ExternalNetworkSurveillanceM=1)>show -v
ExternalNetworkSurveillanceM=1
externalNetworkSurveillanceMId="1"
failoverCount=0 <read-only>
failoverPriority=PUBLIC_NET <default>
isSurveillanceActive=NO
(ExternalNetworkSurveillanceM=1)>configure
(config-ExternalNetworkSurveillanceM=1)>isSurveillanceActive=YES
(config-ExternalNetworkSurveillanceM=1)>commit
(ExternalNetworkSurveillanceM=1)>alist
.
Dirección de Operaciones y Red 48
Telefónica de España

24
09/05/2017

DELTA APG LINUX E///


 Apblade
(ApBlade=4)>show -v all
ApBlade=4
apBladeId="4"
functionalBoardName=GEA
side=NOT_APPLICABLE <default>
systemNumber=1
ApBladeInfo=4
alarmInterfaceStatus=UNDEFINED <read-only>
apBladeInfoId="4"
biosRunningMode=ORDINARY <read-only>
biosVersion="UNDEFINED" <read-only>
boardStatus=WORKING <read-only>
storageStatus=UNDEFINED <read-only>
temperatureStatus=NORMAL_TEMPERATURE <read-only>
faultLed <read-only> .

(ApBlade=4)>show-dn
ManagedElement=M_SIM8R,SystemFunctions=1,AxeFunctions=1,SystemComponentHandlin
g=1,EquipmentM=1,HardwareMgmt=1,Shelf=1.2.0.4,ApBlade=4 .

Dirección de Operaciones y Red 49


Telefónica de España

DELTA APG LINUX E///


 Nivel SW LINUX

Use case APG43L

Print system software


version swrprint [ -l ][ -c category ][ package ... ]
Print software version in
COM show ManagedElement=<NEID>,SystemFunctions=1,SwM=1,activeSwVersion
Print software version in TS
session immlist swInventoryId=1

Print software record in COM show ManagedElement=<NEID>,SystemFunctions=1,SwInventory=1


Print software record in TS immfind swInventoryId=1
session cmw-repository-list

Dirección de Operaciones y Red 50


Telefónica de España

25
09/05/2017

DELTA APG LINUX E///


 Fecha hora

Use case AP session

Check Time Zone tzls -c

tzch Europe/Stockholm

Check date date

Set System time date -s "2012-06-25 13:32:00"


Check Time Zone
Link association mtzln -p
Set Time Zone Link mtzln -f "(GMT+08:00) Beijing, Chongqing, Hong
association Kong, Urumqi" 0

Dirección de Operaciones y Red 51


Telefónica de España

DELTA APG LINUX E///


 Cluster

Use case APG43L TS session


Rebooting Cluster with
CoreMW commands cmw-cluster-reboot [--yes]
Rebooting Node with
CoreMW commands cmw-node-reboot [<hostname>]
All service units hosted on the node are prohibited from providing
service.

Note: The impacted workload is redistributed according to the


applications AMF redundancy model.

Locking Node cmw-node-lock [<hostname>]

cmw-node-unlock [<hostname>]

All service units hosted on the node are administratively allowed to


Unlocking Node provide service.

Dirección de Operaciones y Red 52


Telefónica de España

26
09/05/2017

DELTA APG LINUX E///


 Reiniciar nodo
prcboot
cmw-node-reboot SC-2-1
o
cmw-node-reboot SC-2-2

M_SIM8R-SC-2-1:# prcstate -l
active node is up and working
passive node is up and working

M_SIM8R-SC-2-1:# cmw-node-reboot SC-2-2


Prepared quick reboot on node 2 (SC-2-2)
Rebooting node 2 (SC-2-2)

M_SIM8R-SC-2-1:# prcstate -l
active node is up and working
passive node is down
Dirección de Operaciones y Red 53
Telefónica de España

DELTA APG LINUX E///


 Disco
Use case APG43L
Check Disk usage du / -h --max-depth=1 2>/dev/null

Check Disk free space df -ah

fdisk -l
http://www.thegeekstuff.com/2010/09/Linux-fdisk
http://www.linuxquestions.org/questions/Linux-newbie-8/which-disk-tool-
Manage Hard Disk Partition to-use-fdisk%3Bcfdisk%3Bsfdisk-206135/
APG COM usage and troubleshooting, within COM

raidmgr -a
Raid health check raidmgr -s
check a APG43L
ext2/ext3/etx4 file system raidmgr -k

Directory structure create raidmgr -d


Rebuild raid raidmgr -m
Recreate Disk Mirror raidmgr -r diskA/diskB
Enlarge Raid to maximum
size raidmgr -e
Create Mirror disk raidmgr -c

Dirección de Operaciones y Red 54


Telefónica de España

27
09/05/2017

DELTA APG LINUX E///


 Disk

ABLLL4R-SC-2-2:# smartctl --scan


/dev/sdb -d scsi # /dev/sdb, SCSI device
/dev/sdc -d scsi # /dev/sdc, SCSI device
/dev/sdd -d scsi # /dev/sdd, SCSI device

ABLLL4R-SC-2-2:# lsscsi -s
[6:0:0:0] disk MICRON eUSB DISK 1111 /dev/sda 2.03GB
[7:0:0:0] disk TOSHIBA AL13SEB300 0101 /dev/sdb 300GB
[7:0:1:0] disk TOSHIBA AL13SEL300 6301 /dev/sdc 300GB
[7:0:2:0] disk TOSHIBA AL13SEL300 6301 /dev/sdd 300GB

Dirección de Operaciones y Red 55


Telefónica de España

DELTA APG LINUX E///


 Disk-A
BIBEG1R-SC-2-2:$ readlink /dev/eri_diskA
sdd

BIBEG1R-SC-2-2:$ smartctl -a /dev/sdd


smartctl 6.0 2013-12-21 r3870 [x86_64-linux-3.0.101-0.47.52.1.8586.3.PTF-default] (SUSE RPM)
Copyright (C) 2002-12, Bruce Allen, Christian Franke, www.smartmontools.org

Vendor: TOSHIBA
Product: AL13SEL300
Revision: 6301
User Capacity: 300,000,000,000 bytes [300 GB]
Logical block size: 512 bytes
Logical Unit id: 0x500003955832a510
Serial number: 24N0A00TFBQA
Device type: disk
Transport protocol: SAS
Local Time is: Wed Apr 19 16:57:57 2017 CEST
Device supports SMART and is Enabled
Temperature Warning Enabled
SMART Health Status: OK

Elements in grown defect list: 0

Error counter log:


Errors Corrected by Total Correction Gigabytes Total
ECC rereads/ errors algorithm processed uncorrected
fast | delayed rewrites corrected invocations [10^9 bytes] errors
read: 0 4 0 0 0 547325.083 0
write: 0 0 0 0 0 56529.094 0

As the HW version is GEP2, so, please ask customer to replace GED-B ROJ 208 880/21 R1B ,
according to:
OPI APG43L, Datadisk, Repair, Doc No: 26/154 31-CNZ 226 23 Uen A
OPI AP, Data Disk, Recovery, Doc No: 24/154 31-CNZ 226 23 Uen A.

Dirección de Operaciones y Red 56


Telefónica de España

28
09/05/2017

DELTA APG LINUX E///


 Disk-B
BIBEG1R-SC-2-2:# readlink /dev/eri_diskB
sdc
BIBEG1R-SC-2-2:# smartctl -a /dev/sdc
smartctl 6.0 2013-12-21 r3870 [x86_64-linux-3.0.101-0.47.52.1.8586.3.PTF-default] (SUSE RPM)
Copyright (C) 2002-12, Bruce Allen, Christian Franke, www.smartmontools.org

Vendor: TOSHIBA
Product: AL13SEL300
Revision: 6301
User Capacity: 300,000,000,000 bytes [300 GB]
Logical block size: 512 bytes
Logical Unit id: 0x500003955832d35c
Serial number: 24N0A029FBQA
Device type: disk
Transport protocol: SAS
Local Time is: Sat Apr 22 09:51:55 2017 CEST
Device supports SMART and is Enabled
Temperature Warning Enabled
SMART Health Status: FIRMWARE IMPENDING FAILURE TOO MANY BLOCK REASSIGNS [asc=5d, ascq=64]

Current Drive Temperature: 33 C


Drive Trip Temperature: 65 C
Manufactured in week 08 of year 2014
Specified cycle count over device lifetime: 50000
Accumulated start-stop cycles: 8
Specified load-unload count over device lifetime: 200000
Accumulated load-unload cycles: 89
Elements in grown defect list: 8191
-

Long (extended) Self Test duration: 2561 seconds [42.7 minutes]


The diskA (sdd) is fault-free

Dirección de Operaciones y Red 57


Telefónica de España

DELTA APG LINUX E///


 Backup
Use case APG43L
Backup image storage /cluster/brf/backup/
backup archive storage /data/opt/ap/internal_root/backup_restore/
Create a Backup Archive burbackup -o -f
(config-BrmBackupManager=SYSTEM_DATA)>createBackup Test_1.1.5_20130808
true
Create a Backup Image (config-BrmBackupManager=SYSTEM_DATA)>show
Create/Export user
specify name archive burbackup -a Test_1.1.5_20130808 -f

Restore a Backup Archive burrestore -o Test_1.1.5_20130808 -f

Import a Backup Archive burrestore -a Test_1.1.5_20130808 -f

(config-BrmBackupManager=SYSTEM_DATA)>BrmBackup=Test_1.1.5_20130808
(config-BrmBackup=Test_1.1.5_20130808)>restore
true
Restore a Backup Image (config-BrmBackup=Test_1.1.5_20130808)>show
(config-BrmBackupManager=SYSTEM_DATA)>deleteBackup Test_1.1.5_20130808
true
Delete Backup Image (config-BrmBackupManager=SYSTEM_DATA)>show

Dirección de Operaciones y Red 58


Telefónica de España

29
09/05/2017

DELTA APG LINUX E///


 LOGS Linux

-Logs procesos LINUX (dentro del APG43L)


cd /var/log/acs/tra/logging
tail osumgr_console.log

/var/log/messages

Dirección de Operaciones y Red 59


Telefónica de España

Dirección de Operaciones y Red 60


Telefónica de España

30

You might also like