Registro de Servidor via LCS

O Liferay Connected Services foi descontinuado em 1º de julho de 2021. Os clientes devem migrar do LCS até 1º de dezembro de 2021. Leia o anúncio de Mudanças na Ativação do Produto Liferay para saber mais.

Este artigo descreve como ativar seu servidor com o Liferay Connected Services (LCS), listando os passos para o registro.

Resolução

Na maioria dos cenários, implantar e configurar o cliente LCS é simples. Se, porém, você se conecta à web através de um proxy ou tem requerimentos de rede específicos, por favor certifique-se de ler todos os requerimentos de Pré-Configuração do LCS. Uma vez que tenha feito isso, você estará pronto para registrar sua instância Liferay DXP com o LCS.

Server Registration Instructions

  1. Go to http://lcs.liferay.com and login with user credentials. Your company's project name should be visible. If not, check for the appropriate project in Manage Projects (click username at the top right or contact Support).
  2. Go to Add New environment tab and add a new environment.
  3. Choose a subscription type for the environment that was just created.
  4. Select whether the environment will be clustered or elastic (if available).
  5. Choose whether to enable Instance Activation in this environment.
  6. Use the Create Environment button to create the environment:
    • new_env_not_wizard.jpg
  7. Once the environment is created, click Download Token on the environment's Registration tab.
  8. Place the environment token in liferay.home/data folder.
  9. If your instance was shut down, it can now be started up. 
  10. Verify on lcs.liferay.com or in your instance's Control Panel that the connection was successful.

If the occasion calls to decommission a server and free its activation key for reuse, please follow the steps below:

Instructions to Unregister Servers

  1. Access the environment that includes the server to be unregistered.
  2. Click the server to be unregistered.
  3. Click Server Settings.
  4. Click Unregister.
  5. After clicking Unregister, go to the log to check for the following messages:
    1. 10:55:10,714 INFO [pool-9-thread-7][SignOffTask:82] Initiate sign off  10:55:10,740 INFO [pool-9-thread-7][SignOffTask:115] Terminated connection  10:55:10,804 INFO [liferay/lcs_commands-1][LCSUtil:126] Deleted LCS portlet preferences
  6. Go to liferay.home/data folder to verify that the LCS token has been removed and that the server is not registered anymore.
  7. Check Subscriptions. There should now be one more available server in the related Subscription Type.
  8. Register the new server.

Additional Information

What happens when LCS is not reachable? Will the Liferay installation think it does not have an active registration?

  • LCS is deployed on a global cloud infrastructure set up for automatic failure recovery. Thus, the potential for non-availability is quite low. However, in the event of a system outage, registered instances maintain a local copy of their uptime information to transmit back to LCS when LCS comes online.
  • Active subscriptions also have a grace period of 30 days to re-establish connectivity to remain valid. This grace period is more than ample for LCS to come back online. Should an extended outage exist, Liferay support can provide temporary disconnected subscription keys to mitigate any potential impacts.

 

Este artigo foi útil?
Utilizadores que acharam útil: 0 de 0