While I was preparing myself for linux training I've decided to connect TD3 over iscsi to SIFT 3.0 workstation as example. It takes about few minutes and some man page reading. Easy and simple and works.
Sans SIFT 3.0 workstation is Ubuntu based and open-iscsi package is not installed, so first thing to do is to install package. On Ubuntu wiki there is enough technical details.
> sudo apt‐get install open‐iscsi
That will add and configure iscsi subsystem on Sift, on TD3 iscsi should be enabled and restarted few times to get it running. It's common situation with TD3 and iscsi connection. Don't forget to take IP address of td3.
To do dummy check it is good idea to ping TD3 and see if we can reach it
>ping TD3IP
On Sift iscsi discovery will show if we can reach isici targets
>sudo iscsiadm ‐m discovery ‐t st ‐p TD3IP
1. -m: determines the mode that iscsiadm executes in.
2. -t: specifies the type of discovery.
3. -p: option indicates the target IP address, in our case TD3
After that we can login into TD3 and access sicis target
> sudo iscsiadm ‐m node ‐‐login
If all is ok, message about success will be display and new disk is visible
dmesg command should who it also
>dmesg | grep sd
so we will have new local disk on Sift, ready for use, already read only exported from TD3
any standard command should work, even mount
if we need to remove disk and its file systems we have tpo do umount first and than disconnect the disk session.
>sudo iscsiadm ‐m node ‐u
Sans SIFT 3.0 workstation is Ubuntu based and open-iscsi package is not installed, so first thing to do is to install package. On Ubuntu wiki there is enough technical details.
> sudo apt‐get install open‐iscsi
That will add and configure iscsi subsystem on Sift, on TD3 iscsi should be enabled and restarted few times to get it running. It's common situation with TD3 and iscsi connection. Don't forget to take IP address of td3.
To do dummy check it is good idea to ping TD3 and see if we can reach it
>ping TD3IP
On Sift iscsi discovery will show if we can reach isici targets
>sudo iscsiadm ‐m discovery ‐t st ‐p TD3IP
1. -m: determines the mode that iscsiadm executes in.
2. -t: specifies the type of discovery.
3. -p: option indicates the target IP address, in our case TD3
After that we can login into TD3 and access sicis target
> sudo iscsiadm ‐m node ‐‐login
If all is ok, message about success will be display and new disk is visible
dmesg command should who it also
>dmesg | grep sd
so we will have new local disk on Sift, ready for use, already read only exported from TD3
any standard command should work, even mount
if we need to remove disk and its file systems we have tpo do umount first and than disconnect the disk session.
>sudo iscsiadm ‐m node ‐u
No comments:
Post a Comment