Configure cross_az_attach
setting
By default cross_az_attach
is True
in the IBM® Cloud Infrastructure Center. This allows attaching a volume to a virtual machine that is in a different availablity zone with the specified volume.
If set to False
, this does not allow attaching a volume to a virtual machine that is in a different availablity zone with the specified volume.
To change the settings, follow these steps:
On the management node, as an administrator user, run the command
icic-config storage cross-az-attach --disable
to set thecross_az_attach
asFalse
. Or run the commandicic-config storage cross-az-attach --enable
to set thecross_az_attach
asTrue
.On the management node, as an administrator user, run the command
icic-services nova restart
,icic-services cinder restart
andicic-services remote restart --node all
to make the change take effect. Note: the commandicic-services remote restart --node all
restarts all the services on all the compute nodes.If the IBM® Cloud Infrastructure Center user interface is used, a re-login is required to take effect.