Putting the Node2 back in LB:
Alf-global.properties:
share.host=test-****.***.abc.com
#share.host=corp***alf2.******.abc.com
share.port=443
share.protocol=https
#alfresco.cluster.enabled=false
saml-keystore directory:
Copied the certificates from Alf1 (which is in LB) to saml-keystore dir of Alf2.
tomcat/webapps/server:
Check the name of 'status' folder. If its renamed to something else, rename it again to 'status'.
Alfresco SAML configuration page:Go to node 2 specific SAML config url: http://corp***alf2.******.abc.com:8080/alfresco/s/enterprise/admin/admin-saml
Change the Entity Identification (Issuer) back to LB specific saml entity name. Save it.
Restart Alfresco node2.
After restart to verify:
a) Try accessing the LB url; should redirect to LB url with alfresco dashboard loaded.
b) Try accessing node1 url (https://corp***alf1..:443/share); should redirect to LB url with alfresco dashboard loaded.
c) Try accessing node2 url (https://corp***alf2..:443/share); should redirect to LB url with alfresco dashboard loaded.You can check the logs also, alf1 and alf2 logs both should show some activity.
NOTE (this is not a part of above steps, just for information):
In case, if you require to change port in server.xml; and you try to change it: While changing port to 443 instead of 8443 in tomcat/conf/server.xml, you may get BindException: Permission Denied.This can occur if your Apache service for that node is up. It's already using port 443. You need to either stop apache service or change to another port.
Alf-global.properties:
share.host=test-****.***.abc.com
#share.host=corp***alf2.******.abc.com
share.port=443
share.protocol=https
#alfresco.cluster.enabled=false
saml-keystore directory:
Copied the certificates from Alf1 (which is in LB) to saml-keystore dir of Alf2.
tomcat/webapps/server:
Check the name of 'status' folder. If its renamed to something else, rename it again to 'status'.
Alfresco SAML configuration page:Go to node 2 specific SAML config url: http://corp***alf2.******.abc.com:8080/alfresco/s/enterprise/admin/admin-saml
Change the Entity Identification (Issuer) back to LB specific saml entity name. Save it.
Restart Alfresco node2.
After restart to verify:
a) Try accessing the LB url; should redirect to LB url with alfresco dashboard loaded.
b) Try accessing node1 url (https://corp***alf1..:443/share); should redirect to LB url with alfresco dashboard loaded.
c) Try accessing node2 url (https://corp***alf2..:443/share); should redirect to LB url with alfresco dashboard loaded.You can check the logs also, alf1 and alf2 logs both should show some activity.
NOTE (this is not a part of above steps, just for information):
In case, if you require to change port in server.xml; and you try to change it: While changing port to 443 instead of 8443 in tomcat/conf/server.xml, you may get BindException: Permission Denied.This can occur if your Apache service for that node is up. It's already using port 443. You need to either stop apache service or change to another port.
No comments:
Post a Comment