Sunday 1 May 2016

blogger

Email Notification from ORACLE MFT 12C(12.1.3.0.2)


Hello Viewer,

For an efficient support it is always a smart choice to make the work easier and productive.Oracle has provided new tool ORACLE MFT to manage the file transfers. But in case of any failed transfer , our system should be well equipped with the method which can give us an alert rather than keep on monitoring the console and wasting most of the time in sitting ideal like zombie.  

ORACLE MFT has a build in feature of email notification for different kind of events.In this blog i  will provide you the steps to enable notification for few of the events.
This is two step process:
1) configure the email driver configuration.
2) Enabling event , creating contact and associating this contact with event.

Step(1) 

             1) Goto EM console
             2) Expand User Messaging Service.
             3) Click on usermessagingdriver-email (mft_server1)> click on Email Driver properties from                    drop down list.
             4) click on create and provide the details:
                  essential field that you should know is :>
                  a) Outgoing Mail Server, Outgoing Mail Server port
                  b) Default sender Address
                  c) Outgoing Username and password(Make sure this user should be there in your security                        realm)
             5) After providing all the values click on OK  and logout. Login again and see the updated                      values should be there.

Steps(2) 
          
               1) Login to you MFT machine(node) on which you have installed it.
               2) run the ./wlst.sh
               3) connect to your MFT server using connect() wlst command and execute the below wlst                        commands.

              a)  connect('username','password',t3://Adminhost:MFTserverPORT)

              b)  updateEvent('RUNTIME_ERROR_EVENT', true)

              c)   createContact('Email', 'ABD@host.com') 

              d)   addContactToNotification('RUNTIME_ERROR_EVENT', 'Email',            'ABD@host.com') 

Note: Here i have given example taking one of the event there are many other as well.

1) RUNTIME_ERROR_EVENT
               This event tracks the errors occurred at runtime. For example:
                               • Any errors that occur during the message processing 
                               • Server start errors 
                               • System event failure errors
2) DEPLOY_ARTIFACT_EVENT
This event tracks the artifact deployment events.

etc...

Restart the managed server and replicate any error scenario in MFT transfers and check if you are receiving email on email id: ABD@host.com

Thanks a lot for your patience!!!

Regards
-Ashish

No comments:

Post a Comment