Reboot instance in sequence

0

Is there anyone here that has Document or script that can reboot multiple instances in order? The logic of the solution or script I want to achieve is Server 1 will reboot first then wait for netlogon service to start before restarting Server 2.

質問済み 1年前326ビュー
3回答
0
承認された回答

Hi, apart from above, you could look inspiration in this: https://repost.aws/knowledge-center/start-stop-lambda-eventbridge.

Personally, I would combine the above with an orchestrator such as step function and see if you can achieve the waiting of service programmatically.

Hope it helps ;)

profile picture
エキスパート
回答済み 1年前
0

Arh your wanting to reboot domain controllers

You could use a mixture of aws cli to reboot an instance then a power shell script to check the status of the netlogon service remotely. This of course requires access to the servers directly.

https://theitbros.com/get-service-powershell/

profile picture
エキスパート
回答済み 1年前
0

Thanks guys for the suggestions. I created an automation document and create steps to restart and check window service Enter image description here

回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ