Skip to content

Commit

Permalink
Starting the system @scaleup (#85)
Browse files Browse the repository at this point in the history
* Rework procedure a bit

Signed-off-by: Marc Schöchlin <[email protected]>

* Better sections

Signed-off-by: Marc Schöchlin <[email protected]>

---------

Signed-off-by: Marc Schöchlin <[email protected]>
  • Loading branch information
scoopex authored Dec 18, 2024
1 parent d515754 commit 3c0290e
Showing 1 changed file with 23 additions and 13 deletions.
36 changes: 23 additions & 13 deletions documentation/System_Runbooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ ssh scs-manager
osism apply scs_check_landscape
```

# Shutdown the entire environment
# Global Maintenance

The following sections decribe the complete takedown and restart of the entire system.

## Shutdown the entire environment

This procedure describes the tasks to shutdown the scs hardware landscape completly.

Expand Down Expand Up @@ -137,7 +141,7 @@ This procedure describes the tasks to shutdown the scs hardware landscape comple
sudo halt
```
# Startup the entire environment
## Startup the entire environment

This procedure describes the tasks ro startup a completly stopped scs hardware landscape.

Expand Down Expand Up @@ -167,14 +171,11 @@ This procedure describes the tasks ro startup a completly stopped scs hardware l
NODES="$(./server_ctl -s all 2>/dev/null|grep -- "st01-ctl"|sort -r)"
for node in $NODES; do
echo "--> $node";
echo "+sudo systemctl enable docker.service"
ssh $node "sudo systemctl enable docker.service";
ssh $node "sudo systemctl start docker.service";
echo "+sudo systemctl start ceph\*"
ssh $node "sudo systemctl start ceph\*";
echo "+sudo systemctl start kolla\*"
ssh $node "sudo systemctl start kolla\*";
ssh $node "sudo systemctl start --all docker.service";
ssh $node "sudo systemctl start --all osism\*";
ssh $node "sudo systemctl start --all ceph\*";
ssh $node "sudo systemctl start --all kolla\*";
while ! (ssh $node sudo /usr/local/scripts/scs_check_services.sh) ; do
echo -e "\nwaiting"; sleep 50;
done
Expand All @@ -190,8 +191,11 @@ This procedure describes the tasks ro startup a completly stopped scs hardware l
for node in $NODES; do echo "--> $node"; ssh $node "sudo systemctl enable docker.service"; done
for node in $NODES; do
echo "--> $node";
ssh $node "sudo systemctl start docker.service";
ssh $node "sudo sudo systemctl start ceph\*"; done
ssh $node "sudo systemctl enable docker.service";
ssh $node "sudo systemctl start --all docker.service";
ssh $node "sudo systemctl start --all osism\*";
ssh $node "sudo systemctl start --all kolla\*";
ssh $node "sudo systemctl start --all ceph\*"; done
while ! (ssh $node sudo /usr/local/scripts/scs_check_services.sh) ; do
echo -e "\nwaiting"; sleep 50;
done
Expand Down Expand Up @@ -220,10 +224,13 @@ This procedure describes the tasks ro startup a completly stopped scs hardware l
for node in $NODES; do
echo "--> $node";
ssh $node "sudo systemctl enable docker.service";
ssh $node "sudo systemctl start --all docker.service";
ssh $node "sudo systemctl start --all osism\*";
ssh $node "sudo systemctl start --all ceph\*";
ssh $node "sudo systemctl start --all kolla\*";
while ! (ssh $node sudo /usr/local/scripts/scs_check_services.sh) ; do
echo -e "\nwaiting"; sleep 50;
done
ssh $node "sudo systemctl start docker.service";
done
```

Expand All @@ -236,10 +243,13 @@ This procedure describes the tasks ro startup a completly stopped scs hardware l
for node in $NODES; do
echo "--> $node";
ssh $node "sudo systemctl enable docker.service";
ssh $node "sudo systemctl start --all docker.service";
ssh $node "sudo systemctl start --all osism\*";
ssh $node "sudo systemctl start --all ceph\*";
ssh $node "sudo systemctl start --all kolla\*";
while ! (ssh $node sudo /usr/local/scripts/scs_check_services.sh) ; do
echo -e "\nwaiting"; sleep 50;
done
ssh $node "sudo systemctl start docker.service";
done
```
Expand Down

0 comments on commit 3c0290e

Please sign in to comment.