Data Backup and Recovery

SnapCenter Powershell Command iSCSI

NEPLUSULTRA
1,888 Views

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

https://library.netapp.com/ecm/ecm_download_file/ECMLP2874310

 

3 REPLIES 3

mrahul
1,869 Views

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.

NEPLUSULTRA
1,862 Views

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.

mrahul
1,855 Views

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.

 

 

 

 

Public