@@ -104,12 +104,12 @@ optional arguments:
104104 --ansible_crucial If present during reconfiguration, only crucial
105105 ansible playbooks will be executed on the live nodes.
106106 Non live nodes will be removed
107- --remove_unreachable If present, nodes that are not sshable will be removed
108- from the config. They will however not be removed from
109- Slurm to avoid losing track of the down nodes. If you
110- need to remove them from Slurm after terminating the
111- nodes in the console. Run sudo scontrol update
112- nodename=name state=Future
107+ --remove_unreachable If present, nodes that are not sshable will be terminated
108+ before running the action that was requested
109+ (Example Adding a node)
110+ --quiet If present, the script will not prompt for a response when
111+ removing nodes and will not give a reminder to save data
112+ from nodes that are being removed
113113```
114114
115115** Add nodes**
@@ -161,6 +161,13 @@ Remove 3 nodes randomly from compute-1-hpc:
161161```
162162/opt/oci-hpc/bin/resize.sh remove 3 --cluster_name compute-1-hpc
163163
164+ ```
165+ or
166+ Remove 3 nodes randomly from compute-1-hpc but do not prompt for a response when removing the nodes and do not give a reminder to save data
167+ from nodes that are being removed :
168+ ```
169+ /opt/oci-hpc/bin/resize.sh remove 3 --cluster_name compute-1-hpc --quiet
170+
164171```
165172
166173** Reconfigure nodes**
@@ -208,6 +215,10 @@ Uncomment the line in `crontab -e`:
208215```
209216* * * * * /opt/oci-hpc/autoscaling/crontab/autoscale_slurm.sh >> /opt/oci-hpc/logs/crontab_slurm.log 2>&1
210217```
218+ And in /etc/ansible/hosts, below value should be true
219+ ```
220+ autoscaling = true
221+ ```
211222
212223# Submit
213224How to submit jobs:
0 commit comments