iscsi range question
neiltorda
98 Posts
December 23, 2020, 3:04 pmQuote from neiltorda on December 23, 2020, 3:04 pmWe have used all the IP's we had configured in our automatic iscsi range (our iscsi network already had devices from the past 10 years in it when we decided to add in petasan)
Is there a way to assign IP's in petasan that are non-contiguous?
for example, I have given 10 ip's currently 10.20.50.20 - 10.20.50.29 (on a /24 network)… but IPs on either side of that are already in use by other systems.
Is there a way to assign non-contiguous IP's to the dynamic range that is available for use? so like in my example, i want those IP's I am using, but i also want to be able to use 10.20.50.103-107 and 10.20.50.190-210
Neil
We have used all the IP's we had configured in our automatic iscsi range (our iscsi network already had devices from the past 10 years in it when we decided to add in petasan)
Is there a way to assign IP's in petasan that are non-contiguous?
for example, I have given 10 ip's currently 10.20.50.20 - 10.20.50.29 (on a /24 network)… but IPs on either side of that are already in use by other systems.
Is there a way to assign non-contiguous IP's to the dynamic range that is available for use? so like in my example, i want those IP's I am using, but i also want to be able to use 10.20.50.103-107 and 10.20.50.190-210
Neil
admin
2,930 Posts
December 23, 2020, 7:13 pmQuote from admin on December 23, 2020, 7:13 pmThe range of valid dynamic (floating/highly available) ips are determined by the iSCSI 1/2 subnets and their mask, you could assign any valid ip to the disks.
The "contiguous" To/From range is the range used by the "Auto" assignment function but you could manually assign any "non-contiguous" ips yourself as long as they are within the subnet. The Auto To/From feature is much like the DHCP To/From range.
You could also directly manipulate the IPs outside the ui by writing directly to rbd image metadata through the scripts
/opt/petasan/scripts/util/disk_meta.py read --image image-00001 --pool rbd > metadata
/opt/petasan/scripts/util/disk_meta.py write --image image-00001 --pool rbd --file metadata
The range of valid dynamic (floating/highly available) ips are determined by the iSCSI 1/2 subnets and their mask, you could assign any valid ip to the disks.
The "contiguous" To/From range is the range used by the "Auto" assignment function but you could manually assign any "non-contiguous" ips yourself as long as they are within the subnet. The Auto To/From feature is much like the DHCP To/From range.
You could also directly manipulate the IPs outside the ui by writing directly to rbd image metadata through the scripts
/opt/petasan/scripts/util/disk_meta.py read --image image-00001 --pool rbd > metadata
/opt/petasan/scripts/util/disk_meta.py write --image image-00001 --pool rbd --file metadata
Last edited on December 23, 2020, 7:22 pm by admin · #2
iscsi range question
neiltorda
98 Posts
Quote from neiltorda on December 23, 2020, 3:04 pmWe have used all the IP's we had configured in our automatic iscsi range (our iscsi network already had devices from the past 10 years in it when we decided to add in petasan)
Is there a way to assign IP's in petasan that are non-contiguous?
for example, I have given 10 ip's currently 10.20.50.20 - 10.20.50.29 (on a /24 network)… but IPs on either side of that are already in use by other systems.
Is there a way to assign non-contiguous IP's to the dynamic range that is available for use? so like in my example, i want those IP's I am using, but i also want to be able to use 10.20.50.103-107 and 10.20.50.190-210
Neil
We have used all the IP's we had configured in our automatic iscsi range (our iscsi network already had devices from the past 10 years in it when we decided to add in petasan)
Is there a way to assign IP's in petasan that are non-contiguous?
for example, I have given 10 ip's currently 10.20.50.20 - 10.20.50.29 (on a /24 network)… but IPs on either side of that are already in use by other systems.
Is there a way to assign non-contiguous IP's to the dynamic range that is available for use? so like in my example, i want those IP's I am using, but i also want to be able to use 10.20.50.103-107 and 10.20.50.190-210
Neil
admin
2,930 Posts
Quote from admin on December 23, 2020, 7:13 pmThe range of valid dynamic (floating/highly available) ips are determined by the iSCSI 1/2 subnets and their mask, you could assign any valid ip to the disks.
The "contiguous" To/From range is the range used by the "Auto" assignment function but you could manually assign any "non-contiguous" ips yourself as long as they are within the subnet. The Auto To/From feature is much like the DHCP To/From range.
You could also directly manipulate the IPs outside the ui by writing directly to rbd image metadata through the scripts
/opt/petasan/scripts/util/disk_meta.py read --image image-00001 --pool rbd > metadata
/opt/petasan/scripts/util/disk_meta.py write --image image-00001 --pool rbd --file metadata
The range of valid dynamic (floating/highly available) ips are determined by the iSCSI 1/2 subnets and their mask, you could assign any valid ip to the disks.
The "contiguous" To/From range is the range used by the "Auto" assignment function but you could manually assign any "non-contiguous" ips yourself as long as they are within the subnet. The Auto To/From feature is much like the DHCP To/From range.
You could also directly manipulate the IPs outside the ui by writing directly to rbd image metadata through the scripts
/opt/petasan/scripts/util/disk_meta.py read --image image-00001 --pool rbd > metadata
/opt/petasan/scripts/util/disk_meta.py write --image image-00001 --pool rbd --file metadata