0% found this document useful (0 votes)
140 views

APG Commands

The document contains procedures for troubleshooting and resolving common issues with APG commands and alarms. It includes steps to check node and resource status, restart processes, cease alarms, troubleshoot file transfer failures, and alter SAE settings to resolve function busy errors. The document provides guidance on logging into APG local mode, checking resources and processes, and executing commands to isolate and resolve various faults and alarms.

Uploaded by

nshefeek
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
140 views

APG Commands

The document contains procedures for troubleshooting and resolving common issues with APG commands and alarms. It includes steps to check node and resource status, restart processes, cease alarms, troubleshoot file transfer failures, and alter SAE settings to resolve function busy errors. The document provides guidance on logging into APG local mode, checking resources and processes, and executing commands to isolate and resolve various faults and alarms.

Uploaded by

nshefeek
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 24

APG COMMANDS

// AP File Processing Fault


aploc;
hostname
cdhdsls
afpls -ls NYMSC019 OSSMETRICA | findstr FAILED
afpfti -f NYMSC019 OSSMETRICA
afpls -ls NYMSC019 OSSMETRICA | findstr FAILED
alist
exit
// AP Proccess Reinitiated, Restarted
Aploc;
Cluster Res
! Verify all resources are ONLINE, otherwise contact Tier 2 !
Alist
! Pay attention to the Alarm Identifier !
! Replace after acease command !
Acease 6023:0
Exit
* IF alarm repeatedly comes back open a ticket w/Tier 2 and call out.

// Security alarms in APG


aploc; ! Inits AP Local mode !
alist
net user
! Lists all users on system, email, call user to verify it was them logging in !
acease xxxx:x
! Ceases alarm !
exit ! Exits local mode !

// APG check node status


! Logs in local mode, checks AP state, verifies node your in, checks all resources are ONLIN
Aploc;
Prcstate
Hostname
Cluster Res
Alist

CHECK APG STATUS


list !

Aploc;
Prcstate
Hostname
Cluster Res
Alist

C:\>cluster node
C:\>cluster group
C:\>cluster res
C:\>raidutil -L logical
C:\>raidutil -L physical
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Checking Burbackup
M:\Images\nodeB>dir
M:\Images\nodeA>dir

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Command log output error
1. Connect APG
2. Make FMS_CPF_server offline
3. After making it off, check that the service is offline

FMS_CPF_server
Disk Group
CPS_BUSRV
Disk Group
CPS_BUAP_parmgr
Disk Group
CPS_BUAP_loader
Disk Group
CPS_BUAP_filemgr
Disk Group
CPS_BUFTPD
Disk Group

GWR1AP0A
Offline
GWR1AP0A
Offline
GWR1AP0A
Offline
GWR1AP0A
Offline
GWR1AP0A
Offline
GWR1AP0A
Offline

4. Make the service online again

5. Check that the server is back online but the services under it are still offline.
FMS_CPF_server
Disk Group
CPS_BUSRV
Disk Group
CPS_BUAP_parmgr
Disk Group
CPS_BUAP_loader
Disk Group
CPS_BUAP_filemgr
Disk Group
CPS_BUFTPD
Disk Group

GWR1AP0A
Online
GWR1AP0A
Offline
GWR1AP0A
Offline
GWR1AP0A
Offline
GWR1AP0A
Offline
GWR1AP0A
Offline

6. Make the services running on this server online one by one

7. Make sure the server and its services


FMS_CPF_server
Disk Group
GWR1AP0A
Online
CPS_BUSRV
Disk Group
GWR1AP0A
Online
CPS_BUAP_parmgr
Disk Group
GWR1AP0A
Online
CPS_BUAP_loader
Disk Group
GWR1AP0A
Online
CPS_BUAP_filemgr
Disk Group
GWR1AP0A
Online
CPS_BUFTPD
Disk Group
GWR1AP0A
Online
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

DATA OUTPUT, AP COMMON DESTINATION HANDLING, DESTINATION FAULT DESTIN


OSS01
This is usually due to connection to the remote host lost or write access denied
Manually re-transfer the failed files
Aploc;
cdhver OSS01
afpfti f TRLOG
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
AP FILE PROCESSING FAULT
CAUSE
FILE TRANSFER FAILED
SOLUTION:
aploc;
afpfti -f CODADESTFILE
afpfti -f CODARTEFILE
afpfti -f TRARFILE
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Ap syst analysis ap-1 node-a (less space in memory)
cluster res mcs_adh_adm /fail
cluster res fms_cpf_server /fail

Clear any AP larms appearing after this stage

cluster res mcs_adh_adm /online


cluster res fms_cpf_server /online
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
APG EXTERNAL ALARM RECEIVER FAULT
1ST check for physical alarm
Allip:alcat=power in the switch
If no alarm, do the following.
TAKE OFF THE RESOURCES OFF
MCS_ALEC_ADM
MCS_ALDM_ADM
cluster res MCS_ALEC_ADM /off
cluster res MCS_ALDM_ADM /off
Then put them on again
cluster res MCS_ALEC_ADM /on
cluster res MCS_ALDM_ADM /on
The alarm should clear.
If it does not clear, then the SE is required to visit the switch and check physically.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Ceasing hanging APG alarms
acease [space] [-o] [specificProblem:indexNumber]
C:\>acease -o 8799:0
Alarm ceased.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
TTFILE TRANSFER FAILURE
Log in to APG2 (e.g. GSR4_1)
C:\>cdhver INITFTP1
DESTINATION
STATUS
NOTIFICATION
INITFTP1
OK
C:\>afpls - ls
C:\>afpfti -f ttfile00

How to print commands and alarms logged into APG


alogfind -a 1300 20081201 -b 1700 -g 20081214 -t "alp" to check for alarm printouts

alogfind -a 1300 20081201 -b 1700 -g 20081214 -s "NSSTP" to check for a particular comm

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ANY SYB* Command giving Function busy
<SYBFP;
NOT ACCEPTED
FUNCTION BUSY
1

After increasing the SAE, Command SYB* No longer shows busy

IOG ALARMS

// File Transfer Failures IOG


Allip:alcat=apz,acl=a1;
Infti:dest=bgw01,file=ttfile00-xxxx,equip=ftam;
--If the INFTI fails with a fault code 10 then do the following:
Imlct:spg=0;
Ilbli:port=1-1-1-1;
! Block internet port, Wait 1 minute !
Ilble:port=1-1-1-1;
End;
Infti:dest=bgw01,file=ttfile00-xxxx,equip=ftam;

// Ports Block Deblock


Imlct:spg=0; ! Allows for IO commands !
Ilbli:np=1-1-4-1; ! Blocks port !
Ilble:np=1-1-4-1; ! Deblocks port !
Ilnpp:np=1-1-4-1; ! Prints state !
End; ! Exits from IO !

!Check the Logical status of RAID DISKS


!Check the physical status of RAID DISKS

-cluster res FMS_CPF_server/off


-cluster res
-N:B: Notice that other services served by this server also go offline.

-cluster res FMS_CPF_server/on

-cluster res

-cluster
-cluster
-cluster
-cluster
-cluster

res
res
res
res
res

CPS_BUSRV/on
CPS_BUAP_parmgr/on
CPS_BUAP_loader/on
CPS_BUAP_filemgr/on
CPS_BUFTPD/on

Cluster RES
Check the MCS_ADH_ADM resource
Check FMS_CPF_server resource
Check CPS_BUSRV resource
Take these resources offline
Cluster res MCS_ADH_ADM off
Cluster res FMS_CPF_server off
Cluster res CPS_BUSRV off
Put the resources back online
Cluster res MCS_ADH_ADM on
Cluster res FMS_CPF_server on
Cluster res CPS_BUSRV on
Check again the SYB* Command. If it still gives you function busy, go to 2 below
*** Connected to GSR8 ***
<SAAEP:SAE=800,BLOCK=APFMI;
SIZE ALTERATION OF DATA FILES INFORMATION
SAE BLOCK CNTRTYP NI
800 APFMI MANUAL
END

NIU

NIE

NIR

<SAAEP:SAE=800,BLOCK=APFMI;
SIZE ALTERATION OF DATA FILES INFORMATION
SAE BLOCK CNTRTYP NI
NIU
NIE
800 APFMI MANUAL
100
2
END

NIR

64

<SAAII:SAE=800,BLOCK=APFMI,NI=100;
SAAII:SAE=800,BLOCK=APFMI,NI=100;
ORDERED

<SYBFP;
NOT ACCEPTED
FORMAT ERROR

! Listing status for all available nodes:


! Listing status for all available resource groups:
! Listing status for all available resources:

Verify the primary Destination/Dest should be OK

Check the failed files


Retransfer failted files

You might also like