Changes between Version 2 and Version 3 of fms-migration


Ignore:
Timestamp:
Aug 15, 2018, 1:29:19 PM (7 years ago)
Author:
steve.winter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • fms-migration

    v2 v3  
    1 1. When configuring the !FileMaker server,
     11. In the website CMS disable the transfer of orders from the website to FM
     2
     32. On the dev server place the site into offline mode by editing `C:\inetpub\wwwroot\assets\includes\config.php` and setting `define('siteOffline', true);`
     4
     53. Modify the mapping on the router such that all traffic to payment.solopress.com (IP 194.74.170.116) is directed to the dev server (IP 192.168.0.90). This will display the message 'This site is offline for schedule maintenance. Please try calling back later. We apologise for any inconvenience caused.' to anyone who tries to make a payment while the upgrade is being performed.
     6
     74. When configuring the !FileMaker server,
    28 - use the new wildcard SSL certificate for the server
    3  - enable the XML interface using either the CLI or API
    4  - enable the PHP API using either the CLI or API
     9 - enable the XML interface and PHP API using either the CLI `fmsadmin SET CWPCONFIG ENABLEPHP=true ENABLEXML=true` or through the FMS Admin API
    510
    6 2. Ensure that there is a valid DNS entry for the !FileMaker server which the PHP code can connect to the PHP API interface using (e.g. fms.solopress.com).
     115. Ensure that there is a valid DNS entry for the !FileMaker server which the PHP code can connect to the PHP API interface using (e.g. fms.solopress.com). Ideally this should have both an internal and external IP addresses so that traffic from the PHP code doesn't have to exit the LAN to connect. Currently cwp.solopress.com is also configured to connect to the production server.
    712
    8 3. Import the payment.solopress.com EV SSL certificate to the local machine certificate store
     136. Import the payment.solopress.com EV SSL certificate to the local machine certificate store
    914
    10 4. Download and install the subversion command line client from https://msdev.co.uk/windows-svn-client/
     157. Download and install the subversion command line client from https://msdev.co.uk/windows-svn-client/
    1116
    12 5. Open a command prompt, run the following commands to export the PHP code from version control into the webroot folder
     178. Open a command prompt, run the following commands to export the PHP code from version control into the webroot folder
    1318{{{
    1419cd c:\inetpub\wwwroot
     
    1621}}}
    1722
    18 6. Create the payment.solopress.com virtual host in the IIS console.
     239. Create the payment.solopress.com virtual host in the IIS console.
    1924 - Set the Physical Path to C:\inetpub\wwwroot
    2025 - bind to port 80 with host payment.solopress.com
    2126 - bind to port 443 with host payment.solopress.com, require SNI, and select the payment SSL cert
    2227
    23 7. Ensure that the internal DNS entry for payment.solopress.com points to the correct internal IP address
     2810. Ensure that the internal DNS entry for payment.solopress.com points to the correct internal IP address
    2429
    25 8. Modify `C:\inetpub\wwwroot\assets\includes\config.php` to point to the DNS name of the FMS, including the https protocol (this is a new FM17 requirement)
     3011. Modify `C:\inetpub\wwwroot\assets\includes\config.php` to point to the DNS name of the FMS, including the https protocol (this is a new FM17 requirement) which means it must be a fqdn and not an IP address which is used.
    2631
    27 9. Switch the payment gateway to test mode in the above config file.
     3212. Switch the payment gateway to test mode in the above config file (line 112, set `define('sagePayMode',      'test');`).
    2833
    29 10. Conduct end-to-end testing of the payment process to ensure everything functions as expected (e.g. using https://payment.solopress.com/?/order/v9jhQs8TPbFxp8748HUUPi/dfdd16d0b176755c8434754d1d78701b)
     3413. Conduct end-to-end testing of the payment process to ensure everything functions as expected (e.g. using https://payment.solopress.com/?/order/v9jhQs8TPbFxp8748HUUPi/dfdd16d0b176755c8434754d1d78701b)
    3035
    31 11. Conduct testing of the order submission process
     3614. Conduct testing of the order submission process
    3237
    33 12. Revert the payment gateway in the config file to production mode
     3815. Revert the payment gateway in the config file to production mode (line 112, set `define('sagePayMode',      'production');`).
    3439
    35 13. Switch the external DNS for payment.solopress.com to point to the external IP address of the server
     4016. Update the router configuration for payment.solopress.com to direct to the production server IP
     41
     4217. Revert the change to the dev server to place the site back into online mode by editing `C:\inetpub\wwwroot\assets\includes\config.php` and setting `define('siteOffline', false);`
     43
     4418. In the website CMS re-enable the transfer of orders from the website to FM.
     45
     4619. Conduct a low-value test of the payment gateway to ensure that the production environment is functional. Refund that payment through the SagePay gateway.