Vous êtes sur la page 1sur 11

Tallyman HandOver Quick guide

Contents
Required Access..................................................................................................... 2
Inbound (Perl)/outbound (Java) Changes...............................................................2
Deployment steps.................................................................................................. 3
Required Tallyman Documents for every change Or Project...............................5
How to run integration scripts on Putty.................................................................5
Running Perl scripts on Putty.................................................................................6
Following are the integration Scripts you need to run when testing outbound
(Java Components)................................................................................................ 6
Where to find files Perl In the intScript folder...................................................7
SOAPUI:.................................................................................................................. 7
The Script below is used to check the number of records in the queue.................8
Updates the whole table to Done & sets throttling to 100%.................................9
How to commit & merge on to Trunk SVN:...........................................................10
Tallyman links:..................................................................................................... 10
Weblogic:............................................................................................................. 10
SharePoint:.......................................................................................................... 10
Outstanding Projects............................................................................................ 10
Contacts:............................................................................................................. 11

Required Access
1. Ask PMO to give you access to:
https://ts.accenture.com/sites/CHTSA/Vodacom/Tallyman/SitePages/5.5%20
Knowledge%20Sharing%20and%20How-Tos.aspx
2. Be on Tallyman SVN:
svn://10.115.244.53/data/svn/repository/Collections (Ask Neethu
Sajeva for access) - Done
3. Ask for access for TallymanDB (UAT & Dev environment)
4. Ask for access to the servers, UAT(10.102.217.40) and DEV (10.121.6.90)
5. Integration scripts for testing -> are listed below
6. \\ZACTN03002.vodacom.co.za\groups\TALLYMAN --> you need access to
this for server passwords.
7. SOAP UI

Inbound (Perl)/outbound (Java) Changes


1. First create a folder on your local machine with a name that matches the
requirement (C:\Users\keabetswe.t.raito(Your own
name)\Workspace\folderName).
2. Go to Eclipse (Open the newly created folder) -> windows -> Open
perspective -> SVN
3. Select the branch code then check out to your folders from source

Right click on the perspective -> select new -> enter


svn://10.115.244.53/data/svn/repository/Collections -> finish
Expand Branches -> expand source and only select folders inside source

Then right click and check out


Then you are ready to make changes to the code.
Once ready to test Follow the deployment steps

Deployment steps
Please follow the steps below to deploy your code to Dev or UAT environment.
You will also need to clean the file up in preparation to PROD

1. Change build.properties: uncomment the environment that you are


working on and comment the rest. i.e.

PROD & TEST = ip_build


Dev = ip_dev

2. first run build.xml, will create an ip_build folder on C: and inside

3. Open lib folder, check javaDB size >= 227 or close


4. Open opt/tmint/PROD/java
5. Copy ip_build folder from C to Java
6. check if java is running
6.1.
ps -ef|grep tmint|grep "TallymanScheduler"
7. linking integration point
7.1.
First unlink the current integration point and take note of the
ip_build you are unlinking incase of rollback
7.2.
unlink integrationPoint /this is a command/
8. link it to the current build
8.1.
ln -s build_name integrationPoint
/This is a command/
e.g ln s ip_build_20150904_113437 integrationPoint
9. remove special character ^M
9.1.
go to bin folder
9.1.1. type
9.1.2. perl -p -i -e 's/\r//' *.sh /with all the extensions/
9.2.
go to conf
repeat what you did
10.give permission to the SH
10.1.
go to bin
11.type chmod u+x *.sh

12.
12.1.
12.2.

start java
./startJavaScheduler.sh
./stopJavaScheduler.sh

Perl see deployment Documents for references


DB see deployment Documents for references

Required Tallyman Documents for every change Or Project


1. System Design Document(SDD)
2. SIT with test results Test on DEV
3. Deployment Document
NB! Stakeholders should give you the signed of UAT results after
testing your changes.

How to run integration scripts on Putty


1. Launch Putty
2. Load the server you are working on
3. Log on with your user credentials
4.

5. su tmint
6. login with the tmint password
7. write this command: cd /opt/tmint/PROD/java/integrationPoint/bin
paste the script you are testing e.g. nohup TallymanRunTask.sh
"TallymanThrottlerDailyTask" >/dev/null/&
8. Check the logs on WinSCP: /opt/tmint/PROD/java/integrationPoint/logs

Running Perl scripts on Putty


1.
2.
3.
4.
5.
6.
7.

Launch Putty
Load the server you are working on
Log on with your user credentials
su tmint
login with the tmint password
write this command: cd /opt/tmint/PROD/scripts
Paste the script you are running e.g.
ttmut01:/opt/tmint/PROD/scripts#./overnightSchedule.pl

Following are the integration Scripts you need to run


when testing outbound (Java Components)
nohup TallymanRunTask.sh "TallymanThrottlerDailyTask" >/dev/null/&
nohup TallymanRunTask.sh "TallymanScratchpadIntegrationPoint" >/dev/null/&
nohup TallymanRunTask.sh "TallymanUpdateAccountDetailsIntegrationPoint"
>/dev/null/&
nohup TallymanRunTask.sh "TallymanProvisioningIntergrationPoint" >/dev/null/&
nohup TallymanRunTask.sh "TallymanDebitOrderRequestIntegrationPoint"
>/dev/null/&
nohup TallymanRunTask.sh "TallymanDebitOrderForceFeedIntegrationPoint"
>/dev/null/&
nohup TallymanRunTask.sh "TallymanArrangementIntegrationPoint" >/dev/null/&

nohup startTaskHandler.sh "Banking Details Change"


nohup startTaskHandler.sh "Debit Order Removal"
nohup . startTaskHandler.sh -task "EC Collections Throttle" &
nohup . startTaskHandler.sh -task "Attorney Allocation" &
nohup . startTaskHandler.sh -task "Attorney Withdrawal Preparation" &

nohup . startTaskHandler.sh -task "Attorney Withdrawal" &

nohup . startTaskHandler.sh -task "PreLegal Manager Exit" >PLManager.out &


. startTaskHandler.sh -task "EC Collections Throttle"
. startTaskHandler.sh -task "Manual Reset Last Payment Details"
. startTaskHandler.sh -task "Pass To Legal"
. startTaskHandler.sh -task "Legal DCA PrePlacement"
. startTaskHandler.sh -task "PreLegal Manager Exit"
. startTaskHandler.sh -task "High Usage Update"
nohup TallymanRunTask.sh "TallymanEmailOutboundIntegrationPoint"
>/dev/null/&
nohup TallymanRunTask.sh "TallymanDiallerCallListsIntegrationPoint"
>/dev/null/&
nohup TallymanRunTask.sh "TallymanDiallerPowerDialListsIntegrationPoint"
>/dev/null/&
nohup TallymanRunTask.sh "TallymanDiallerCallListsPreLegalIntegrationPoint"
>/dev/null/&
nohup TallymanRunTask.sh "TallymanDiallerCallListsPl2LIntegrationPoint"
>/dev/null/&
nohup TallymanRunTask.sh "TallymanDiallerRejectListsPl2LIntegrationPoint"
>/dev/null/&
nohup TallymanRunTask.sh "TallymanEmailBocBreakdownIntegrationPoint"
>/dev/null/&
nohup TallymanRunTask.sh "TallymanDiallerCallListsPreLegalIntegrationPoint"
>/dev/null/&
nohup TallymanRunTask.sh "TallymanDiallerKillListsPowerDialIntegrationPoint"
>/dev/null/&
nohup TallymanRunTask.sh "TallymanDiallerKillListsPrelegalIntegrationPoint"
>/dev/null/&
nohup TallymanRunTask.sh "TallymanDiallerKillListsIntegrationPoint" >/dev/null/&
nohup TallymanRunTask.sh "TallymanDialogueIntegrationPoint" >/dev/null/&
nohup TallymanRunTask.sh "TallymanSMSIntegrationPoint" >/dev/null/&

Where to find files Perl In the intScript folder


Config - In the intScript folder/config If theres a need to update the config files,
you should update the local one in intScripts/config before testing on Test to
making changes on intScripts/PROD/ interfaceConfig.conf

SOAPUI:
Test: http://esbc3dsit.vodacom.co.za/adapters/ManageDebtCollections/v1
DEV: http://esboak.vodacom.co.za:80/adapters/ManageDebtCollections/v1

The Script below is used to check the number of


records in the queue
select 'THROTTLE_CONFIG',COUNT(*) from THROTTLE_CONFIG where
trunc(starttime) = trunc(sysdate) GROUP BY 'THROTTLE_CONFIG'
union all
select 'VC_OUT_SMSREQUEST',COUNT(*) from VC_OUT_SMSREQUEST where
STATUSCODE is null group by 'VC_OUT_SMSREQUEST'
union all
select 'VC_OUT_POWERDIALREQUEST',COUNT(*) from
VC_OUT_POWERDIALREQUEST where STATUSCODE is null group by
'VC_OUT_POWERDIALREQUEST'
UNION ALL
SELECT 'VC_OUT_DIALLERREQUEST',COUNT(*) FROM
VC_OUT_POWERDIALREQUEST WHERE STATUSCODE IS NULL GROUP BY
'VC_OUT_DIALLERREQUEST'
union all
select 'VC_OUT_CAMPAIGNCALLREQUEST',COUNT(*) from
VC_OUT_CAMPAIGNCALLREQUEST where STATUSCODE is null group by
'VC_OUT_CAMPAIGNCALLREQUEST'
union all
select 'VC_OUT_SCRATCHPADREQUEST',COUNT(*) from
VC_OUT_SCRATCHPADREQUEST where STATUSCODE is null group by
'VC_OUT_SCRATCHPADREQUEST'
union all

select 'VC_OUT_FORCEFEEDREQUEST',COUNT(*) from


VC_OUT_FORCEFEEDREQUEST where STATUSCODE is null group by
'VC_OUT_FORCEFEEDREQUEST'
union all
select 'VC_OUT_EPPIXREQUEST',COUNT(*) from VC_OUT_EPPIXREQUEST where
STATUSCODE is null group by 'VC_OUT_EPPIXREQUESTCOUNT'
union all
SELECT 'VC_OUT_PROVISIONINGREQUEST',COUNT(*) FROM
VC_OUT_PROVISIONINGREQUEST WHERE STATUSCODE IS NULL GROUP BY
'VC_OUT_EPPIXREQUESTCOUNT'
union all
select 'VC_OUT_DIALOGUEREQUEST',COUNT(*) from VC_OUT_DIALOGUEREQUEST
where STATUSCODE is null group by 'VC_OUT_DIALOGUEREQUEST'
union all
SELECT 'VC_OUT_EMAILREQUEST',COUNT(*) FROM VC_OUT_EMAILREQUEST
WHERE STATUSCODE IS NULL GROUP BY 'VC_OUT_EMAILREQUEST'
UNION ALL
SELECT 'VC_OUT_DEBITORDER',COUNT(*) FROM VC_OUT_DEBITORDERREQUEST
WHERE STATUSCODE IS NULL GROUP BY 'VC_OUT_DEBITORDER'
--UNION ALL
--SELECT 'VC_OUT_FORCEFEED',COUNT(*) FROM VC_OUT_FORCEFEEDREQUEST
WHERE STATUSCODE IS NULL GROUP BY 'VC_OUT_FORCEFEED'
order by 2 desc

Updates the whole table to Done & sets throttling to


100%
UPDATE THROTTLE_CONFIG SET REQUIREDPERCENTAGE = 100 WHERE
TRUNC(STARTTIME)= TRUNC(CURRENT_DATE) AND REQUIREDPERCENTAGE !=
100;
UPDATE VC_OUT_SMSREQUEST SET STATUSCODE = 'DONE' , PROCESSEDDATE =
CURRENT_TIMESTAMP WHERE STATUSCODE IS NULL ;
UPDATE VC_OUT_POWERDIALREQUEST SET LOOKUPSTATUS =
'DONE',STATUSCODE = 'DONE', PROCESSEDDATE = CURRENT_TIMESTAMP
WHERE (LOOKUPSTATUS IS NULL OR STATUSCODE IS NULL);-- AND
TRUNC(REQUESTDATE) < '2012-03-06' ;

UPDATE VC_OUT_CAMPAIGNCALLREQUEST SET STATUSCODE = 'DONE',


PROCESSEDDATE = CURRENT_TIMESTAMP WHERE STATUSCODE IS NULL;-- and
TRUNC(REQUESTDATE) < '2012-03-06';
UPDATE VC_OUT_DIALLERREQUEST SET STATUSCODE = 'DONE',
PROCESSEDDATE = CURRENT_TIMESTAMP WHERE STATUSCODE IS NULL;-- and
TRUNC(REQUESTDATE) < '2012-03-06';
UPDATE VC_OUT_SCRATCHPADREQUEST SET STATUSCODE = 'DONE',
PROCESSEDDATE = CURRENT_TIMESTAMP WHERE STATUSCODE IS NULL;
UPDATE VC_OUT_FORCEFEEDREQUEST SET STATUSCODE = 'DONE',
PROCESSEDDATE = CURRENT_TIMESTAMP WHERE STATUSCODE IS NULL;
UPDATE VC_OUT_EPPIXREQUEST SET STATUSCODE = 'DONE', PROCESSEDDATE =
CURRENT_TIMESTAMP, TMUPDATESENTFLAG = 'Y' WHERE (STATUSCODE !=
'DONE' OR STATUSCODE IS NULL);
UPDATE VC_OUT_PROVISIONINGREQUEST SET STATUSCODE = 'DONE',
PROCESSEDDATE = CURRENT_TIMESTAMP WHERE STATUSCODE IS NULL and
ACCOUNTACTIVITYID != 0 ;
UPDATE VC_OUT_DIALOGUEREQUEST SET STATUSCODE = 'DONE',
PROCESSEDDATE = CURRENT_TIMESTAMP WHERE STATUSCODE IS NULL;
UPDATE VC_OUT_EMAILREQUEST SET STATUSCODE = 'DONE', PROCESSEDDATE
= CURRENT_TIMESTAMP WHERE STATUSCODE IS NULL;
COMMIT;

How to commit & merge on to Trunk SVN:


1. Commit everything to SVN
2. uncheck build Automatically under project
3. Click Clean all projects and ensure that the checkboxes at the bottom of
that menu are unchecked.
4. Right click on build -> click Team -> Click Synchronize (No1 on the list)
5. Click Team again -> Merge
6. Select merge range of revisions i.e. source/branch/build and then commit
7. Update
8. Merge from Branch to Trunk
NB!!!! DO NOT ACCEPT CONFLICTS

Tallyman links:
1. Tallyman Dev - http://10.121.6.90:7101/collections
2. Tallyman UAT - http://tallymanuat.vodacom.co.za/collections/

Weblogic:
1. Weblogic Dev: 10.121.6.90:7001/console/login/LoginForm.jsp
2. Weblogic UAT: 10.102.217.40:7001/console/login/LoginForm.jsp

SharePoint:
When creating documents send them to the stakeholder Ocker/Quinton to
approve them (Design Documents (Need the UMLs), Testing Documents with
results and screen shots, Deployment Documents). Save the approved
documents on SharePoint.
e.g. Shared Documents 02. Projects Desired Folder Plan, Analyse, Design,
Test, Deploy (Under all these folders, place the relevant documents)
NB! All documents must be up to date

Outstanding Projects
CR Workflow
Top 20 Dialler Testing -> On SVN

Contacts:
Names
Ocker le Roux
Quinton Mathee, Karabo Pelle&
Fortune Matshete
Gadifele Seitlhamo
Antonet Coetzer
Kouame Yao/ Darren Lee Shong
<Darren.leeShong@vcontractor.co.za
>
Neethu
Amingo Banyani Mashego
Percy.Mahlangu@vodacom.co.za
PellyPelaelo.Mongalo@vodacom.co.za

Projects
Tallyman C3D
Tallyman BAU (Business As Usual)
All Tallyman BA
Financials
System Support AIX team - Server
password reset and changes
Technical go to person
Tallyman Tester, can also help with SQl
& Unix scripts
Vodacom DBA
Vodacom DBA

Vous aimerez peut-être aussi