Configuration
LeasePak Documentation Suite NETSOL website
mPower End of Period Suite

mPower End of Period Suite

Configuration

  1. Software Requirements
    • mPower installed and running
    • Perl version 5.16 or above installed with below Perl modules
      1. Perl-LWP-Protocol-https.noarch
      2. Perl-SOAP-Lite.noarch
      3. Perl-libxml-perl.noarch
  2. Logged in as the MSIADMIN for v76a, retrieve copies of the sample configuration file and copy scripts from $ulib. Do not modify the originals in $ulib. Copy the Scripts clear_data and copy_data into $ubin/eop_mpwr, and set their modes to 550. They should remain owned by MSIADMIN:MSIGROUP.
    		cp $ulib/clear_data $ulib/copy_data $ubin/eop_mpwr 
    		chmod 550 $ubin/eop_mpwr/copy_data $ubin/eop_mpwr/clear_data 
     
    		
    If you need to change them to make them writeable, be sure to re-protect them when you are done.
  3. Copy the configuration file sample from $ubin/eop_mpwr to your first environment where you wish to implement mPower End of Period. Set its modes to 660 for now, as it will need to be customized before use.
    		cp $ubin/eop_mpwr/eop_run.cfg $uetc 
    		chmod 660 $uetc/eop_run.cfg 
    		  
    		
    You can use whatever names you choose for the configuration files.
  4. Edit the configuration file as appropriate for your site. Try to do your first test on a small test database to try different settings (see eop_run configuration File for more information).

    mPower API path is required to setup with valid HOST and URN
    		HOST=mpower.netsoltech.com
    		URN=mpower-v76a		
  5. Make sure your test database environment is ready to run an End of Period.
  6. Log onto the server as the user who will submit and monitor the End of Period.
  7. Execute the following to submit the EOP:
    		$ubin/eop_mpwr/eop_run –s $uetc/eop_run.cfg
    		
    Below is the usage detail of $ubin/eop_mpwr/eop_run script with submit, restart and monitoring options.
            Usage: eop_run -s eop-run-config
                   or: eop_run -r resubmit-portfolio eop-run-config
                   or: eop_run -m remonitor-portfolio eop-run-config
    		
  8. The log files used are $ueop/log/eop_run.log, $ueop/log/pport_status.log and $ueop/log/eop_run_api.log for each portfolio.
  9. The same eop_run command can be executed from within a cron-driven script as well.