[ceph-users] Rename iscsi target_iqn
frank.brendel at eurolog.com
Mon Nov 20 00:30:23 PST 2017
Am 17.11.2017 um 14:09 schrieb Jason Dillaman:
>> how can I rename an iscsi target_iqn?
> That operation is not supported via gwcli.
Is there a special reason for that or is it simply not implemented?
>> And where is the configuration that I made with gwcli stored?
> It's stored in a JSON object within the 'rbd' pool named "gateway.conf".
To start from scratch I made the following steps:
1. Stop the iSCSI gateway on all nodes 'systemctl stop rbd-target-gw'
2. Remove the iSCSI kernel configuration on all nodes 'targetctl clear'
3. Remove gateway.conf from rbd pool 'rados -p rbd rm gateway.conf'
4. Start the iSCSI gateway on all nodes 'systemctl start rbd-target-api'
Is this the recommended way?
More information about the ceph-users