alfresco:sitestore

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
alfresco:sitestore [2021/04/17 15:48] – jmerarialfresco:sitestore [2021/04/17 16:33] (current) – [Preparation] jmerari
Line 1: Line 1:
 ====== Alfresco :: Separate Store for Each Site ====== ====== Alfresco :: Separate Store for Each Site ======
 +https://github.com/Acosix/alfresco-simple-content-stores
  
 ===== Preparation ===== ===== Preparation =====
   - Shutdown Alfresco service   - Shutdown Alfresco service
   - Create database backup and alf_data folder backup   - Create database backup and alf_data folder backup
 +  - Create backup of alfresco.global.properties 
 +  - Create backup of all egov servlet context configuration  (<tomcat>/conf/Catalina/localhost/*.xml)
 ===== Run 1 : Install required extensions ===== ===== Run 1 : Install required extensions =====
  
Line 20: Line 22:
 </code> </code>
  
-===== Run 2 : Create Separate Sites ===== +===== Run 2 : Modify alfresco.global.properties =====
-  - Startup Alfresco +
-  - Login as admin +
-  - Create four private sites +
-    - Site ID: site01, Name: PIDSG e-Gov Live +
-    - Site ID: site02, Name: PIDSG e-Gov Dev +
-    - Site ID: site03, Name: PIDSG-BT e-Gov Live +
-    - Site ID: site04, Name: PIDSG-BT e-Gov Dev +
-  - Create four user accounts for each site +
-    - user: site01_admin, password: site01_admin, as Manager of site01 +
-    - user: site02_admin, password: site02_admin, as Manager of site02 +
-    - user: site03_admin, password: site03_admin, as Manager of site03 +
-    - user: site04_admin, password: site04_admin, as Manager of site04 +
-  - Make sure that each site account can access its own site, and can't access other sites +
-  - After verified, shutdown Alfresco +
- +
-https://github.com/Acosix/alfresco-simple-content-stores +
- +
-===== Run 3 : Modify alfresco.global.properties =====+
   - Shutdown Alfresco   - Shutdown Alfresco
   - Append the following configuration items inside the <tomcat>/shared/classes/alfresco.global.properties   - Append the following configuration items inside the <tomcat>/shared/classes/alfresco.global.properties
Line 89: Line 73:
  
 </code> </code>
 +
 +===== Run 3 : Create Separate Sites =====
 +  - Startup Alfresco
 +  - Login as admin
 +  - Create four private sites
 +    - Site ID: site01, Name: PIDSG e-Gov Live
 +    - Site ID: site02, Name: PIDSG e-Gov Dev
 +    - Site ID: site03, Name: PIDSG-BT e-Gov Live
 +    - Site ID: site04, Name: PIDSG-BT e-Gov Dev
 +  - Create four user accounts for each site
 +    - user: site01_admin, password: site01_admin, as Manager of site01
 +    - user: site02_admin, password: site02_admin, as Manager of site02
 +    - user: site03_admin, password: site03_admin, as Manager of site03
 +    - user: site04_admin, password: site04_admin, as Manager of site04
 +  - Make sure that each site account can access its own site, and can't access other sites
  
 ===== Run 4 : Verify Site folder routing ===== ===== Run 4 : Verify Site folder routing =====
-  - Start Alfresco 
   - Login to each site with corresponding Site Manager account   - Login to each site with corresponding Site Manager account
   - Upload some files   - Upload some files
Line 97: Line 95:
  
 ===== Run 5 : Move files from current Site to the corresponding Sites ===== ===== Run 5 : Move files from current Site to the corresponding Sites =====
 +  - In Alfresco, open My Files > Sites
 +  - Move all folders from site legal-dev > documentLibrary, to site03 > documentLibrary
 +  - Move all folders from site egov-sg > documentLibrary, to site01 > documentLibrary
 +  - Move the file list of calibration attachment from site03 to site04 (134 files)
 +  - Make sure each sites has folder named UPLOADPOOL, take note the object ID
  
 ===== Run 6 : Modify e-Gov Configuration ===== ===== Run 6 : Modify e-Gov Configuration =====
-Change the user access account, password and pool folder ID for each e-Gov sites.+  - Open the servlet context config of each app 
 +  - Create a backup copy 
 +  - Change the user access account, password and pool folder ID for each e-Gov sites.
  
  • alfresco/sitestore.1618649287.txt.gz
  • Last modified: 2021/04/17 15:48
  • by jmerari