DSU UCL Presentation 1 Semester / ISCSI Target Server Migration 8 September 2006 By Dominic They Yu Shu
DSU UCL Working phases Study and analysis on ISCSI Initiator code ISCSI Target setup Initiator code modification and connection testing
DSU UCL ISCSI Initiator Code Analysis
DSU UCL Major Mobile application Developed by KT User interface to access remote storage device SCSI Driver Driver for Mobile device to interface with SCSI Disk ISCSI Driver (Initiator) ISCSI Initiator Driver to interface with ISCSI Target
DSU UCL TCP/ IP Netw ork Interoperation Between Application Pocket PC 2003 OS SCSI Driver Initiator Driver Pocket PC SCSI Disks Target Driver HTTP Gateway KT Databases User
DSU UCL Activities Table 1 ActivitiesByFromTo 1 Key in Username and PasswordUserKeyboardaDisk 2Press Login buttonUserTouchScreenaDisk 3Get KT SAIDaDiskRegistryaDisk 4Get InitiatorIDaDisk Registry/ KT Http gatewayaDisk 5Get NasIP (Target IP)aDiskRegistryaDisk 6 Log in by Username, Password, and SAIDaDisk KT Http gateway
DSU UCL Activities Table 2 ActivitiesByFromTo 7Activate ISCSI SessionaDisk 8 ~ Activate ISCSI Device by ISCSI Driver Registry KeyaDisk PPC ~ Get Disk Info by NasIP and InitiatorIDaDisk KT Http gatewayaDisk 10 ~ Write Disk InfoaDisk Registry 11 ~ Activate SCSI Device by SCSI Driver Registry KeyaDisk PPC 2003
DSU UCL Activities Table 3 ActivitiesByFromTo 12Prepare DiskaDisk ISCSI Target 13 ~ FormataDisk ISCSI Target 14 ~ PartitionaDisk ISCSI Target 15 ~ MountaDisk ISCSI Target 16Use the DiskaDisk ISCSI Target 17………
DSU UCL Initiator Modification
DSU UCL Activities Table 1 ActivitiesByFromTo 1 Key in Username and PasswordUserKeyboardaDisk 2Press Login buttonUserTouchScreenaDisk 3Get KT SAIDaDiskRegistryaDisk 4Get InitiatorIDUser aDisk 5Get NasIP (Target IP)User aDisk 6 Log in by Username, Password, and SAIDaDisk KT Http gateway
DSU UCL Activities Table 2 ActivitiesByFromTo 7Activate ISCSI SessionaDisk 8 ~ Activate ISCSI Device by ISCSI Driver Registry KeyaDisk PPC ~ Get Disk Info by NasIP and InitiatorIDaDisk KT Http gatewayaDisk 10 ~ Write Disk InfoaDisk Registry 11 ~ Activate SCSI Device by SCSI Driver Registry KeyaDisk PPC 2003 How to insert driver register key?
DSU UCL Activities Table 3 ActivitiesByFromTo 12Prepare DiskaDisk ISCSI Target 13 ~ FormataDisk ISCSI Target 14 ~ PartitionaDisk ISCSI Target 15 ~ MountaDisk ISCSI Target 16Use the DiskaDisk ISCSI Target 17……… No Changes Required
DSU UCL Problems
DSU UCL Problems Faced Compilation Problems Library path configuration Linking configuration Testing Problems Language Support of Emulator Regedit for Pocket PC 2003
DSU UCL Problem Might Face Initiator – Target communication problem Initiator = aDisk Target = UNH ISCSI Target (1.5/1.6/1.7) DeviceIoControl( hISCSI, ISCSI_IOCTL_LOGIN, (void *)&iSCSILoginParams, sizeof(ISCSI_LOGIN_PARAMS_T), &m_DiskInfo, sizeof(ISCSI_PARAMS_T), NULL, NULL)
DSU UCL Following Tasks
DSU UCL Following Tasks ISCSI Target setup Initiator code modification and connection testing
DSU UCL FAQ
DSU UCL END Thank you