Auto Deploy to All Nodes

All modules and WAR files you deploy onto the cluster must be deployed to all cluster nodes. Because Liferay DXP installs applications as OSGi bundles, you cannot rely on your application server’s means of installing WAR files (even if you only intend to install WAR files) to deploy an application to the entire cluster. Instead, place the application in each node’s auto deploy folder (e.g., [Liferay Home]/deploy).

This, as you might imagine, can be done with a script. Write a shell script that uploads applications to each node using sftp or some other service. This way, when you deploy an application, it uploads to each node’s auto deploy folder and installs to Liferay DXP on each node.

« Enabling Cluster LinkUpdating a Cluster »
この記事は役に立ちましたか?
0人中0人がこの記事が役に立ったと言っています