• Inok Systems

Change FootPrints Installation Path

會員評等:  / 0
佳 

 


This article will explain on how to change FootPrints installation path; from drive C:\ (under folder location of “FootPrintsServiceCore”), to destination pathof drive D:\ (with folder location of “FootPrintsServiceCore” - same folder name as source).

Steps for change FootPrints installation path are as follows:

1.       Stop all FootPrints related services:

·         Stop all Footprints Windows Services

                                                               i.      FootPrints Schedule Service - C-FootPrintsServiceCore-bin-FPSch

                                                              ii.      FPTomcatService

                                                            iii.      FootPrints Watch Service - C-FootPrintsServiceCore-bin-FPwatch

·         Stop Default Web Site.

2.       Copy C:\FootPrintsServiceCore to D:\FootPrintsServiceCore (with ACL intact)

·         Ensure “IUSR” have full access to “D:\FootPrintsServiceCore” including all sub files and directories.

3.       Change Windows Environment Variable path below to d:\ [System Properties > Advanced]

·         Path: c:\FootPrintsServiceCore\bin\Perl\bin

4.       Change Application pointers in IIS Virtual Directory below to d:\ [Default Web Site]

·         Virtual path /footprints      

·         Virtual path /MRcgi

·         Virtual path /help

·         Virtual path /tmp

·         Virtual path /MRimg

5.       Change Reference of IIS – PERL Configuration [IIS > Server-name > Management > Configuration Editor]

·         On: Server Level
Section: system.webServer/security/isapiCgiRestriction (Edit Item):
Set value to: d:\FootPrintsServiceCore\bin\Perl\bin\perl.exe "%s" %s

·         On: Default Web Site > MRcgi
Section: system.webServer/handlers

                                                               i.      Section: On: Default Web Site Web.config/MRcgi Web.config
Edit: AboMapperCustom-974609

1.       Ensure “allowPathInfo”=True

2.       Script Processor: d:\FootPrintsServiceCore\bin\Perl\bin\perl.exe "%s" %s

                                                              ii.      On: Default Web Site Web.config/ <location path=‘MRcgi’ />
Edit: AboMapperCustom-974609

1.       Ensure “allowPathInfo”=True

2.       Script Processor: d:\FootPrintsServiceCore\bin\Perl\bin\perl.exe "%s" %s

                                                            iii.      On: ApplicationHost.config/ <location path=‘Default Web Site/MRcgi’ />
Edit: AboMapperCustom-974609

1.       Ensure “allowPathInfo”=True

2.       Script Processor: d:\FootPrintsServiceCore\bin\Perl\bin\perl.exe "%s" %s

6.       Change MRlocalDefs (D:\FootPrintsServiceCore\cgi) file, set all references to D:\

·         $CMI = "d:\\FootPrintsServiceCore\\";

·         $PERL_PATH = "d:\\FootPrintsServiceCore\\bin\\Perl\\bin\\";

·         $TOMCAT_DIR = "d:\\FootPrintsServiceCore\\bin\\Tomcat\\";

·         $MR_securedocdir = "d:\\FootPrintsServiceCore\\etc";

7.       Change MRprojects (D:\FootPrintsServiceCore\etc) file, set all references to D:\

8.       Change ABList.txt (D:\FootPrintsServiceCore\etc) file, set all references to D:\

9.     Run the following script

·         [D:\FootPrintsServiceCore\bin\Utilities\ExecutiveDashboard]
perl ConfigureTomcat.pl –networkInterface * --networkPort 9000

·         [D:\FootPrintsServiceCore\cgi\]
perl MRchangePermissions.pl

10.    Edit these file and change reference of "C:\" below to "d:\"

·         ExecutiveDashboard.xml [D:\FootPrintsServiceCore\bin\Tomcat\conf\Catalina\localhost]

·         server.xml [D:\FootPrintsServiceCore\bin\Tomcat\conf]

                                                               i.      <!DOCTYPE server-xml [

                                                              ii.          <!ENTITY fpServerConfig SYSTEM "file:///C:/FootPrintsServiceCore/bin/Tomcat//conf/fpServerConfig.xml">

                                                            iii.          <!ENTITY fpEngineConfig SYSTEM "file:///C:/FootPrintsServiceCore/bin/Tomcat//conf/fpEngineConfig.xml">

                                                            iv.      ]>

·         applicationHost.config [c:\Windows\System32\inetsrv\config\]
Ensure all references already pointed to d:\ FootPrintsServiceCore

11.    Edit FP windows services to run on D:\ via registry for these services [under "HKLM\System\CurrentControlSet\services"]

·         FootPrints Schedule Service - C-FootPrintsServiceCore-bin-FPSch

·         FPTomcatService

·         FootPrints Watch Service - C-FootPrintsServiceCore-bin-FPwatch

12.    Edit Registry find any value of "C:\FootPrintsServiceCore" and change C:\ reference to d:\ (Literally change every "C:\" to "d:\")

13.    Rename "C:\FootPrintsServiceCore" to "D:\FootPrintsServiceCore-OLD"

14.    Restart the server.

15.    Start back Default Web Site.

16.    Login to FootPrints and change the FP Attachment directory.

Random Blogpost

Whether it is new software or a replacement, it is never easy to implement one. Being surrounded by multiple factors and variables, here’s my two cents’ worth of advice.

閱讀全文...