Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Questa pagina descrive come configurare e configurare l'appliance air-gapped Google Distributed Cloud (GDC)
presso la sede del cliente.
Al primo avvio, le unità vengono sbloccate senza intervento umano.
Decripta l'unità e avvia la macchina
Ogni appliance GDC air-gapped viene spedita con le YubiKey inserite in ogni blade. Assicurati che le YubiKey siano inserite correttamente con il lato dorato rivolto verso l'alto. Una volta inserita, la chiave viene accoppiata al server e non può essere spostata su un altro server.
Affinché l'appliance GDC air-gapped possa essere avviata, queste YubiKey devono trovarsi negli slot originali nella scheda server corrispondente.
Configurare l'appliance
Verifica che tutti i campi del file di configurazione dell'input siano corretti. Una volta copiato il file nel server blade nei passaggi successivi, la configurazione finale inizia automaticamente e non può essere interrotta facilmente.
Trasferisci il file di configurazione di input al percorso
/var/lib/assets/ciq_configure_input.yaml sul blade del server a cui è assegnato l'indirizzo IP
198.18.0.6.
L'installazione è completata al termine della fase di pulizia. Il log mostra una riga simile alla seguente:
<<<Completedphase:cleanup
In alternativa, puoi cercare lo stato del servizio di installazione con quanto segue:
sshapplianceusr@198.18.0.6'systemctl status gdch-app-install'
L'output indica lo stato dell'installazione. In particolare, il campo Active indica se l'installazione è in corso, non è riuscita o è inattiva. Quando la riga indica che il processo di installazione è inattivo e ha lo stato 0/SUCCESS, l'installazione è completata.
Eseguire il backup delle credenziali
Recuperare le credenziali di emergenza del dispositivo e memorizzarle in una posizione sicura
Crea un archivio di backup delle credenziali di accesso eseguendo il comando seguente e inserisci la password applianceusr quando richiesto:
Verifica che i contenuti di questo archivio includano il backup di cellcfg, le credenziali del fornitore di identità, le credenziali di switch e le chiavi SSH per la scheda server assegnata all'indirizzo IP 198.18.0.6.
Memorizza l'archivio su un supporto separato e sicuro (ad esempio un'unità USB) per
l'accesso di emergenza.
Elimina l'utente appliance e interrompi i servizi di installazione dell'appliance
Una volta completato il backup delle credenziali di emergenza, esegui il seguente comando
nel server blade a cui è assegnato l'indirizzo IP 198.18.0.6 per eliminare
l'account utente dell'appliance predefinito e interrompere i servizi di installazione. Per utilizzare in futuro il server blade a cui è assegnato l'indirizzo IP 198.18.0.6, puoi utilizzare le credenziali di emergenza.
Esegui il comando seguente per rimuovere l'accesso utente predefinito e proteggere il dispositivo
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-04 UTC."],[[["\u003cp\u003eThis document guides you through the setup and configuration of a Google Distributed Cloud (GDC) air-gapped appliance at a customer site.\u003c/p\u003e\n"],["\u003cp\u003eThe process involves decrypting the appliance drives using YubiKeys, which are shipped separately and must remain in the server post-installation until the system is returned.\u003c/p\u003e\n"],["\u003cp\u003eYou'll configure the appliance using the \u003ccode\u003egdcloud appliance configure\u003c/code\u003e command, answering questions about DNS, BGP, data plane networks, uplinks, and optional external NTP and HSM information.\u003c/p\u003e\n"],["\u003cp\u003eYou have the option to connect the appliance to your existing identity provider (IdP) or use the automatically installed Keycloak IdP, and if you choose to use the Keycloak IdP it is crucial to save the credentials provided during the installation process.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ecellcfg\u003c/code\u003e directory, generated during configuration, must be backed up, as it is necessary for updating and patching the appliance.\u003c/p\u003e\n"]]],[],null,["# Configure the appliance and install software\n\nThis page describes how to set up and configure Google Distributed Cloud (GDC) air-gapped appliance\nat the customer site.\n\nOn first boot, the drives are unlocked without human intervention.\n| **Important:** To access the URLs on this page, you must connect to the internet. The URLs are provided for use when you have such access.\n\nDecrypt the drive and boot the machine\n--------------------------------------\n\nEach GDC air-gapped appliance is shipped with Yubikeys inserted into each blade. Ensure that the yubikeys are correctly inserted with the gold side facing up. Once the key is inserted it is paired with that server and cannot be moved to a different server.\nThese Yubikeys must be in their original slots in the corresponding server blade\nin order for the GDC air-gapped appliance to boot.\n| **Important:** The Yubikeys must be inserted in each blade prior to executing the bootstrapping process. Incorrectly following this step will result in a failed bootstrap.\n\nConfigure the appliance\n-----------------------\n\nVerify all fields of the input configuration file are accurate. Once the file is copied to the server blade in the following steps, the final configuration begins automatically and cannot easily be stopped.\n\n1. Transfer the input configuration file to the path\n `/var/lib/assets/ciq_configure_input.yaml` on the server blade assigned the\n `198.18.0.6` IP address.\n\n scp configuration-input.yaml applianceusr@198.18.0.6:/var/lib/assets/ciq_configure_input.yaml\n\n2. The configuration starts automatically and saves output in the\n `/var/log/gdch-install.txt` file.\n\n3. Configuration is expected to take 4-5 hours. Monitor progress with one of the following:\n\n - Monitor the `/var/log/gdch-install.txt` file with the following:\n\n ssh applianceusr@198.18.0.6 'tail -f /var/log/gdch-install.txt'\n\n The install is complete when the cleanup phase has completed. The log shows a line like the following: \n\n \u003c\u003c\u003c Completed phase: cleanup\n\n - Alternatively, you can look for the status of the installation service, with the following:\n\n ssh applianceusr@198.18.0.6 'systemctl status gdch-app-install'\n\n The output indicates the status of the installation. In particular, the `Active` field indicates if the install is ongoing, failed, or inactive. When the line indicates that the install process is inactive and has a status of `0/SUCCESS`, the installation is complete.\n\nBack up the credentials\n-----------------------\n\nRetrieve the device emergency credentials and store them in a secure location\n\n1. Create a backup archive of the access credentials by running the following, enter the `applianceusr` password when prompted:\n\n ssh applianceusr@198.18.0.6 'sudo -S /var/lib/release/gdcloud appliance install --phase=postinstall'\n\n2. Copy the credential backup to the bootstrapper by running the following, enter the `applianceusr` password when prompted:\n\n ssh applianceusr@198.18.0.6 'sudo -S setfacl -m u:applianceusr:rwx /var/lib/assets/credentials.tar.gz'\n scp applianceusr@198.18.0.6:/var/lib/assets/credentials.tar.gz .\n\n3. Verify the contents of this archive include, the cellcfg backup, identity provider credentials, switch credentials, and SSH keys for the server blade assigned to the `198.18.0.6` IP address.\n\n4. Store the archive on a separate, secure medium (such as a USB drive) for\n emergency access.\n\nDelete appliance user and stop appliance install services\n---------------------------------------------------------\n\nAfter the backup of emergency credentials is completed, run the following\ncommand on the server blade assigned the `198.18.0.6` IP address to delete the\ndefault appliance user account and stop install services. In order to use the server blade assigned the `198.18.0.6` IP address in the future, you can use [emergency credentials](/distributed-cloud/hosted/docs/latest/appliance/admin/setup#back_up_emergency_credentials).\n\n1. Execute the following to remove the default user access and secure the device\n\n ssh applianceusr@198.18.0.6 'sudo -S /usr/local/bin/cleanup_appliance_user.sh'\n\nManage YubiKeys\n---------------\n\nAfter the installation completes, the YubiKeys must stay in the server until you\n[return the system](/distributed-cloud/hosted/docs/latest/appliance/admin/return-device)."]]