Forums

Home / Forums

You need to log in to create posts and topics. Login · Register

Starting iSCSI disk over SSH

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

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