Sei sulla pagina 1di 6

///////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////
[/cygdrive/d/llog_batch_2]$
[/cygdrive/d/llog_batch_2]$ q
bash: q: command not found
[/cygdrive/d/llog_batch_2]$ cd
[~]$ cd d:
[/cygdrive/d]$ cd llog_batch_2
[/cygdrive/d/llog_batch_2]$ cd llog_batch_5
bash: cd: llog_batch_5: No such file or directory
[/cygdrive/d/llog_batch_2]$ cd
[~]$ cd d:
[/cygdrive/d]$ cd llog_batch_5
[/cygdrive/d/llog_batch_5]$
[/cygdrive/d/llog_batch_5]$ cat * | awk '/>/ {a=$1} /'code'/ {b=$4} /Restart ord|
due|limit/ {c=$0; print a,b,c}'
[/cygdrive/d/llog_batch_5]$ cat * | awk '/llog/ {a=$1} /date/ {b=$1} {print a,b}'

///////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////

cat *.log | awk '/lt all/ {a=$1} /Yes/{b=$0;print a,b}'

A. cat * | awk '/cvls/ {a=$1} /Current UpgradePkg:/ {b=$0;print a,b}'


B. cat * | awk '/cvls/ {a=$1} />>> Total:/ {b=$0;print a,b}' -----------> pake 2
awk ini , trus di combine di xl file
C. cat *.log | awk '/> cvls/ {a=$1} /Executing:/ {b=$0} />>> Total:/ {c=$0;print
a,b,c}' > cvls.txt
D. cat *.log | awk '/lgd -m/ {a=$1} / Spontaneous/ {b=$0;print a,b}' > auto.txt
-- auto restart save file di auto.txt

///////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////

Please find below 5 simple step to use :


1. After collection data finish, download all new error log from location
/var/opt/ericsson/amos/moshell_logfiles/llog_daily/ to your desired folder

2. After download complete, open windows command and go to your desired folder
e.g. , Command : cd D:\Integration\AL\Temp\errorlog

3. Concatenate all file become 1 file on your desired folder. You can name it
whatever you like.
e.g. , Command : D:\Integration\AL\Temp\errorlog> copy *.* errorlog.log

4. After concatenate finish, open the new file "errorlog.log" using UltraEdit and
convert the file from UNIX to DOS
e.g. , File -> Conversions -> UNIX/MAC to DOS

5. Save the file, and use Kadal.xls to compile the report ... ;)
.
.
.
///////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////

cat *.log | awk '/>/ {a=$1} /!!!/ {b=$0;print a,b}' > errorENB.txt ----> check
error proses data eNB status
cat * | awk '/>/ {a=$1} /rollbackOn/ {b=$0;print a,b}' > result01.txt
cat * | awk '/>/ {a=$1} /cvls/ {b=$0;print a,b}' > result01.txt -----> collect
data cvls

///////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////

chmod 777 Collect_Cell_01_PA4.sh

///////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////
olah data enodeb
cat *.log | awk '/>/ {a=$1} /failure/ {b=$0;print a,b}'
cat *.log | awk '/lt all/ {a=$1} /FroNotAccessibleException/ {b=$0;print a,b}'
cat *.log | awk '/lt all/ {a=$1} / 0 MOs/ {b=$0;print a,b}'

///////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////
cat *.log | awk '/>/ {a=$1} /11-11-??/ {b=$0;print a,b}' llog,cabr

cat * | awk '/lt all/ {a=$1} />/ {b=$4} /Yes/ {c=$0; print a,b,c}' > lmclist.txt
--> lmclist

cat *.log | awk '/>/ {a=$1} /hget/ {b=$0;print a,b}' > pci_result.txt

cat *.log | awk '/lh ru/ {a=$1} /Yes/{b=$0;print a,b}' > lmclist2.txt (on
20/12/2011)

///////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////

amosbatch -v secure_shell=1 -p 50 -t 120 /home/enbenzin/ipdatabase_update_041011_15


'run get_data_PA2.mos'

amosbatch -v secure_shell=1 -p 50 -t 120 /home/enbenzin/ipdatabase_update_041011_15


/home/enebenzin/cr200_create_pa2/

amosbatch -v secure_shell=1 -p 20 -t 20 /home/enbenzin/ipdatabase_update_041011_15


'lt all ; get . rollback'

amosbatch -v secure_shell=1 -p 20 -t 20 /home/enbenzin/ipdatabase_031111_03 'lt all


; get . removeN'

amosbatch -v secure_shell=1 -p 20 -t 20 /home/enbenzin/ipdatabase_031111_02 'lt all


; get . removeN'

amosbatch -v secure_shell=1 -p 20 -t 20 /home/enbenzin/ipdatabase_031111_01 'lt all


; get . removeN'

///////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////
/var/opt/ericsson/amos/moshell_logfiles/enodeb

/var/opt/ericsson/amos/moshell_logfiles/cvls

/var/opt/ericsson/amos/moshell_logfiles/kget
/var/opt/ericsson/amos/moshell_logfiles/autorestart

///////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////

amosbatch -v secure_shell=1 -p 20 -t 20 /home/enbenzin/ipdatabase_031111_01 'run


Collect_Data_With_Kget.mos'
amosbatch -v secure_shell=1 -p 20 -t 20 /home/enbenzin/ipdatabase_031111_02 'run
Collect_Data_With_Kget.mos'
amosbatch -v secure_shell=1 -p 20 -t 20 /home/enbenzin/ipdatabase_031111_03 'run
Collect_Data_With_Kget.mos'

///////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////
Collect_Cell_01_PA4.sh
amosbatch -v secure_shell=1 -p 20 -t 20 /home/enbenzin/ipdatabase_031111_01 'run
get_data_12.mos'
///////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////
Collect_Cell_02_PA4.sh
amosbatch -v secure_shell=1 -p 20 -t 20 /home/enbenzin/ipdatabase_031111_02 'run
get_data_12.mos'
///////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////
Collect_Cell_03_PA4.sh
amosbatch -v secure_shell=1 -p 20 -t 20 /home/enbenzin/ipdatabase_031111_03 'run
get_data_12.mos'

///////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////
Collect_Data_No_Kget.mos
///////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////

/home/enbenzin/cr_Ex_274

///////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////

cp * /home/enbenzin/LOG

///////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////

Hi Team,

It's the procedure to get power and cell status:

1. login to oss-rs and access this folder:

enbenzin@uas02> cd /var/opt/ericsson/amos/moshell_logfiles/dataenb/
enbenzin@uas02> pwd
/var/opt/ericsson/amos/moshell_logfiles/dataenb

2. Removing all data from folder :/home/enbenzin/LOG/


3. Copying files at folder dataenb to folder LOG :

enbenzin@uas02> cp * /home/enbenzin/LOG/
4. Access the folder /LOG/

enbenzin@uas02> cd /home/enbenzin/LOG/
enbenzin@uas02> pwd
/home/enbenzin/LOG

5. Changing the file from UNIX to DOS with this command:

enbenzin@uas02> ./convert.sh

6. Copying files at folder DOS to your PC and moving it to PC which can compile the
data.

enbenzin@uas02> cd /home/enbenzin/DOS
enbenzin@uas02> ls
ELB71830_KangdongsungnaeA01.log ELB72879_Youngjongdo2A01.log
ELB71831_KangdongsungnaeA02.log ELB72880_Youngjongdo2A03.log
....

7. Compile the data using special PC.

8. Removing old files at this folder: C:\Program Files\prjLGU_SA\LOG and copying


new files to this folder
9. Running the compiler application: prjLGU_SA
10. Double click 1720_eNB_Status_templat_111013.xls
11. Click Log Open Tab and then click LOG OPEN button.
12. Please wait until processing finish.(Complete Remark)
13. Click EXCEL CONVERT and find the xlsheet in C:\Program Files\prjLGU_SA\EXCEL

///////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////

NOTE:

Before you compile the data, please removing files which have Time-out or failure
data.
An example:

ELO69639_NoyeouD3> 876 !!!! Processing failure


:se.ericsson.cello.moframework.FroNotAccessibleException TAG :"FroNotAccessible"
VARIABLES :"$MO typename" = "EUtranCellFDD", "$FRO typename" = "Time-out occured,
ELIB_CONST_EUTRANCELLFDD_SERVICE_NAME" !!!! Processing failure
:se.ericsson.cello.moframework.FroNotAccessibleException TAG :"FroNotAccessible"
VARIABLES :"$MO typename" = "EUtranCellFDD", "$FRO typename" = "Time-out occured,
ELIB_CONST_EUTRANCELLFDD_SERVICE_NAME" ENodeBFunction=1,EUtranCellFDD=0
ELO69639_NoyeouD3> 847 !!!! Processing failure
:se.ericsson.cello.moframework.FroNotAccessibleException TAG :"FroNotAccessible"
VARIABLES :"$MO typename" = "EUtranCellFDD", "$FRO typename" = "Time-out occured,
ELIB_CONST_EUTRANCELLFDD_SERVICE_NAME" !!!! Processing failure
:se.ericsson.cello.moframework.FroNotAccessibleException TAG :"FroNotAccessible"
VARIABLES :"$MO typename" = "EUtranCellFDD", "$FRO typename" = "Time-out occured,
ELIB_CONST_EUTRANCELLFDD_SERVICE_NAME" ENodeBFunction=1,EUtranCellFDD=1
ELO69639_NoyeouD3> 934 !!!! Processing failure
:se.ericsson.cello.moframework.FroNotAccessibleException TAG :"FroNotAccessible"
VARIABLES :"$MO typename" = "EUtranCellFDD", "$FRO typename" = "Time-out occured,
ELIB_CONST_EUTRANCELLFDD_SERVICE_NAME" !!!! Processing failure
:se.ericsson.cello.moframework.FroNotAccessibleException TAG :"FroNotAccessible"
VARIABLES :"$MO typename" = "EUtranCellFDD", "$FRO typename" = "Time-out occured,
ELIB_CONST_EUTRANCELLFDD_SERVICE_NAME" ENodeBFunction=1,EUtranCellFDD=2
ELO69639_NoyeouD3> 909 !!!! Processing failure
:se.ericsson.cello.moframework.FroNotAccessibleException TAG :"FroNotAccessible"
VARIABLES :"$MO typename" = "EUtranCellFDD", "$FRO typename" = "Time-out occured,
ELIB_CONST_EUTRANCELLFDD_SERVICE_NAME" !!!! Processing failure
:se.ericsson.cello.moframework.FroNotAccessibleException TAG :"FroNotAccessible"
VARIABLES :"$MO typename" = "EUtranCellFDD", "$FRO typename" = "Time-out occured,
ELIB_CONST_EUTRANCELLFDD_SERVICE_NAME" ENodeBFunction=1,EUtranCellFDD=3

Thanks and regards,

Integration Team
Freddy Silaban
Daniel R. Simarmata
///////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////

cat * | awk '/>/ {a=$1} /Recovery action/ {b=$0;print a,b}' > result01.txt

///////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////

amosbatch -v secure_shell=1 /home/enbenzin/ipdatabase_CR278 /home/enbenzin/CR278/

///////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////
command prompt type
C:\Users\OSS eNB\cd d:\Integration\freddyS\llog_daily\
C:\Users\OSS eNB\d:
D:\Integration\freddyS\daily_errorlog\

amosbatch -v secure_shell=1 -p 20 -t 30 /home/enbenzin/ipdatabase_UP_PA9_Ba4 'run


update_swallocations_PA9.mos'

amosbatch -v secure_shell=1 -p 50 -t 120


/home/enbenzin/ipdatabase_UP_PA9_verificationall 'lt all ; lh ru lmclist ; cvls'

amosbatch -v secure_shell=1 -p 50 -t 120 /home/enbenzin/ipdatabase_WA_2011201_Ba1


'run DT_Workaround_20112011.mos'

amosbatch -v secure_shell=1 -p 20 -t 20 /home/enbenzin/ipdata_11sites_restart3x


'run DT_11sites_WA_20111216_5am.mos'

enbenzin@uas03> cd /home/enbenzin/moshell
enbenzin@uas03>
enbenzin@uas03> pwd
/home/enbenzin/moshell
enbenzin@uas03> ./mobatch -v secure_shell=1 -p 20 -t 30
ipdatabase_updateBaseline_20112011 'run 01_L12A_Pre3_UM4_default_parameter_PA2.MOS'

cat * | awk '/lt all/ {a=$1} />/ {b=$4} /systConstants/ {c=$0; print a,b,c}' >
lmclist.txt

./mobatch -v secure_shell=1 ELO69658_SinsulD2 'run 01_L12A-UM6EC-


default_parameter_2011_12_21.mos'

amosbatch -v secure_shell=1 ELB72311_Songpamunjung3A00 'run


ELB72311_Songpamunjung3A00.mos'
./mobatch -v secure_shell=1 ELB72312_Songpamunjung3A01 'run
ELB72312_Songpamunjung3A01.mos'

Pls also consider:


amosbatch -v secure_shell=1 [directory of IP] [mos file directory]
Ex:
amosbatch -v secure_shell=1 /home/enbenzin/ipdatabase_CR278 /home/enbenzin/CR278/
*mos file directory can consist of one or more mos files.

amosbatch -v secure_shell=1 -p 20 -t 20 /home/enbenzin/ipdatabase_collect_data_01


'run get_alarmslogan_rrus.mos'
amosbatch -v secure_shell=1 -p 20 -t 20 /home/enbenzin/ipdatabase_collect_data_02
'run get_alarmslogan_rrus.mos'
amosbatch -v secure_shell=1 -p 20 -t 20 /home/enbenzin/ipdatabase_collect_data_03
'run get_alarmslogan_rrus.mos'
amosbatch -v secure_shell=1 -p 20 -t 20 /home/enbenzin/ipdatabase_collect_data_04
'run get_alarmslogan_rrus.mos'
amosbatch -v secure_shell=1 -p 20 -t 20 /home/enbenzin/ipdatabase_collect_data_05
'run get_alarmslogan_rrus.mos'

amosbatch -v secure_shell=1 -p 20 -t 20 /home/enbenzin/ipdb_nocontact_alarmslogan


'run get_alarmslogan_rrus.mos'

cat *.log | awk '/lh ru/ {a=$1} /Yes/{b=$0;print a,b}' > lmclist2.txt
=====
cat *.log | awk '/alarmslogan/ {a=$1} /AuxPlugInUnit/{b=$0;print a,b}' > alarm1.txt
=====
grep -i 'port=2' *.log > port2
Ex:
enbenzin@uas01> pwd
/var/opt/ericsson/amos/moshell_logfiles/alarmslogan
enbenzin@uas01> grep -i 'port=2' *.log > port2
=====
amosbatch -v secure_shell=1 -p 50 -t 120 /home/enbenzin/activealarm1 'lt all ; lgac
-s 20120103.0800 -e 20120103.1000'
amosbatch -v secure_shell=1 -p 20 -t 20 /home/enbenzin/ipdatabase_collect_data_04
'lt all ; lga -s 20120103.0000 -e 20120103.1200 | grep FanAlarm /home/enbenzin/Zul'

amosbatch -v secure_shell=1 -p 20 -t 20 /home/enbenzin/ipdb_nocontact_fanfailure


'lt all ; lga -s 20120103.0000 -e 20120103.1200'
///////////////////////////////////////////////////////////////////////
amosbatch -v secure_shell=1 -p 20 -t 20 /home/enbenzin/ipdatabase_CR676_ba1
/home/enbenzin/CR676_1/
amosbatch -v secure_shell=1 -p 20 -t 20 /home/enbenzin/ipdatabase_CR676_ba2
/home/enbenzin/CR676_2/
amosbatch -v secure_shell=1 -p 20 -t 20
/home/enbenzin/ipdatabase_CR676_nocontact /home/enbenzin/CR676_nc/
///////////////////////////////////////////////////////////////////////
amosbatch -v secure_shell=1 -p 20 -t 20 /home/enbenzin/CR675/ipdatabase_CR675
/home/enbenzin/CR675/

Potrebbero piacerti anche