UiPath Documentation
automation-suite
2023.4
false
Guia de instalação do Automation Suite no Linux
Importante :
A tradução automática foi aplicada parcialmente neste conteúdo. A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.

Restaurando o backup

Observação:

Once a cluster is restored, the snapshot backup is not enabled. To enable it after restore, see Enabling the backup snapshot.

Restaurar o cluster não restaura fontes de dados externas, como o SQL Server. Certifique-se de restaurar o servidor SQL para o instantâneo relevante.

Para restaurar o cluster, execute as seguintes etapas:

  1. Instale a infraestrutura de cluster em todos os nós do servidor.
  2. Configure o instantâneo no cluster restaurado.
  3. Selecione o instantâneo a ser restaurado.
  4. Restaure os dados e configurações.

Step 1: Installing the cluster infrastructure​

Pré-requisitos: baixe e instale os instaladores e pacotes necessários:

Para instalar a infraestrutura do cluster, prepare o arquivo de restauração dr_input.json e disponibilize-o em todos os nós do cluster.

{
  "fixed_rke_address": "fqdn",
  "fqdn": "fqdn",
  "rke_token": "guid",
  "profile": "cluster_proflie",
  "external_object_storage": { "enabled": false },
  "proxy": { "enabled": false }
}
{
  "fixed_rke_address": "fqdn",
  "fqdn": "fqdn",
  "rke_token": "guid",
  "profile": "cluster_proflie",
  "external_object_storage": { "enabled": false },
  "proxy": { "enabled": false }
}
Observação:

The restore file contains only the parameters required to restore the cluster, and it is a subset of the cluster_config.json.

Parâmetro Valor

fqdn

FQDN do cluster do Automation Suite. O valor deve ser igual ao antigo FQDN. Fornecer um valor FQDN diferente pode fazer com que a restauração falhe.

fixed_rke_address

O endereço fixo usado para registro de nó de balanceamento de carga e solicitações de API do Kube.

If the load balancer is configured as recommended, the value should be the same value as the one for fqdn. Otherwise, use the fqdn value of the first server node. Refer to Configuring the load balancer for more details.

rke_token

Use um GUID recém-gerado aqui. Este é um segredo pré-compartilhado, específico do cluster. É necessário para todos os nós associados ao cluster.

profile

Define o perfil da instalação. Os perfis disponíveis são:

  • default – perfil de avaliação de nó único.

  • ha – perfil de produção pronto para alta disponibilidade de vários nós

proxy

This parameter is mandatory only if the proxy is enabled. For details, see Optional: Configuring the proxy server.

For more details on the installation, read the Manual: Advanced installation experience page.

Instalação online​

Instalação da infraestrutura de cluster no nó de cluster de restauração primário

Para instalar a infraestrutura no nó primário do cluster de restauração, execute os seguintes comandos:

cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json -k --restore --accept-license-agreement
cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json -k --restore --accept-license-agreement
Importante:

Copie dr_input.json do nó do servidor principal para os nós de servidor/agentes restantes. A etapa de instalação da infraestrutura no nó do servidor primário adiciona valores extras dos quais os nós restantes precisam.

Instalando a infraestrutura de cluster em servidores secundários

Para instalar a infraestrutura nos servidores secundários:

cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -k -j server --accept-license-agreement
cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -k -j server --accept-license-agreement

Instalando a infraestrutura de cluster em nós de agente

Para instalar a infraestrutura nos nós do agente:

cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -k -j agent --accept-license-agreement
cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -k -j agent --accept-license-agreement

Instalando a infraestrutura de cluster em nós de Task Mining

Para instalar a infraestrutura do cluster em nós do Task Mining:

cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -k -j task-mining --accept-license-agreement
cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -k -j task-mining --accept-license-agreement

Instalação da infraestrutura de cluster nos nós de Automation Suite Robots

Para instalar a infraestrutura de cluster nos nós de Automation Suite Robots:

cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -k -j asrobots --accept-license-agreement
cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -k -j asrobots --accept-license-agreement

Instalando a infraestrutura de cluster em nós de GPU

Para instalar a infraestrutura do cluster nos nós da GPU:

cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -k -j gpu --accept-license-agreement
cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -k -j gpu --accept-license-agreement

Instalação offline​

Observação:

Disponibilize o pacote de infraestrutura de cluster as-infra.tar.gz em todos os nós do cluster:

  1. Copie o pacote no diretório /uipath/ no nó primário do servidor de restauração.
  2. Copie o pacote sob o diretório /opt/UiPathAutomationSuite/ em servidores secundários e nós de agente.

Instalação da infraestrutura de cluster no nó de cluster de restauração primário

To install the infrastructure on the primary restore cluster node:

cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore --accept-license-agreement --offline-bundle /uipath/as-infra.tar.gz --offline-tmp-folder /uipath/tmp
cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore --accept-license-agreement --offline-bundle /uipath/as-infra.tar.gz --offline-tmp-folder /uipath/tmp
Importante:

Copie dr_input.json do nó do servidor principal para os nós de servidor/agentes restantes. A etapa de instalação da infraestrutura no nó do servidor primário adiciona valores extras dos quais os nós restantes precisam.

Instalando a infraestrutura de cluster em servidores secundários

Para instalar a infraestrutura nos servidores secundários:

cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -j server --accept-license-agreement --offline-bundle /opt/UiPathAutomationSuite/as-infra.tar.gz --offline-tmp-folder /opt/UiPathAutomationSuite/tmp
cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -j server --accept-license-agreement --offline-bundle /opt/UiPathAutomationSuite/as-infra.tar.gz --offline-tmp-folder /opt/UiPathAutomationSuite/tmp

Instalando a infraestrutura de cluster em nós de agente

Para instalar a infraestrutura nos nós do agente:

cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -j agent --accept-license-agreement --offline-bundle /opt/UiPathAutomationSuite/as-infra.tar.gz --offline-tmp-folder /opt/UiPathAutomationSuite/tmp
cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -j agent --accept-license-agreement --offline-bundle /opt/UiPathAutomationSuite/as-infra.tar.gz --offline-tmp-folder /opt/UiPathAutomationSuite/tmp

Instalando a infraestrutura de cluster em nós de Task Mining

Para instalar a infraestrutura em nós de Task Mining:

cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -j task-mining --accept-license-agreement --offline-bundle /opt/UiPathAutomationSuite/as-infra.tar.gz --offline-tmp-folder /opt/UiPathAutomationSuite/tmp
cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -j task-mining --accept-license-agreement --offline-bundle /opt/UiPathAutomationSuite/as-infra.tar.gz --offline-tmp-folder /opt/UiPathAutomationSuite/tmp

Instalação da infraestrutura de cluster nos nós de Automation Suite Robots

Para instalar a infraestrutura nos nós dos Automation Suite Robots:

cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -j asrobots --accept-license-agreement --offline-bundle /opt/UiPathAutomationSuite/as-infra.tar.gz --offline-tmp-folder /opt/UiPathAutomationSuite/tmp
cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -j asrobots --accept-license-agreement --offline-bundle /opt/UiPathAutomationSuite/as-infra.tar.gz --offline-tmp-folder /opt/UiPathAutomationSuite/tmp

Instalando a infraestrutura de cluster em nós de GPU

Para instalar a infraestrutura nos nós da GPU:

cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -j gpu --accept-license-agreement --offline-bundle /opt/UiPathAutomationSuite/as-infra.tar.gz --offline-tmp-folder /opt/UiPathAutomationSuite/tmp
cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -j gpu --accept-license-agreement --offline-bundle /opt/UiPathAutomationSuite/as-infra.tar.gz --offline-tmp-folder /opt/UiPathAutomationSuite/tmp

Step 2: Configuring the snapshot on the restored cluster​

Depois que a infraestrutura estiver instalada, configure o instantâneo enquanto fornece os dados mínimos, como destino, endpoint e local. Esses valores são usados no momento da restauração.

To configure the backup of the restored cluster, follow the steps in the Configure the cluster snapshot section.

Step 3: Selecting the snapshot to restore​

Após configurar o instantâneo, liste os instantâneos existentes e decida aquele que você deseja usar como ponto de restauração.

Step 4: Restoring data and settings​

Para restaurar para um cluster anterior, forneça o nome do instantâneo do qual você deseja converter usando o sinalizador --from-snapshot <snapshot-name> .

./configureUiPathAS.sh snapshot restore create --from-snapshot <snapshot name>
./configureUiPathAS.sh snapshot restore create --from-snapshot <snapshot name>

Se você não especificar o nome do instantâneo, o cluster restaurará o instantâneo bem-sucedido mais recente. Consulte a lista de instantâneos para instantâneos disponíveis.

Restaurando cluster_config.json​

Após a recuperação do cluster do Automation Suite, você pode querer recuperar o arquivo cluster_config.json para uso futuro, como adicionar novos nós ao cluster, atualizar, etc.

Para restaurar cluster_config.json:

./bin/uipathctl manifest get-revision >> ./cluster_config.json
./bin/uipathctl manifest get-revision >> ./cluster_config.json

Adição de certificados de CA ao armazenamento de confiança​

Após restaurar o cluster, certifique-se de adicionar seus certificados de CA ao armazenamento de confiança das VMs restauradas. Para obter detalhes, consulte:

Recuperação de nova senha de monitoramento​

After restoring an Automation Suite cluster, you need to retrieve the new monitoring password. For this, follow the steps from Accessing the monitoring tools.

Habilitação do AI Center no cluster restaurado​

After restoring an Automation Suite cluster with AI Center™ enabled, follow the steps from the Enabling AI Center on the Restored Cluster procedure.

Geração de novo ticket do Kerberos​

Se a autenticação do Kerberos estiver configurada, você deve certificar-se de que o tíquete do Kerberos não esteja expirado.

Para gerar um novo tíquete do Kerberos, execute os seguintes comandos:

kubectl get cronjobs -A | grep kerberos //to identify the job with name kerberos-tgt-update
kubectl create job --from=cronjob/<cron-job-name> <new_job_name> -n <namespace>
kubectl get cronjobs -A | grep kerberos //to identify the job with name kerberos-tgt-update
kubectl create job --from=cronjob/<cron-job-name> <new_job_name> -n <namespace>

Certifique-se de substituir <cron-job-name>, <new_job_name> e <namespace> pelo nome real do seu trabalho cron, o nome pretendido para o novo trabalho e seu namespace real, respectivamente.

Esta página foi útil?

Conectar

Precisa de ajuda? Suporte

Quer aprender? Academia UiPath

Tem perguntas? Fórum do UiPath

Fique por dentro das novidades