As traduções são geradas por tradução automática. Em caso de conflito entre o conteúdo da tradução e da versão original em inglês, a versão em inglês prevalecerá.
Substituir um nó em um cluster
Para substituir um nó, primeiro é necessário solicitar uma substituição. Você pode solicitar um nó de substituição no console AWS CLI, no ou em um dos AWS SDKs. Se estiver solicitando um nó de substituição do console, poderá solicitar substituições para qualquer trabalho que ainda não tenha sido cancelado nem concluído. Em seguida, você desassocia o nó não íntegro do cluster, conecta o nó substituto à sua rede e desbloqueia o cluster, incluindo o nó substituto, associa o nó substituto ao cluster e reinicia o armazenamento compatível com o Amazon S3 no serviço Snowball Edge.
Para solicitar um nó de substituição no console
-
Faça login no Console de Gerenciamento da família AWS Snow
. -
Encontre e escolha um trabalho para um nó que pertença ao cluster que você criou no painel de trabalho.
-
Em Ações, escolha Substituir nó.
Ao fazer isso, é aberta a etapa final do assistente de criação de trabalho, com todas as configurações idênticas à forma como o cluster foi criado originalmente.
-
Escolha Criar trabalho.
Seu Snowball Edge de substituição agora está a caminho. Use o procedimento a seguir para remover o nó não íntegro do cluster.
Como remover um nó de um cluster
-
Desligue o nó a ser removido. Para ter mais informações, consulte Desligar o Snowball Edge.
-
Use o comando
describe-cluster
para garantir que o nó não íntegro esteja inacessível. Isso é indicado pelo valor deUNREACHABLE
para o nomeState
do objetoNetworkReachability
.snowballEdge describe-cluster --manifest-file
path/to/manifest/file.bin
--unlock-codeunlock-code
--endpoint https://ip-address-of-device-in-cluster
exemplo da saída
describe-cluster
{ "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" } } ] }
-
Use o comando
describe-service
para garantir que o status do serviços3-snow
sejaDEGRADED
.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
exemplo da saída do comando
describe-service
{ "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" } } ] }
-
Use o comando
disassociate-device
para desassociar e remover o nó não íntegro do cluster.snowballEdge disassociate-device --device-id
device-id
--manifest-filepath/to/manifest/file.bin
--unlock-codeunlock-code
--endpoint https://ip-address-of-unhealthy-device
exemplo saída do comando
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.
-
Use o comando
describe-cluster
novamente para garantir que o nó não íntegro seja desassociado do cluster.snowballEdge describe-cluster --manifest-file
path/to/manifest/file.bin
--unlock-codeunlock-code
--endpoint https:ip-address-of-healthy-device
exemplo do comando
describe-cluster
mostrando que o nó está desassociado{ "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" } } ] }
Desligue e retorne o dispositivo não íntegro para o. AWS Para ter mais informações, consulte Desligar o Snowball Edge e Devolver o dispositivo Snowball Edge.
Quando o dispositivo de substituição chegar, use o procedimento a seguir para adicioná-lo ao cluster.
Como adicionar um dispositivo de substituição
-
Posicione o dispositivo de substituição para o cluster, de modo que você tenha acesso às partes frontal, traseira e superior de todos os dispositivos.
-
Ligue o nó e garanta que ele esteja conectado à mesma rede interna que o resto do cluster. Para ter mais informações, consulte Conectar-se à rede local.
-
Use o comando
unlock-cluster
e inclua o endereço IP do novo nó.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
O estado do novo nó será
DEGRADED
até que você o associe ao cluster na próxima etapa. -
Use o comando
associate-device
para associar o nó de substituição ao cluster.snowballEdge associate-device --device-ip-address
new-node-ip-address
exemplo da saída do comando
associate-device
Associating 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.
-
Use o comando
describe-cluster
para garantir que o novo nó esteja associado ao cluster.snowballEdge describe-cluster --manifest-file
path/to/manifest/file.bin
--unlock-codeunlock-code
--endpoint https://node-ip-address
exemplo da saída do comando
describe-cluster
{ "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": [] } } ] }
-
No novo nó, crie duas interfaces de rede virtual (VNIs). Para ter mais informações, consulte Iniciando o armazenamento compatível com Amazon S3 no serviço Snowball Edge
-
Use o comando
stop-service
para interromper o serviço s3-snow.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
exemplo da saída do comando
stop-service
Stopping the AWS service on your Snowball Edge. You can determine the status of the AWS service using the describe-service command.
-
Use o comando
start-service
para iniciar o serviço s3-snow depois de adicionar o novo nó ao cluster.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
exemplo da saída do comando
start-service
Starting the AWS service on your Snowball Edge. You can determine the status of the AWS service using the describe-service command.
-
Use o comando
describe-service
para garantir que o serviço s3-snow tenha sido iniciado.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
exemplo da saída do comando
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" } } }] }