La versione in lingua italiana fornita proviene da una traduzione automatica. Per eventuali incoerenze, fare riferimento alla versione in lingua inglese.
Linee guida per l'utilizzo dell'interfaccia della riga di comando di Snap Creator
Snap Creator offre funzionalità della riga di comando che consentono di eseguire varie azioni senza utilizzare l'interfaccia grafica utente (GUI). Ad esempio, è possibile creare un backup, un volume clonea o un LUN e importare i file di configurazione dall'interfaccia della riga di comando (CLI).
Per visualizzare un elenco completo di tutti i comandi e dei parametri associati, eseguire Snap Creator al prompt dei comandi senza argomenti: /Install_path/scServer/snapcreator
[root@lyon scServer4.3.0]# ./snapcreator
Usage: ./snapcreator --server <IP> --port <Port> --user <User> --passwd <Passwd> --profile <Profile> --config <Config> --action <Action> --policy <Policy> <Optional Arguments>
Connection Information
--server <IP|Hostname> The IP address or hostname of the Snap Creator server
--port <number> The port number of the Snap Creator server
--user <user> The username used for Snap Creator server authentication
--passwd <password> The password used for Snap Creator server authentication
Configuration Information
--profile <Profile> The profile you want to run
Profiles are dir's located under configs dir
Uses default config, unless --config is specified
list Displays all configurations known to Snap Creator
Workflow Actions
--action <Action> The action you want Snap Creator to perform
backup Takes a backup using NetApp storage technology
ossv Uses OSSV to perform the backup, no primary backup is taken
cloneLun In addition to backup will clones lun(s)
using lun clone
cloneVol In addition to backup will clones volume
using vol clone
cloneDel Deletes vol clones outside of normal workflow
clone Performs a plug-in driven clone operation
restore Enters an interactive restore menu for a given
Snap Creator policy, you can choose a file or volume restore
backupDel Enters an interactive backup delete menu for a given
Snap Creator policy
backupList Lists all backups under Snap Creator control
volumeList Lists all volumes under Snap Creator control
cloneList Lists all volume clones under Snap Creator control
dpstatus Shows the snapvault/snapmirror status
pmsetup Creates a Protection Manager DataSet for given config
arch Does not take backup, only performs
archive log management
quiesce Does not take backup, only performs
quiesce for given application defined in APP_NAME
unquiesce Does not take backup, only performs
unquiesce for given application defined in APP_NAME
discover Does not take backup, only performs
discover for given application defined in APP_NAME
mount Clone an existing backup and provide optional mount commands
umount Clone an existing backup and provide optional umount commands
scdump Dumps logs, configs, and support information for a given profile
in a zip file called scdump located under Snap Creator root directory
custom A plug-in may define a custom action
dispatch Executes any Snap Creator workflow that exists
...
Se durante l'utilizzo della CLI di Snap Creator viene fornito un nome utente o una password non corretti, viene visualizzato il seguente messaggio di errore: 403 proibita ----- Il nome utente e la password non sono corretti