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.

질문됨 일 년 전327회 조회
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
전문가
답변함 일 년 전
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
전문가
답변함 일 년 전
0

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

답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠