Die vorliegende Übersetzung wurde maschinell erstellt. Im Falle eines Konflikts oder eines Widerspruchs zwischen dieser übersetzten Fassung und der englischen Fassung (einschließlich infolge von Verzögerungen bei der Übersetzung) ist die englische Fassung maßgeblich.
Einen Knoten in einem Cluster ersetzen
Um einen Knoten zu ersetzen, müssen Sie zuerst einen Ersatz bestellen. Sie können einen Ersatzknoten über die Konsole AWS CLI, die oder einen der folgenden bestellen AWS SDKs. Wenn Sie einen Ersatzknoten über die Konsole bestellen, können Sie Ersatz für alle Aufträge bestellen, die nicht abgebrochen oder abgeschlossen wurden. Dann trennen Sie den fehlerhaften Knoten vom Cluster, verbinden den Ersatzknoten mit Ihrem Netzwerk und entsperren den Cluster einschließlich des Ersatzknotens, ordnen den Ersatzknoten dem Cluster zu und starten den Amazon S3 S3-kompatiblen Speicher auf Snowball Edge neu.
So bestellen Sie einen Ersatzknoten über die Konsole
-
Melden Sie sich an der Managementkonsole für die AWS Snow-Familie
an. -
Suchen und wählen Sie im Auftrags-Dashboard einen Auftrag für einen Knoten, der zu dem Cluster gehört, den Sie erstellt haben.
-
Wählen Sie für Actions (Aktionen)die Option Replace node (Knoten ersetzen) aus.
Dadurch wird der letzte Schritt des Auftragserstellungsassistenten geöffnet. Hierbei sind alle Einstellungen mit denen bei der ursprünglichen Erstellung des Clusters identisch.
-
Wählen Sie Job erstellen aus.
Ihr Ersatz-Snowball Edge ist jetzt auf dem Weg zu Ihnen. Gehen Sie wie folgt vor, um den fehlerhaften Knoten aus dem Cluster zu entfernen.
Um einen Knoten aus einem Cluster zu entfernen
-
Schalten Sie den Knoten aus, der entfernt werden soll. Weitere Informationen finden Sie unter Snowball Edge ausschalten.
-
Verwenden Sie den
describe-cluster
Befehl, um sicherzustellen, dass der fehlerhafte Knoten nicht erreichbar ist. Dies wird durch den Wert vonUNREACHABLE
für denState
Namen desNetworkReachability
Objekts angezeigt.snowballEdge describe-cluster --manifest-file
path/to/manifest/file.bin
--unlock-codeunlock-code
--endpoint https://ip-address-of-device-in-cluster
Beispiel der
describe-cluster
Ausgabe{ "ClusterId": "CID12345678-1234-1234-1234-123456789012", "Devices": [ { "DeviceId": "JID12345678-1234-1234-1234-123456789012", "UnlockStatus": { "State": "UNLOCKED" }, "ActiveNetworkInterface": { "IpAddress": "10.0.0.0" }, "ClusterAssociation": { "ClusterId": "CID12345678-1234-1234-1234-123456789012", "State": "ASSOCIATED" }, "NetworkReachability": { "State": "REACHABLE" }, "Tags": [] }, { "DeviceId": "JID12345678-1234-1234-1234-123456789013", "UnlockStatus": { "State": "UNLOCKED" }, "ActiveNetworkInterface": { "IpAddress": "10.0.0.1" }, "ClusterAssociation": { "ClusterId": "CID12345678-1234-1234-1234-123456789012", "State": "ASSOCIATED" }, "NetworkReachability": { "State": "REACHABLE" }, "Tags": [] }, { "DeviceId": "JID12345678-1234-1234-1234-123456789014", "ClusterAssociation": { "ClusterId": "CID12345678-1234-1234-1234-123456789012", "State": "ASSOCIATED" }, "NetworkReachability": { "State": "UNREACHABLE" } } ] }
-
Verwenden Sie den
describe-service
Befehl, um sicherzustellen, dass der Status dess3-snow
Dienstes lautetDEGRADED
.snowballEdge describe-service --service-id s3-snow --device-ip-addresses
snow-device-1-address snow-device-2-address
--manifest-filepath/to/manifest/file.bin
--unlock-codeunlock-code
--endpoint https://snow-device-ip-address
Beispiel der Ausgabe des
describe-service
Befehls{ "ServiceId": "s3-snow", "Autostart": true, "Status": { "State": "DEGRADED" }, "ServiceCapacities": [ { "Name": "S3 Storage", "Unit": "Byte", "Used": 38768180432, "Available": 82961231819568 } ], "Endpoints": [ { "Protocol": "https", "Port": 443, "Host": "10.0.0.10", "CertificateAssociation": { "CertificateArn": "arn:aws:snowball-device:::certificate/7Rg2lP9tQaHnW4sC6xUzF1vGyD3jB5kN8MwEiYpT" }, "Description" : "s3-snow bucket API endpoint (for s3control SDK)", "DeviceId": "JID-beta-207012320001-24-02-05-17-17-26", "Status": { "State": "ACTIVE" } }, { "Protocol": "https", "Port": 443, "Host": "10.0.0.11", "CertificateAssociation": { "CertificateArn": "arn:aws:snowball-device:::certificate/7Rg2lP9tQaHnW4sC6xUzF1vGyD3jB5kN8MwEiYpT" }, "Description": "Description" : "s3-snow object & bucket API endpoint (for s3api SDK)", "DeviceId": "JID-beta-207012320001-24-02-05-17-17-26", "Status": { "State": "ACTIVE" } }, { "Protocol": "https", "Port": 443, "Host": "10.0.0.12", "CertificateAssociation": { "CertificateArn": "arn:aws:snowball-device:::certificate/7Rg2lP9tQaHnW4sC6xUzF1vGyD3jB5kN8MwEiYpT" }, "Description": "Description" : "s3-snow bucket API endpoint (for s3control SDK)", "DeviceId": "JID-beta-207012240003-24-02-05-17-17-27", "Status": { "State": "ACTIVE" } }, { "Protocol": "https", "Port": 443, "Host": "10.0.0.13", "CertificateAssociation": { "CertificateArn": "arn:aws:snowball-device:::certificate/7Rg2lP9tQaHnW4sC6xUzF1vGyD3jB5kN8MwEiYpT" }, "Description": "Description" : "s3-snow object & bucket API endpoint (for s3api SDK)", "DeviceId": "JID-beta-207012320001-24-02-05-17-17-27", "Status": { "State": "ACTIVE" } } ] }
-
Verwenden Sie den
disassociate-device
Befehl, um den fehlerhaften Knoten vom Cluster zu trennen und ihn daraus zu entfernen.snowballEdge disassociate-device --device-id
device-id
--manifest-filepath/to/manifest/file.bin
--unlock-codeunlock-code
--endpoint https://ip-address-of-unhealthy-device
Beispiel Ausgabe des Befehls
disassociate-device
Disassociating your Snowball Edge device from the cluster. Your Snowball Edge device will be disassociated from the cluster when it is in the "DISASSOCIATED" state. You can use the describe-cluster command to determine the state of your cluster.
-
Verwenden Sie den
describe-cluster
Befehl erneut, um sicherzustellen, dass der fehlerhafte Knoten vom Cluster getrennt wird.snowballEdge describe-cluster --manifest-file
path/to/manifest/file.bin
--unlock-codeunlock-code
--endpoint https:ip-address-of-healthy-device
Beispiel des
describe-cluster
Befehls zeigt an, dass der Knoten getrennt ist{ "ClusterId": "CID12345678-1234-1234-1234-123456789012", "Devices": [ { "DeviceId": "JID12345678-1234-1234-1234-123456789012", "UnlockStatus": { "State": "UNLOCKED" }, "ActiveNetworkInterface": { "IpAddress": "10.0.0.0" }, "ClusterAssociation": { "ClusterId": "CID12345678-1234-1234-1234-123456789012", "State": "ASSOCIATED" }, "NetworkReachability": { "State": "REACHABLE" }, "Tags": [] }, { "DeviceId": "JID12345678-1234-1234-1234-123456789013", "UnlockStatus": { "State": "UNLOCKED" }, "ActiveNetworkInterface": { "IpAddress": "10.0.0.1" }, "ClusterAssociation": { "ClusterId": "CID12345678-1234-1234-1234-123456789012", "State": "ASSOCIATED" }, "NetworkReachability": { "State": "REACHABLE" }, "Tags": [] }, { "DeviceId": "JID12345678-1234-1234-1234-123456789014", "ClusterAssociation": { "ClusterId": "CID12345678-1234-1234-1234-123456789012", "State": "DISASSOCIATED" } } ] }
Schalten Sie das defekte Gerät aus und setzen Sie es wieder auf. AWS Weitere Informationen finden Sie unter Ausschalten des Snowball Edge und Rückgabe des Snowball Edge-Geräts.
Wenn das Ersatzgerät eingetroffen ist, gehen Sie wie folgt vor, um es dem Cluster hinzuzufügen.
Um ein Ersatzgerät hinzuzufügen
-
Positionieren Sie das Ersatzgerät für den Cluster so, dass Sie Zugriff auf die Vorder-, Rück- und Oberseite aller Geräte haben.
-
Schalten Sie den Knoten ein und stellen Sie sicher, dass der Knoten mit demselben internen Netzwerk verbunden ist wie der Rest des Clusters. Weitere Informationen finden Sie unter Verbindung mit Ihrem lokalen Netzwerk herstellen.
-
Verwenden Sie den
unlock-cluster
Befehl und geben Sie die IP-Adresse des neuen Knotens an.snowballEdge unlock-cluster --manifest-file
path/to/manifest/file.bin
--unlock-codeunlock-code
--endpoint https://ip-address-of-cluster-device
--device-ip-addressesnode-1-ip-address node-2-ip-address new-node-ip-address
Der Status des neuen Knotens bleibt so
DEGRADED
lange bestehen, bis Sie ihn im nächsten Schritt dem Cluster zuordnen. -
Verwenden Sie den
associate-device
Befehl, um den Ersatzknoten dem Cluster zuzuordnen.snowballEdge associate-device --device-ip-address
new-node-ip-address
Beispiel der
associate-device
BefehlsausgabeAssociating your Snowball Edge device with the cluster. Your Snowball Edge device will be associated with the cluster when it is in the ASSOCIATED state. You can use the describe-device command to determine the state of your devices.
-
Verwenden Sie den
describe-cluster
Befehl, um sicherzustellen, dass der neue Knoten dem Cluster zugeordnet ist.snowballEdge describe-cluster --manifest-file
path/to/manifest/file.bin
--unlock-codeunlock-code
--endpoint https://node-ip-address
Beispiel der
describe-cluster
Befehlsausgabe{ "ClusterId": "CID12345678-1234-1234-1234-123456789012", "Devices": [ { "DeviceId": "JID12345678-1234-1234-1234-123456789012", "UnlockStatus": { "State": "UNLOCKED" }, "ActiveNetworkInterface": { "IpAddress": "10.0.0.0" }, "ClusterAssociation": { "ClusterId": "CID12345678-1234-1234-1234-123456789012", "State": "ASSOCIATED" }, "NetworkReachability": { "State": "REACHABLE" }, "Tags": [] }, { "DeviceId": "JID-CID12345678-1234-1234-1234-123456789013", "UnlockStatus": { "State": "UNLOCKED" }, "ActiveNetworkInterface": { "IpAddress": "10.0.0.1" }, "ClusterAssociation": { "ClusterId": "CID12345678-1234-1234-1234-123456789012", "State": "ASSOCIATED" }, "NetworkReachability": { "State": "REACHABLE" }, "Tags": [] }, { "DeviceId": "JID-CID12345678-1234-1234-1234-123456789015", "UnlockStatus": { "State": "UNLOCKED" }, "ActiveNetworkInterface": { "IpAddress": "10.0.0.2" }, "ClusterAssociation": { "ClusterId": "CID12345678-1234-1234-1234-123456789012", "State": "ASSOCIATED" }, "NetworkReachability": { "State": "REACHABLE" }, "Tags": [] } } ] }
-
Erstellen Sie auf dem neuen Knoten zwei virtuelle Netzwerkschnittstellen (VNIs). Weitere Informationen finden Sie unter Starten des Amazon S3 S3-kompatiblen Speichers auf dem Snowball Edge-Service
-
Verwenden Sie den
stop-service
Befehl, um den s3-Snow-Dienst zu beenden.snowballEdge stop-service --service-id s3-snow --device-ip-addresses
cluster-device-1-ip-address cluster-device-2-ip-address cluster-device-3-ip-address
--manifest-filepath/to/manifest/file.bin
--unlock-codeunlock-code
--endpoint https://snow-device-ip-address
Beispiel der Befehlsausgabe
stop-service
Stopping the AWS service on your Snowball Edge. You can determine the status of the AWS service using the describe-service command.
-
Verwenden Sie den
start-service
Befehl, um den s3-Snow-Dienst zu starten, nachdem Sie dem Cluster den neuen Knoten hinzugefügt haben.snowballEdge start-service --service-id s3-snow --device-ip-addresses
cluster-device-1-ip-address cluster-device-2-ip-address cluster-device-3-ip-address
--virtual-network-interface-arns "device-1-vni-ip-address-a
" "device-1-vni-ip-address-b
" "device-2-vni-ip-address-a
" "device-2-vni-ip-address-b
" "device-3-vni-ip-address-a
" "device-3-vni-ip-address-b
" --manifest-filepath/to/manifest/file.bin
--unlock-codeunlock-code
--endpoint https://snow-device-ip-address
Beispiel der Befehlsausgabe
start-service
Starting the AWS service on your Snowball Edge. You can determine the status of the AWS service using the describe-service command.
-
Verwenden Sie den
describe-service
Befehl, um sicherzustellen, dass der s3-Snow-Dienst gestartet wurde.snowballEdge describe-service --service-id s3-snow --device-ip-addresses
snow-device-1-address snow-device-2-address snow-device-3-address
--manifest-filepath/to/manifest/file.bin
--unlock-codeunlock-code
--endpoint https://snow-device-ip-address
Beispiel der Befehlsausgabe
descibe-service
{ "ServiceId": "s3-snow", "Autostart": true, "Status": { "State": "ACTIVE" }, "ServiceCapacities": [{ "Name": "S3 Storage", "Unit": "Byte", "Used": 38768180432, "Available": 82961231819568 }], "Endpoints": [{ "Protocol": "https", "Port": 443, "Host": "10.0.0.10", "CertificateAssociation": { "CertificateArn": "arn:aws:snowball-device:::certificate/7Rg2lP9tQaHnW4sC6xUzF1vGyD3jB5kN8MwEiYpT" }, "Description": "s3-snow bucket API endpoint (for s3control SDK)", "DeviceId": "JID12345678-1234-1234-1234-123456789012", "Status": { "State": "ACTIVE" } }, { "Protocol": "https", "Port": 443, "Host": "10.0.0.11", "CertificateAssociation": { "CertificateArn": "arn:aws:snowball-device:::certificate/7Rg2lP9tQaHnW4sC6xUzF1vGyD3jB5kN8MwEiYpT" }, "Description": "s3-snow object & bucket API endpoint (for s3api SDK)", "DeviceId": "JID12345678-1234-1234-1234-123456789013", "Status": { "State": "ACTIVE" } }, { "Protocol": "https", "Port": 443, "Host": "10.0.0.12", "CertificateAssociation": { "CertificateArn": "arn:aws:snowball-device:::certificate/7Rg2lP9tQaHnW4sC6xUzF1vGyD3jB5kN8MwEiYpT" }, "Description": "s3-snow bucket API endpoint (for s3control SDK)", "DeviceId": "JID12345678-1234-1234-1234-123456789015", "Status": { "State": "ACTIVE" } }, { "Protocol": "https", "Port": 443, "Host": "10.0.0.13", "CertificateAssociation": { "CertificateArn": "arn:aws:snowball-device:::certificate/7Rg2lP9tQaHnW4sC6xUzF1vGyD3jB5kN8MwEiYpT" }, "Description": "s3-snow object & bucket API endpoint (for s3api SDK)", "DeviceId": "JID-beta-207012320001-24-02-05-17-17-27", "Status": { "State": "ACTIVE" } }, { "Protocol": "https", "Port": 443, "Host": "10.0.0.14", "CertificateAssociation": { "CertificateArn": "arn:aws:snowball-device:::certificate/7Rg2lP9tQaHnW4sC6xUzF1vGyD3jB5kN8MwEiYpT" }, "Description": "s3-snow bucket API endpoint (for s3control SDK)", "DeviceId": "JID-beta-207012240003-24-02-05-17-17-28", "Status": { "State": "ACTIVE" } }, { "Protocol": "https", "Port": 443, "Host": "10.0.0.15", "CertificateAssociation": { "CertificateArn": "arn:aws:snowball-device:::certificate/7Rg2lP9tQaHnW4sC6xUzF1vGyD3jB5kN8MwEiYpT" }, "Description": "s3-snow object & bucket API endpoint (for s3api SDK), "DeviceId": "JID-beta-207012320001-24-02-05-17-17-28", "Status": { "State": "ACTIVE" } } }] }