Data Backup and Recovery Discussions
Are there powershell command that i can run on a host to
1. establish an iSCSI session
2. connect the lun
In snapdrive i can run the sdcli command. But i can find the same commands in snapcenter
SnapCenter leverages the same commandlets via the snapdrive PS modules which gets installed as part 'SnapCenter Plug-in for Windows' Installation. Access your windows host and you can use the cmdlets.
i had a look at this one https://library.netapp.com/ecm/ecm_download_file/ECMP1189424 but i don't see powershell commands to establish an iscsi session.
For establishing and terminating iscsi sessions you can use SnapCenter cmdlets "Connect-SdIscsiTarget" and "Disconnect-SdIscsiTarget" respectively.
'New-SdStorage' Provisions dedicated disks, shared disks and clustered shared volumes on a LUN
'Connect-SdStorage' cmd connects a dedicated disk, shared disk, or a clustered shared volume based on a LUN.