• No results found

FTP SERVER CONFIGURATION

In document Handbook ERicsson PUb 1 (Page 28-35)

Use the command with specific files to be deleted EX:ELSCore_2008* for 2008 file

FTP SERVER CONFIGURATION

The definition on the APG side is pretty much straight forward.

Please follow the steps below:

Define a destination: OPI “Common Destination Handling, Destination, Define“

Use the Ip address of remote side, username, password and path

Define a destination set: OPI “Common Destination Handling, Destination Set, Define“

The destination set should include the destination defined at step 1 Define a transfer queue: OPI “AP File Processing, Transfer Queue, Define“

The transfer queue should point twards the destination set defined at step 2.

Change the alogfile definition to include the transfer queue: OPI “AP, Audit Log, Attributes, Set“

Basically the alog files will be sent to the remote FTP server on the following way:

Alogfile -> transfer queue -> destination set -> destination -> FTPServer The 4 steps above will result in the following 4 commands:

cdhdef cdhdsdef afpdef

Ericsson operation data book 2007

Orlando Mondlane 2007 Page 29

alogset C:\>cdhls -l

CDH DESTINATION TABLE

DESTINATION TRANSFER TYPE PARAMETERS AFFILEDEST FTPV2 -c r

-o no

-f 190.55.1.2 -x 50010 -y 20 -h cdh

OPTIMA FTPV2 -a 212.96.26.202 -c i

-n 21

-r /export/home/musa/pub/

-u musa -o yes OSSDEST FTPV2 -c r

-f 190.55.1.2 -x 50010 -h CDH OSSDEST1 FTPV2 -c r

-f 190.55.1.2 -x 50010 -k yes -h CDH STSDEST FTPV2 -c r

-f 190.55.1.2 -x 50010 -h CDH STSDEST1 FTPV2 -c r

-f 190.55.1.2 -x 50010 -h CDH

cdhdef -a 212.96.26.202 -t SFTPV2 -r /hlrlog/ -g yes -u hlrlog -p HLRLOG password:HLRlog

HLRLOG SFTPV2 -a 212.96.26.202 -r /hlrlog/

-u hlrlog

-g yes cdhdsdef -v CPUSRG hlrlog hlrlog

C:\>cdhdsls -l

CDH DESTINATION SET TABLE

DESTINATION SET TYPE USER GROUP HLRLOG FILE CPUSRG DESTINATION ACTIVE P HLRLOG YES S B afpdef -v CPUSRG HLRLOG HLRLOG

k:

AFP TABLE

TRANSFER QUEUE USER GROUP HLRLOG CPUSRG

Ericsson operation data book 2007

Orlando Mondlane 2007 Page 30

FILE OR DIRECTORY

TRANSFER QUEUE USER GROUP NWSSTS197571

FILE OR DIRECTORY MP1000_200803111115_453 MP1000_200803111130_454 MP1000_200803111145_455 MP1000_200803111200_456 alogset -d hlrlog

y C:\>afpls -s AFP TABLE

TRANSFER QUEUE USER GROUP HLRLOG CPUSRG

FILE OR DIRECTORY LOGFILE-2008-03-07-2044 LOGFILE-2008-03-07-2150 LOGFILE-2008-03-07-2312 LOGFILE-2008-03-08-0000 LOGFILE-2008-03-08-0136

Alarm Identifier Class Category Time

29090:4 A2 APZ Wed Mar 12 10:14:07 2008 Object of Reference

HLRLOG_HLRLOG/470 Alarm Text

AP FILE PROCESSING FAULT CAUSE

FILE TRANSFER FAILED TRANSFER QUEUE HLRLOG

DESTINATION SET HLRLOG

Problem Data Transfer error

cdhdef -a 212.96.26.202 -t FTPV2 -r /export/home/hlrlog/pub/ -c i -n 21 -o yes -u hlrlog -p hlrlog

HLRlog

cdhdsdef hlrlog hlrlog afpdef HLRLOG HLRLOG

directory on server 212.96.26.202 export/home/hlrlog

Change directory for log file cdhls -l

cdhch -r /export/home/musa/pub/OPTIMA/ERICSSON/CORE/HLR01 OPTIMA cdhls -l OPTIMA

cdhdsls -l

Ericsson operation data book 2007

Orlando Mondlane 2007 Page 31

find commands done on HLR log

LOGFILE-2009-02-15-0000 LOGFILE-2010-03-31-0239 LOGFILE-2009-02-15-0045 LOGFILE-2010-03-31-0254 LOGFILE-2009-02-15-0051 LOGFILE-2010-03-31-0316 LOGFILE-2009-02-15-0058 REPLACED.txt

LOGFILE-2009-02-15-0117 teste.txt LOGFILE-2009-02-15-0204 Test.txt LOGFILE-2009-02-15-0218 test.txt LOGFILE-2009-02-15-0230 TOTAL.txt

$ grep -i '258823055899' LOGFILE-2010-03-??-????

LOGFILE-2010-03-26-1522:080;2010-03-26;154948;mc;;MZHLR1D\DAVID;AD-0;1;571556;M ZHLR1B;127.0.0.1;0000000190;HGSDP:MSISDN=258823055899,ALL;

LOGFILE-2010-03-26-1522:258823055899 NOT CONNECTED LOGFILE-2010-03-26-1522:080;2010-03-26;155243;mc;;MZHLR1D\DAVID;AD-50;1;571556;M

ZHLR1B;127.0.0.1;0000000190;HGSDP:MSISDN=258823055899,ALL;

LOGFILE-2010-03-26-1522:258823055899 NOT CONNECTED

$

File transfer failed

Alarm Identifier Class Category Time

29090:16 A2 APZ Mon Jul 14 23:25:51 2014 Object of Reference

ISTFILES_ISTDESTSET/4184 Alarm Text

AP FILE PROCESSING FAULT CAUSE

FILE TRANSFER FAILED TRANSFER QUEUE ISTFILES

DESTINATION SET ISTDESTSET Problem Data Transfer error Login failure

K:\sts>afpls -ls istfiles AFP TABLE

TRANSFER QUEUE REMOVE DELAY USER GROUP ISTFILES 10

DESTINATION SET DIR REMOVE TIMER STATUS FILE OR DIRECTORY ISTDESTSET

NO 10 FAILED 20140620190546-MSS04.ISTRAFILE00-0000000001.pcap

NO 10 FAILED 20140620190927-MSS04.ISTRAFILE00-0000000002.pcap

NO 10 FAILED 20140620190952-MSS04.ISTRAFILE00-0000000003.pcap

K:\sts>dhdsls -l ISTDESTSET CDH DESTINATION SET TABLE

DESTINATION SET TYPE USER GROUP ISTDESTSET FILE

Ericsson operation data book 2007

Orlando Mondlane 2007 Page 32

DESTINATION ACTIVE P ISTDEST YES S B

K:\sts>cdhver ISTDEST

DESTINATION STATUS NOTIFICATION ISTDEST Logon failure -

In the following example, destination dest2 is given a new user name Administrator and a new password, Administrator1@.

cdhch -u Administrator -p ISTDEST mcelAdmin1@

cdhch -a 127.0.0.1 ISTDEST

COMMAND log

2. Determine whether the command log file exists. Use option -s and operand RELCMDHDF.

cpfls –s

1. Print information for file RELFSW0 SYBFP:FILE=RELFSW0;

C:\>cpfls -s -l -k RELFSW0 CPF FILE TABLE

FILE TYPE CMP VOLUME RELFSW0 reg yes RELVOLUMSW

TRANSFER QUEUE MODE

RLENGTH MAXSIZE MAXTIME REL ACTIVE SIZE USERS COMPRESSED

2048 0 0 [ 0R 0W]

no

SUBFILES SIZE USERS COMPRESSED

RELFSW0-BUINFO 1 0 [ 0R 0W] yes RELFSW0-LDD1 288317 0 [ 0R 0W] yes RELFSW0-LDD2 288317 0 [ 0R 0W] yes RELFSW0-PS 66959 0 [ 0R 0W] yes RELFSW0-RS 7353 0 [ 0R 0W] yes RELFSW0-SDD 794 0 [ 0R 0W] yes

C:\>cpfls -p RELFSW0 CPF FILE TABLE

FILE PATH

RELFSW0 K:\FMS\DATA\CPF\RELVOLUMSW\RELFSW0

Ericsson operation data book 2007

Orlando Mondlane 2007 Page 33

USER ADMINISTRATION

For help go to alex type”AP,authority,administer”

Creating a user In winfiol

>aploc;

net user mabuie maria123# /add net user mabuie

net localgroup administrators mabuie /add net localgroup ACSUSRG mabuie /ADD /DOMAIN net localgroup AESUSRG mabuie /ADD /DOMAIN net localgroup AESADMG mabuie /ADD /DOMAIN net localgroup APLOCG mabuie /ADD /DOMAIN net localgroup CPADMG mabuie /ADD /DOMAIN net localgroup CPUSRG mabuie /ADD /DOMAIN net localgroup FMSUSRG mabuie /ADD /DOMAIN net localgroup MASUSRG mabuie /ADD /DOMAIN net localgroup MCSUSRG mabuie /ADD /DOMAIN net localgroup APIOUSRG mabuie /ADD /DOMAIN net localgroup CDHFTPUSRG mabuie /ADD /DOMAIN net localgroup CPSUSRG mabuie /ADD /DOMAIN net localgroup FMSADMG mabuie /ADD /DOMAIN net localgroup FTPUSRG mabuie /ADD /DOMAIN net localgroup MCSADMG mabuie /ADD /DOMAIN net localgroup STSUSRG mabuie /ADD /DOMAIN net localgroup STSADMG mabuie /ADD /DOMAIN mml

IOUAL:USER=mabuie,psw=1234567890,usergr=0; !create a use in CP!

IOUAI:USER=mabuie;!initialize a user!

net user ossuser /delete

net user ossuser 0ssuser1@ /add

net localgroup ACSUSRG ossuser /ADD /DOMAIN

net localgroup Administrators ossuser /ADD /DOMAIN net localgroup AESADMG ossuser /ADD /DOMAIN

net localgroup APIOUSRG ossuser /ADD /DOMAIN net localgroup CPADMG ossuser /ADD /DOMAIN net localgroup CPUSRG ossuser /ADD /DOMAIN net localgroup FMSUSRG ossuser /ADD /DOMAIN net localgroup MASUSRG ossuser /ADD /DOMAIN net localgroup MCSUSRG ossuser /ADD /DOMAIN net localgroup APIOUSRG ossuser /ADD /DOMAIN net localgroup CDHFTPUSRG ossuser /ADD /DOMAIN net localgroup CPSUSRG ossuser /ADD /DOMAIN net localgroup FMSADMG ossuser /ADD /DOMAIN net localgroup FTPUSRG ossuser /ADD /DOMAIN net localgroup MCSADMG ossuser /ADD /DOMAIN net localgroup STSUSRG ossuser /ADD /DOMAIN net localgroup STSADMG ossuser /ADD /DOMAIN

net localgroup ACSUSRG <user> /<add|delete>.

net localgroup AESUSRG ossuser /add/DOMAIN net localgroup APLOCG ossuser /ADD /DOMAIN net accounts /sync

Ericsson operation data book 2007

Orlando Mondlane 2007 Page 34

Global Group memberships *Domain Users

Local Group Memberships *ACSUSRG *Administrators *AESADMG *AESUSRG *APIOUSRG *APLOCG *CDHFTPUSRG *CPADMG *CPSUSRG *CPUSRG *FMSADMG *FMSUSRG *FTPUSRG *MASUSRG *MCSADMG *MCSUSRG

*STSADMG *STSUSRG

net user ossuser ossMcel ossMcel

" net user ossuser ossMcel1 /add " criar novo user com password

The UID/Password that is used from the OSS is ossuser/0ssuser1@

net user ossuser /delete

net user ossuser 0ssuser1@ /add Then go to PCanywhere change the group Alex congiguration

Click show user preferences Go to library

Use libraries in—multiple directories Click browser to find subsist.conf c:\tools\alex\subsyst.conf

go to Cache

browser for temporary file area root C:\Tools\Alex

MACRO WINFIOL Click file/new Writ the commands

When finish right click/select all Right click/associate with

Right click/send block 3.4.2 From a Command File 3.4.2.1 Create

Now, let's create a command file that will be associated with the channel that we created in section 3.2.

Simply press the Command file window button on the button bar or select File | New from the menu bar. This creates a command file that is automatically associated with the active channel.

Type in a few MML commands into the command file window. Here is an example of a very simple command file (AXE):

dpwsp;

plldp;

exrpp:rp=all;

You can save this file for later use with the Save button on the button bar or from File | Save menu.

3.4.2.2 Send

Ericsson operation data book 2007

Orlando Mondlane 2007 Page 35

With mouse or keys, select the area you want to send in the command file window. Now press F4. WinFIOL starts to send the MML commands one by one and shows you the progress of the transmission in the Transmission dialog box. If any of the commands are faulty and not accepted by the target exchange, the transmission is paused and you can correct the MML commands (see section 6.3).

You can also send a whole command file without opening it into a command file window first. To do so, press F2 in the active channel file or select Run | Transmit File menu. Choose a file and select OK.

NT COMMAND

alogfind -t mc -u MUSA -a 110000 -e 20080326 -b 180000 -g 20080329

Problem of CDR transfer

dir y:

cd y:\acs dir y:\acs dir y:\acs\data dir y:\acs\data\rtr

dir y:\acs\data\rtr\CHS_cp0ex

dir y:\acs\data\rtr\CHS_cp0ex\datafiles (charging file directory) dir k:

dir k:\acs dir k:\acs\logs dir k:\acs\logs\alog

dir k:\acs\logs\alog\logfile (command log file directory) find a log file and change

alogfind -s 822172 CLEAR THE EVENT LOGS In PC anyware log to APG40

Start/programs/administrative tools/events viewer login name: MUSA

password: MUSA Windows NT Domain:

User Account verification is being performed. Please Wait.

Terminal Type ? 1.) vtxxx 2.) ansi

3.) wyse 60 and above 4.) wyse-50

5.) ibm3151

Please choose(1-5):

Client reported TERM=dtterm Microsoft(R) Windows NT(TM)

(C) Copyright 1985-1996 Microsoft Corp.

OBSERVATION

In document Handbook ERicsson PUb 1 (Page 28-35)

Related documents