ONTAP Discussions

C mode file transfer via WinScp

Bhuvadrakesh
4,642 Views

Hello Friends,

 

Is there any settings to do Ontap C mode to transfer files via WinScp tool.

 

Kindly Help me to resolve this issue.

 

 

Regards

Rakesh Bhuvad

 

1 ACCEPTED SOLUTION

hmoubara
4,615 Views

Hello @Bhuvadrakesh 

 

The kb article below provide this information but you will need to reach out to NetApp Technical Support due to the level of CLI permission required for this task. You can reference the below KB when reaching out:

 

https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/How_to_copy_SP_or_BMC_firmware_to_controller_via_SCP_from_Windows

 

Thanks,

 

View solution in original post

2 REPLIES 2

hmoubara
4,616 Views

Hello @Bhuvadrakesh 

 

The kb article below provide this information but you will need to reach out to NetApp Technical Support due to the level of CLI permission required for this task. You can reference the below KB when reaching out:

 

https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/How_to_copy_SP_or_BMC_firmware_to_controller_via_SCP_from_Windows

 

Thanks,

 

Bhuvadrakesh
4,545 Views

Hello hmoubara,

 

Thanks for reply i got one solutions for this issue.

For clusters with no access to a webserver, but that do have access to a scp program like winscp:


Prior to this make sure that the diag user is unlocked and a password is set:

clustername::*> security login show -username diag

Vserver: vserver1
Second
User/Group Authentication Acct Authentication
Name Application Method Role Name Locked Method
-------------- ----------- ------------- ---------------- ------ --------------
diag console password admin no none

clustername::> security login password -username diag

Enter a new password:
Enter it again:


Login to each node's mgt IP.
Set diag
Drop to systemshell:
clustername::*> systemshell local
(system node systemshell)
diag@127.0.0.1's password:

clustername-02% sudo kenv bootarg.login.allowdiag=true <-- hit enter
bootarg.login.allowdiag="true" <-- returns this

You can do this from the original cluster mode IP, but the other node will need to be from the opposite nodes mgt IP because the software location is node specific.

Using WinScp, login to the node mgt IP using SCP, port 22, user diag, diag password.

Navigate to /mroot/etc/software/
Copy over SP_FW.zip (rename what you downloaded--or whatever software)

clustername-02% sudo kenv bootarg.login.allowdiag=false
bootarg.login.allowdiag="false"

Disconnect from WinScp

Public