AppSync: l'accesso remoto alla CLI non riesce dopo l'aggiornamento ad AppSync 4.4
Summary: dopo l'aggiornamento ad AppSync 4.4, l'accesso al server AppSync da una CLI remota non riesce con errore: ERROR: Failed to authenticate USERNAME. L'errore impedisce l'accesso manuale e l'accesso basato su script quando si utilizza la CLI di AppSync. ...
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
dopo l'aggiornamento ad AppSync 4.4, l'accesso al server AppSync da una CLI remota non riesce con errore:
L'errore interessa la CLI a cui un utente accede attivamente e gli script che accedono al server AppSync.
L'accesso ad AppSync dal percorso CLI predefinito sul server AppSync funziona. Il percorso predefinito su AppSync Server è:
ERROR: Failed to authenticate USERNAME
L'errore interessa la CLI a cui un utente accede attivamente e gli script che accedono al server AppSync.
L'accesso ad AppSync dal percorso CLI predefinito sul server AppSync funziona. Il percorso predefinito su AppSync Server è:
C:\EMC\AppSync\appsync-cli
Cause
La CLI aggiornata sul server AppSync non è stata copiata correttamente sull'host remoto su cui si trova l'host CLI remoto. Vedere il capitolo 3 della AppSync 4.4 User and Administration Guide.
Resolution
La CLI remota deve essere aggiornata utilizzando la procedura descritta nella AppSync 4.4 User and Administration Guide, nel Capitolo 3: AppSync CLI Utility a pagina 22 (un estratto del capitolo è riportato di seguito).
AppSync CLI Utility
The AppSync CLI is a utility that is packaged with AppSync and is used for scripting or running tasks through a command-line interface.
The AppSync CLI is installed in the EMC\AppSync\appsync-cli directory. You can run it on Windows with the file appsync-cli.bat.
If you want to use the AppSync CLI from UNIX, follow the below steps:
1. Copy \EMC\AppSync\appsync-cli directory to the UNIX host.
2. Run dos2unix appsync-cli.sh.
3. Provide execute permission with chmod +x appsync-cli.sh. Now you can use appsync-cli.sh to perform all CLI
tasks.
The AppSync CLI is a utility that is packaged with AppSync and is used for scripting or running tasks through a command-line interface.
The AppSync CLI is installed in the EMC\AppSync\appsync-cli directory. You can run it on Windows with the file appsync-cli.bat.
If you want to use the AppSync CLI from UNIX, follow the below steps:
1. Copy \EMC\AppSync\appsync-cli directory to the UNIX host.
2. Run dos2unix appsync-cli.sh.
3. Provide execute permission with chmod +x appsync-cli.sh. Now you can use appsync-cli.sh to perform all CLI
tasks.
Prerequisiti
- Java Runtime Environment (JRE) version 11 - must be installed and available in path.
- OpenJDK Runtime Environment 18.9 (build 11.0.13+8).
- Configured AppSync installation with registered resources
- Discovered applications on registered hosts
- Configured service plans
- If you are using the CLI on a non-English host, ensure that you set the correct code page before execution. To set the code page, use chcp on the command prompt.
Products
AppSync, AppSyncArticle Properties
Article Number: 000196979
Article Type: Solution
Last Modified: 11 Aug 2022
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.