Starting iSCSI disk over SSH
jbills
1 Post
September 18, 2023, 2:48 pmQuote from jbills on September 18, 2023, 2:48 pmWe've been having trouble with power outages lately so manually starting the iSCSI disks to bring our network up is an uncomfortably frequent occurrence. While we work on fixing those power issues I wanted to write a script that can immediately start the iSCSI disks and bring up our VM network. We have a lot of security measures in place that causes this process to take ~30 minutes manually, so having to start it manually is inconvenient.
Cutting to the chase, is there any way to start iSCSI disks over SSH? I couldn't see any relevant commands under ceph -h.
Thanks,
JB
We've been having trouble with power outages lately so manually starting the iSCSI disks to bring our network up is an uncomfortably frequent occurrence. While we work on fixing those power issues I wanted to write a script that can immediately start the iSCSI disks and bring up our VM network. We have a lot of security measures in place that causes this process to take ~30 minutes manually, so having to start it manually is inconvenient.
Cutting to the chase, is there any way to start iSCSI disks over SSH? I couldn't see any relevant commands under ceph -h.
Thanks,
JB
admin
2,930 Posts
September 19, 2023, 7:54 pmQuote from admin on September 19, 2023, 7:54 pmYou can use
/opt/petasan/scripts/util/start_all_disks.py --rep_targets=false
You need to make sure consul cluster is up since it is the cluster resource management system. You can check it is up
consul members
Or you can also wait 1 min after the nodes power up
You can use
/opt/petasan/scripts/util/start_all_disks.py --rep_targets=false
You need to make sure consul cluster is up since it is the cluster resource management system. You can check it is up
consul members
Or you can also wait 1 min after the nodes power up
Last edited on September 19, 2023, 7:55 pm by admin · #2
Starting iSCSI disk over SSH
jbills
1 Post
Quote from jbills on September 18, 2023, 2:48 pmWe've been having trouble with power outages lately so manually starting the iSCSI disks to bring our network up is an uncomfortably frequent occurrence. While we work on fixing those power issues I wanted to write a script that can immediately start the iSCSI disks and bring up our VM network. We have a lot of security measures in place that causes this process to take ~30 minutes manually, so having to start it manually is inconvenient.
Cutting to the chase, is there any way to start iSCSI disks over SSH? I couldn't see any relevant commands under ceph -h.
Thanks,
JB
We've been having trouble with power outages lately so manually starting the iSCSI disks to bring our network up is an uncomfortably frequent occurrence. While we work on fixing those power issues I wanted to write a script that can immediately start the iSCSI disks and bring up our VM network. We have a lot of security measures in place that causes this process to take ~30 minutes manually, so having to start it manually is inconvenient.
Cutting to the chase, is there any way to start iSCSI disks over SSH? I couldn't see any relevant commands under ceph -h.
Thanks,
JB
admin
2,930 Posts
Quote from admin on September 19, 2023, 7:54 pmYou can use
/opt/petasan/scripts/util/start_all_disks.py --rep_targets=false
You need to make sure consul cluster is up since it is the cluster resource management system. You can check it is up
consul members
Or you can also wait 1 min after the nodes power up
You can use
/opt/petasan/scripts/util/start_all_disks.py --rep_targets=false
You need to make sure consul cluster is up since it is the cluster resource management system. You can check it is up
consul members
Or you can also wait 1 min after the nodes power up