ta check
アプライアンスのエラーを確認します。
Synopsis
一般的な問題を診断し、お客様が問題を解決できるようにサポートします。このコマンドの主な目的は、構成の誤りをできるだけ早く検出することです。
このコマンドは、アプライアンスの複数の側面を確認します。 - ハードウェア - ソフトウェア - ABM - 暗号化 - 鍵 - 使用状況 - ネットワーク - SSH
ta check [flags]
例
ta check
ta check usage
ta check hardware
ta check {category}
オプション
-e, --env string Environment to run the check in. (default "prod")
-h, --help help for check
ta config
アプライアンスを構成します。
Synopsis
アプライアンスを構成または再構成して、データ転送の準備をします。指定した構成は保持され、後続の再起動後も保持されます。また、「finalize」コマンドが発行されるまで保持されます。現在の構成を確認するには、後で「status」コマンドを使用します。構成時に、NFS 共有が作成され、データ キャプチャ用にエクスポートされます。同時に、データ暗号化が有効になり、コピーされたデータは常に安全で、お客様が管理できるようになります。データ パーティションの暗号化とマウントは 1 回のみ行われます。「config」コマンドを再実行して、ネットワーク設定をいつでも更新できます。
ta config [flags]
例
ta config --data_port=RJ45 --ip=192.168.0.100/24 --gw=192.168.0.1
ta config --data_port=RJ45 --ip=dhcp
ta config --data_port=RJ45 --ip=dhcp --authorized_hosts=192.168.0.101
ta config --data_port=RJ45 --ip=dhcp --authorized_hosts=192.168.0.101,192.168.0.0/28
ta config --data_port=RJ45 --ip=192.168.0.100/24 --gw=192.168.0.1 --network_only --dns_servers=8.8.8.8
ta config --data_port=QSFP --ip=192.168.0.100/24 --gw=192.168.0.1
ta config --data_port=QSFP --ip=dhcp
ta config --data_port=RJ45 --ip=dhcp --data_size=200T
ta config --data_port=QSFP --ip=dhcp --network_only
ta config --data_port=RJ45 --ip=dhcp --proxy_addr=http://10.10.10.10:3128
ta config --data_port=RJ45 --ip=dhcp --proxy_addr=http://10.10.10.10:3128 --network_only
ta config --data_port=RJ45 --ip=192.168.0.100/24 --gw=192.168.0.1 --proxy_addr=http://10.10.10.10:3128 --network_only
オプション
-a, --authorized_hosts strings Comma-separated list of hosts that are allowed to connect to the NFS share. (default [*])
--data_port string Type of data port: 'RJ45', 'SFP', or 'QSFP'
--data_size string Resizes the data disk partition to the provided size. Does not change the existing data disk if left empty.
--dns_servers strings Comma-separated list of DNS name server addresses.
--env string Environment to run the appliance configuration in. (default "prod")
--fileshare string File share protocol to configure: 'smb' or 'nfs' (default "nfs")
--gw string IPv4 address of the default gateway. Must be provided for static IP configuration. Example: 192.168.6.1
-h, --help help for config
--ip string IPv4 & netmask address (for static setting), or 'dhcp' (for dynamic). Example: 192.168.6.11/24
--json If true, command output is in JSON format.
--network_interface string Network interface to configure.
--network_only Configure the appliance network without changing the disk or fileshare configuration.
--proxy_addr string Proxy server address to configure. Must be in format http://<IP_ADDR>:<Port>. Example: http://10.10.10.10:3128
--remove Removes the network configuration associated with the network interface provided.
--restart_bind_mounts Restart the bind mounts for ta_data and ta_local.
ta copy_ssh_keys
SSH 認証鍵をアプライアンスにコピーします。
ta copy_ssh_keys [flags]
オプション
-h, --help help for copy_ssh_keys
ta diagnostics
アプライアンスの診断情報を表示します。
Synopsis
問題が発生した場合のトラブルシューティングに役立つ診断情報を収集します。 これには、システム構成ファイルのコピーと、一部の診断ツールの出力が含まれます。ユーザーデータは含まれません。情報は圧縮アーカイブ ファイルに収集され、トラブルシューティングのために Google に送信できます。
ta diagnostics [flags]
例
ta diagnostics
ta diagnostics --bmc
オプション
-B, --bmc Include BMC FFDC logs in diagnostics logs
-h, --help help for diagnostics
ta disable_nfsv3
アプライアンスで NFSv3 を無効にします。
Synopsis
このコマンドは、NFSv3 クライアントを使用してデータを Transfer Appliance に転送することを無効にします。
ta disable_nfsv3 [flags]
オプション
-h, --help help for disable_nfsv3
ta disable_online_operations
アプライアンスでのオンライン操作を無効にします。
ta disable_online_operations [flags]
オプション
-h, --help help for disable_online_operations
ta enable_nfsv3
NFSv3 クライアントを使用してデータを Transfer Appliance に転送できるようにします。
Synopsis
このコマンドは、NFSv3 クライアントを使用してデータを Transfer Appliance に転送できるようにします。
NFSv3 を有効にすると、ファイル名のエンコードに関する制限が適用されます。GCS(Google Cloud Storage)では、ファイル名を UTF-8 でエンコードする必要があります。NFSv4 では転送中にファイル名が自動的に UTF-8 に変換されますが、NFSv3 では変換されません。
そのため、NFSv3 を使用する場合は、次の点に注意してください。 * UTF-8 でエンコードされていないファイル名のファイルは、GCS にアップロードできないことがあります。 * アップロードに失敗した場合、ファイル名のエンコードの問題が原因で、失敗したファイルを特定することが困難になる可能性があります。
推奨事項: NFSv3 を使用する前に、すべてのファイル名が UTF-8 でエンコードされていることを確認してください。ファイルが UTF-8 でエンコードされていない場合は、代わりに SCP または SFTP を使用して転送することを検討してください。
Windows クライアント: Windows クライアントは異なるエンコードを使用するため、Windows NFSv3 クライアントではこれらの CLI オプションを使用しないでください。Windows クライアントの場合、SCP または SFTP を転送方法として使用することをおすすめします。これらのオプションは、Windows クライアントがすべてのファイル名を ASCII で保証する場合にのみ使用できますが、ASCII 以外のファイル名のファイルは GCS にアップロードできないことを認識しておく必要があります。
ta enable_nfsv3 [flags]
オプション
-h, --help help for enable_nfsv3
ta finalize
アプライアンスをファイナライズします。
Synopsis
デバイスが安全で、発送の準備ができていることを確認します。特に、これにより、すべての暗号鍵と永続的な構成が削除されます。 また、アプライアンスのローカル ストレージに保存されているコンテンツも削除されます。重要なファイルはバックアップするか、ta_data ディレクトリに移動してください。 このコマンドを発行すると、データ転送はできなくなります。 これにより、netplan 構成が削除され、変更は再起動後にのみ有効になります。そのため、アプライアンスは再起動後にネットワークから切断されます。 このコマンドを最初に実行せずにアプライアンスを発送しないでください。返送用配送ラベルを取得するために必要なパスコードが生成されます。必要に応じて、「ta status」を実行するとパスコードが報告されます。
ta finalize [flags]
例
ta finalize
オプション
-h, --help help for finalize
--non_repudiation Verify the authenticity of arriving data. (default true)
--skip_reencrypt_bmcpass Skip reencrypting BMC passphrase.
--skip_shred_mount_fstab Skip shredding of opt/customer fstab file.
--tpm_clear Clear the TPM. (default true)
ta fsck
アプライアンスで fsck を実行します。
Synopsis
fsck コマンドは、アプライアンスのファイル システムの一貫性を確認します。このコマンドを実行しても、アプライアンスは変更されません。アプライアンスを返送する前に、ファイル システムのエラーが検出されるようにします。Google Cloud へのデータ転送中にファイル システムのエラーをデバッグすることは、困難または不可能になる可能性があります。これにより、データのアップロードが遅延したり、失敗したりする可能性があります。このコマンドが完了するまでに 5 時間以上かかることがあります。この コマンドを実行した後に、システムの再起動が必要になることがあります。
ta fsck [flags]
例
ta fsck
ta fsck -f
ta fsck --fix
オプション
-f, --fix Repair filesystem errors if found.
-h, --help help for fsck
ta mount
アプライアンスで mount を実行します。
Synopsis
mount は、アプライアンスでのマウントを処理します。Linux の mount コマンドをラップします。
ta mount [flags]
例
ta mount --version
ta mount --list
ta mount --all
ta mount --types=nfs --source=nfs_server_ip:/nfs_share_directory --target=/mnt/ta_data_base/ta_mounts/mount_point
ta mount --types=nfs --source=nfs_server_ip:/nfs_share_directory --target=/mnt/ta_data_base/ta_mounts/mount_point --options=rw,suid,dev,exec,auto,nouser,async
ta mount --types=cifs --options=username=user1,password=password --source=//cifs_share_ip/share_name --target=/mnt/ta_data_base/ta_mounts/mount_point
オプション
--all Mount all customer mounts.
-h, --help help for mount
--list List of customer mounts.
--options string Mount options given in a comma separated string, defaults is set as default. (default "defaults")
--source string Device being mounted.
--target string Mountpoint of the mount, expected to be under /mnt/ta_data_base/ta_mounts/.
--types string Filesystem type of the device to be mounted.
--version Version of the mount command.
ta offline
アプライアンスでのオンライン操作を無効にします。
Synopsis
アプライアンスのオンライン転送モードを無効にします。ネットワーク接続が存在する場合でも、指定したオンライン ディレクトリのデータはオンプレミスから Cloud に移動されません。
ta offline [flags]
例
ta offline
オプション
-h, --help help for offline
ta os
OS とやり取りするためのインターフェース。
Synopsis
OS とやり取りするためのインターフェースを提供します。このコマンドを使用すると、OS の更新、OS のロールバック、OS バージョンの表示を行うことができます。
ta os [flags]
例
ta os update
ta os rollback
ta os version
オプション
-h, --help help for os
-r, --rollback string Rollback the updated OS.
ta performance
ta_metadata に出力を保存するストレージ ベンチマーク テスト。
Synopsis
fio ストレージ パフォーマンス ベンチマーク指標の CSV を ta_metadata に出力します。 - タイムスタンプ - アプライアンスのシリアル番号 - 現在のセッション ID - アプライアンスのモデル - Zimbru OS のバージョン - アプライアンスのロケーション - ベンチマークの読み取り帯域幅 - ベンチマークの読み取り完了レイテンシ - ベンチマークの書き込み帯域幅 - ベンチマークの書き込み完了レイテンシ - ベンチマーク パラメータ
ta performance [flags]
例
ta performance
ta performance --upload
オプション
--enable_standard_benchmarking This temporary flag will be used to gradually rollout the new performance benchmark flow.
--env string Environment for token to upload to cloud monitoring. (default "prod")
-h, --help help for performance
--token string Token to authenticate with google cloud. Mutually exclusive with --token-file.
--token-file string Path to file containing token to authenticate with google cloud. Mutually exclusive with --token.
--upload Upload performance results to cloud monitoring.
ta pull
アプライアンスにマウントされたデータを pull してアーカイブします。
Synopsis
pull はディレクトリの場所を取得し、そこにあるすべてのファイルを処理してアーカイブし、指定した宛先に保存します。このコマンドは、どのファイルがどのアーカイブに保存されたかを記述するマニフェスト ファイルを生成します。 宛先にエラー ファイルが保存されます。これには、ターゲット ディレクトリの処理中に発生したエラーが 含まれます。
ta pull [flags]
例
ta pull --target=/mnt/ta_data_base/ta_mounts/test --size="1GB" --max_archive_file_size="200 MB" --destination=/mnt/ta_data/destination
ta pull --target=/mnt/ta_data_base/ta_mounts/test --size="1GB" --max_archive_file_size="200 MB" --destination=/mnt/ta_data/destination --count=22
ta pull --target=/mnt/ta_data_base/ta_mounts/test
ta pull --target=/mnt/ta_data_base/ta_mounts/test --no_archive
ta pull --id=55555 --status
ta pull -i=55555 --pause
ta pull --id=55555 -r
ta pull --cleanup
オプション
-C, --cleanup Cleanup the pull job.
-c, --count int The number of tarballs to pull at once. (default 1)
-d, --destination string The destination directory where the files will be pulled. (default "/mnt/ta_data/")
-h, --help help for pull
-i, --id string The ID of the pull.
-m, --max_archive_file_size string The maximum size of the what is considered archivale file.
-n, --no_archive Skips archiving all pulled files.
-p, --pause Pause the pull job.
-r, --resume Resume the pull job.
-S, --size string The target tarball size. (default "1GB")
-X, --status Get the status of the pull job.
-t, --target string The target directory containing the files to be pulled and archived, expected to be under /mnt/ta_data_base/ta_mounts/.
-T, --test Test the pull job.
ta reset
アプライアンスをリセットします。
Synopsis
アプライアンスを元の状態にリセットします。
つまり、データ パーティションにすでにコピーされているデータは失われます。
リセット後、アプライアンスを再構成する必要があります。これにより、データ パーティションがフォーマットされ、アプライアンスがデータ転送の準備が整います。
NFS/SMB は無効になります。ネットワーク構成はリセットされますが、変更は再起動後にのみ有効になります。
ta reset [flags]
例
ta reset
オプション
-h, --help help for reset
--preserve_key Preserve HTA key.json on reset.
--preserve_state Preserve HTA state on reset.
--skip_reencrypt_bmcpass Skip reencrypting BMC passphrase.
--skip_shred_mount_fstab Skip shredding of opt/customer fstab file.
ta restart_nfs
アプライアンスで NFS サーバーを再起動します。
ta restart_nfs [flags]
オプション
-h, --help help for restart_nfs
ta status
アプライアンスのステータスと健全性情報を表示します。
Synopsis
アプライアンスのステータスと健全性情報を表示します。 - アプライアンスの状態: 未構成、転送の準備完了、ファイナライズ済み。 - アプライアンスの現在の構成(最後の「config」コマンドに基づく) - パルス情報(使用済みストレージと利用可能なストレージ、コピーされたファイルの数、転送速度など) - 健全性チェック(利用できないディスク、無効な状態、無効な構成など)
ta status [flags]
例
ta status
ta status --verbose
オプション
-h, --help help for status
-v, --verbose If true, displays verbose status information.
ta telemetry_archive
テレメトリー ログをアーカイブするコマンド。
ta telemetry_archive [flags]
オプション
-h, --help help for telemetry_archive
ta timesync
時刻同期を管理する
オプション
-h, --help help for timesync
ta unmount
アプライアンスで unmount を実行します。
Synopsis
unmount は、アプライアンスでマウントされたお客様のマウントを解除し、からエントリを削除します {{.CustomerFstab}}。
ta unmount [flags]
例
ta unmount --version
ta unmount --all
ta unmount --target=/mnt/ta_data_base/ta_mounts/test
オプション
--all Unmount all filesystems.
-h, --help help for unmount
--target string The target directory to unmount.
--version Print the version of the unmount command.
ta unseal
DEK をアンシールし、アプライアンスのデータ パーティションをマウントします。
Synopsis
DEK をアンシールし、アプライアンスのデータ パーティションをマウントします。再起動後にデータ暗号鍵をアンシールしてデータ パーティションを再マウントするには、このコマンドが必要です。このコマンドは、データ転送を続行する前に実行する必要があります。
ta unseal [flags]
例
ta unseal
オプション
-h, --help help for unseal
ta update
アプライアンスのソフトウェアを更新するコマンド。
Synopsis
アプライアンスのソフトウェアを更新します。
ta update [flags]
例
ta update
ta update --containers
ta update --binaries
ta update --os
ta update --containers --binaries
ta update --binaries --os
ta update --containers --os
ta update --containers --binaries --os
ta update --rollback_binaries
オプション
--agent_pool Use agent pool during update. (default true)
--binaries Update binaries on the appliance.
--containers Update containers on the appliance.
--env string Environment to conduct the update in. (default "prod")
-h, --help help for update
--os Update OS on the appliance.
--rollback_binaries Perform binaries update rollback on the appliance.
ta version
アプライアンスのバージョンを表示します。
ta version [flags]
オプション
-h, --help help for version
ta wipe
アプライアンスのデータ パーティションをワイプします。
Synopsis
wipe は、NIST に準拠した方法で、アプライアンス上のすべてのデータ ドライブをワイプします。ワイプされたドライブと、ドライブのワイプに使用されたツールを詳しく説明する証明書が生成されます。 wipe は不可逆的なコマンドです。つまり、ドライブをワイプした後にデータを復元する方法はありません。
ta wipe [flags]
例
ta wipe
オプション
-h, --help help for wipe