Hi,
I need to create a shell script for automated server patching, with the following scenario:
- I have two Linux servers Primary and secondary.
- Server patching should start on Primary 1st and then secondary.
[list] - 1st check both servers are up and running.
- Then stop primary and patching will start.
- Start primary after patching.
- Wait for server status to be running and check for messages ready in logs.
[/list] - Then stop the secondary side.
[list] - start patching.
- start the secondary server after patching is completed.
- Wait for server status to be running and check for messages ready in logs.
[/list] - I want to use uc4 to create jobs for this in later