Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Die Transfer Appliance hat zwei Modi:
Offlineübertragung: Daten werden in die Appliance kopiert, bis sie voll ist. Die Appliance wird an Google zurückgesendet und die kopierten Daten werden in Ihren Cloud Storage-Bucket verschoben.
Onlineübertragung: Daten, die in die Appliance kopiert wurden, werden in Ihren Cloud Storage-Bucket gestreamt. Nachdem die Daten in Ihren Cloud Storage-Bucket hochgeladen wurden, werden sie aus der Appliance entfernt.
Bei der Onlineübertragung werden die Daten während der Übertragung komprimiert und verschlüsselt. Außerdem wird die Datenübertragung im Vergleich zur gcloud CLI und anderen Befehlszeilentools beschleunigt.
Sie können zwischen dem Offline- und dem Onlinemodus wechseln.
Dienstkontoschlüssel für Appliance herunterladen
Nachdem die Projekteinrichtung abgeschlossen ist, bereiten Sie einen Dienstkontoschlüssel vor:
Benennen Sie den Schlüssel in key.json um und speichern Sie ihn an einem sicheren Ort.
Nachdem Sie die Appliance erhalten haben, laden Sie key.json in das Verzeichnis /tmp auf der Appliance hoch.
Onlinemodus festlegen
Bevor Sie den Onlineübertragungsmodus zum ersten Mal aktivieren, folgen Sie der Anleitung zur Projekteinrichtung.
Eine ausgehende Internetverbindung ist erforderlich, um den Onlinemodus zu aktivieren und zu verwenden.
So aktivieren Sie den Onlineübertragungsmodus:
Prüfen Sie die ausgehende Verbindung von der Appliance zu den unten aufgeführten HTTPS-Endpunkten:
https://gcr.io
https://storage.googleapis.com
https://oauth2.googleapis.com
https://storagetransfer.googleapis.com
https://pubsub.googleapis.com
Führen Sie den folgenden Befehl für jeden der HTTPS-Endpunkte aus:
ping URL
Wenn der Befehl fehlschlägt, kann dies darauf hindeuten, dass DNS auf der Appliance falsch konfiguriert ist. Wenn die Appliance für die Verwendung einer statischen IP-Adresse konfiguriert ist, aktualisieren Sie sie für die Verwendung von DHCP:
ta config --data_port=PORT --ip=dhcp
Ersetzen Sie PORT durch den Datenport, den Sie auf der Appliance verwenden. Entweder RJ45 oder QSFP.
PATH_TO_KEY_FILE: Der Pfad zur Schlüsseldatei, die Sie kopieren.
USERNAME: Der vom Transfer Appliance-Team bereitgestellte Nutzername für die Appliance.
IP_ADDRESS: Die IP-Adresse für die Appliance.
Geben Sie bei entsprechender Aufforderung das vom Transfer Appliance-Team bereitgestellte Appliance-Passwort ein.
Führen Sie den folgenden Befehl aus, um die Appliance in den Onlinemodus zu versetzen:
ta online
Die folgende Beispielantwort sieht ungefähr so aus wie die zurückgegebene Ausgabe:
Starting containers for online transfer...
Copied new credentials. ## Or, Using old credentials
Running binary to enable online transfer.
This may take several minutes to finish...
Containers have been successfully started. You can transfer data in
online mode.
Optional:Ändern Sie den Ziel-Bucket für die Übertragung und das Präfix des Jobobjekts.
ta online --bucket=BUCKET --object_prefix=OBJECT_PREFIX
Ersetzen Sie BUCKET durch den Ziel-Bucket und OBJECT_PREFIX durch das Objektpräfix, auf das Sie aktualisieren.
Wenn der Befehl erfolgreich ist, wird eine Ausgabe zurückgegeben, die der Ausgabe aus dem Schritt ähnelt, in dem Sie die Onlineübertragung ohne diese beiden Argumente ausführen.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-17 (UTC)."],[],[],null,["# Enable or disable online transfer\n\nThe Transfer Appliance has two modes:\n\n- **Offline transfer**: Data is copied to the appliance until it is full. The\n appliance is shipped back to Google and the copied data is moved to your\n Cloud Storage bucket.\n\n- **Online transfer**: Data copied to the appliance is streamed to your\n Cloud Storage bucket. After the data is uploaded to your Cloud Storage\n bucket, it is removed from the appliance.\n Online transfer compresses and encrypts the data in transit and accelerates\n data transfer compared to the gcloud CLI and other command-line\n tools.\n\nYou can toggle between offline and online mode.\n\nDownload Appliance Service Account Key\n--------------------------------------\n\nOnce the [project setup](/transfer-appliance/docs/4.0/procedure-guide#project-setup-and-key-download) is completed, prepare a service account key:\n\n1. [Create a service account key](/iam/docs/creating-managing-service-account-keys#iam-service-account-keys-create-console)\n for the appliance service account. This is a one time download key.\n\n2. Rename the key to `key.json`, and save it to a safe location.\n\n3. Once you've received your appliance, upload `key.json` to the `/tmp`\n directory on the appliance.\n\nSet to online mode\n------------------\n\nBefore enabling online transfer mode for the first time, follow the\ninstructions to complete [project setup](/transfer-appliance/docs/4.0/procedure-guide#project-setup-and-key-download).\n\nOutbound connectivity is required in order to enable and use online mode.\nTo enable online transfer mode, follow the instructions below:\n\n1. Verify your outbound connectivity from the appliance to the HTTPS endpoints\n listed below:\n\n - https://gcr.io\n\n - https://storage.googleapis.com\n\n - https://oauth2.googleapis.com\n\n - https://storagetransfer.googleapis.com\n\n - https://pubsub.googleapis.com\n\n Run the following command using each of the HTTPS endpoints: \n\n ping \u003cvar translate=\"no\"\u003eURL\u003c/var\u003e\n\n If the command fails, it may indicate that DNS is misconfigured on the\n appliance. If the appliance was configured to use a static IP address,\n update it to use DHCP: \n\n ```\n ta config --data_port=PORT --ip=dhcp\n ```\n\n Replace \u003cvar translate=\"no\"\u003ePORT\u003c/var\u003e with the data port you are using on\n the appliance, either `RJ45` or `QSFP`.\n2. Copy the service key downloaded in\n [Download Appliance Service Account Key](#download-appliance-sa-key)\n to the appliance's `tmp` folder, by doing the following:\n\n ### Windows\n\n 1. Using the SCP tool, connect to the appliance using the following\n settings:\n\n - **File protocol**: SFTP\n - **Host name**: The IP address for the appliance.\n - **Port number**: 22\n - **Username**: The appliance username provided by the Transfer Appliance Team.\n - **Password**: The appliance password provided by the Transfer Appliance Team.\n 2. Copy the file to the `/tmp` folder\n\n ### Linux\n\n 1. Run the following command:\n\n ```\n scp PATH_TO_KEY_FILE/key.json USERNAME@IP_ADDRESS:/tmp\n ```\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003ePATH_TO_KEY_FILE\u003cvar translate=\"no\"\u003e\u003c/var\u003e\u003c/var\u003e: The path to the key file that you are copying.\n - \u003cvar translate=\"no\"\u003eUSERNAME\u003c/var\u003e: The appliance username provided by the Transfer Appliance Team.\n - \u003cvar translate=\"no\"\u003eIP_ADDRESS\u003c/var\u003e: The IP address for the appliance.\n 2. When prompted, enter the appliance password provided by\n the Transfer Appliance Team.\n\n ### Apple macOS\n\n 1. Run the following command:\n\n ```\n scp PATH_TO_KEY_FILE/key.json USERNAME@IP_ADDRESS:/tmp\n ```\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003ePATH_TO_KEY_FILE\u003cvar translate=\"no\"\u003e\u003c/var\u003e\u003c/var\u003e: The path to the key file that you are copying.\n - \u003cvar translate=\"no\"\u003eUSERNAME\u003c/var\u003e: The appliance username provided by the Transfer Appliance Team.\n - \u003cvar translate=\"no\"\u003eIP_ADDRESS\u003c/var\u003e: The IP address for the appliance.\n 2. When prompted, enter the appliance password provided by the\n Transfer Appliance Team.\n\n3. To set the appliance to online mode, run the following command:\n\n ```\n ta online\n ```\n\n The following sample response resembles the output that is returned: \n\n ```\n\n Starting containers for online transfer...\n Copied new credentials. ## Or, Using old credentials\n Running binary to enable online transfer.\n This may take several minutes to finish...\n\n Containers have been successfully started. You can transfer data in\n online mode.\n ```\n4. **Optional:** change the transfer destination bucket and the job object prefix.\n\n ```\n ta online --bucket=BUCKET --object_prefix=OBJECT_PREFIX\n ```\n\n Replace \u003cvar translate=\"no\"\u003eBUCKET\u003c/var\u003e with the destination bucket and \u003cvar translate=\"no\"\u003eOBJECT_PREFIX\u003c/var\u003e\n with the object prefix you are updating to.\n\n If the command is successful, it returns output resembling the output from the step where you run the online transfer without these two arguments.\n\n \u003cbr /\u003e\n\n | **Note:** You can update the destination bucket and the object prefix independently. If updating to a new destination bucket, ensure that the required service accounts are [set up for the new bucket](/transfer-appliance/docs/4.0/prepare-permissions). Additionally, each invocation of this command with at least one of the the two flags triggers a new transfer operation, regardless of whether the appliance is offline or online.\n |\n | \u003cbr /\u003e\n |\nTo troubleshoot online mode, see [Troubleshooting online\nmode](/transfer-appliance/docs/4.0/troubleshoot-online-mode).\n\nSet to offline mode\n-------------------\n\nTo specify offline mode, run the following command: \n\n```\nta offline\n```\n\nThe following sample response resembles the output that is returned: \n\n```\n\nPutting the appliance in offline mode...\nAppliance is successfully put into the offline mode.\n```"]]