File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -242,10 +242,9 @@ cdk destroy solana-common
242
242
pwd
243
243
# Make sure you are in aws-blockchain-node-runners/lib/solana
244
244
245
- export INSTANCE_ID=$( cat single-node-deploy.json | jq -r ' ..|.node-instance-id ? | select(. != null)' )
245
+ export INSTANCE_ID=$( cat single-node-deploy.json | jq -r ' ..|.nodeinstanceid ? | select(. != null)' )
246
246
echo " INSTANCE_ID=" $INSTANCE_ID
247
247
aws ssm start-session --target $INSTANCE_ID --region $AWS_REGION
248
- sudo su bcuser
249
248
sudo journalctl -o cat -fu node
250
249
```
251
250
@@ -255,17 +254,18 @@ sudo journalctl -o cat -fu node
255
254
pwd
256
255
# Make sure you are in aws-blockchain-node-runners/lib/solana
257
256
258
- export INSTANCE_ID=$( cat single-node-deploy.json | jq -r ' ..|.node-instance-id ? | select(. != null)' )
257
+ export INSTANCE_ID=$( cat single-node-deploy.json | jq -r ' ..|.nodeinstanceid ? | select(. != null)' )
259
258
echo " INSTANCE_ID=" $INSTANCE_ID
260
259
aws ssm start-session --target $INSTANCE_ID --region $AWS_REGION
261
260
sudo cat /var/log/cloud-init-output.log
262
261
```
263
262
264
263
3 . How can I restart the Solana service?
265
264
``` bash
266
- export INSTANCE_ID=$( cat single-node-deploy.json | jq -r ' ..|.node-instance-id ? | select(. != null)' )
265
+ export INSTANCE_ID=$( cat single-node-deploy.json | jq -r ' ..|.nodeinstanceid ? | select(. != null)' )
267
266
echo " INSTANCE_ID=" $INSTANCE_ID
268
267
aws ssm start-session --target $INSTANCE_ID --region $AWS_REGION
268
+ sudo systemctl restart node
269
269
sudo systemctl status node
270
270
```
271
271
You can’t perform that action at this time.
0 commit comments