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:

  1. On the management node, as an administrator user, run the command icic-config storage cross-az-attach --disable to set the cross_az_attach as False. Or run the command icic-config storage cross-az-attach --enable to set the cross_az_attach as True.

  2. On the management node, as an administrator user, run the command icic-services nova restart, icic-services cinder restart and icic-services remote restart --node all to make the change take effect. Note: the command icic-services remote restart --node all restarts all the services on all the compute nodes.

  3. If the IBM® Cloud Infrastructure Center user interface is used, a re-login is required to take effect.