Data Backup and Recovery
Data Backup and Recovery
I am currently unable to establish a connection with the NetApp storage system. I am using the Net App Manageability SDK and am attempting to connect to the NetApp API. I am new to NetApp API, so any suggestions or help is appreciated!
ERROR:
com.netapp.nmsdk.client.ApiProtocolException: Connection error to Storage System
Protocol protocol = Protocol.HTTPS;
try {
System.out.println("url is .." + url);
ApiRunner apirunner = new ApiRunner(ApiTarget.builder()
.withHost(url)
.withUserName(REMOTE_USERNAME)
.withPassword(REMOTE_PASSWORD)
.withTargetType(TargetType.FILER)
.useProtocol(protocol)
.build()
);
Which cluster LIF are you connecting to ?
Also, is there a firewall blocking the communication to port 443/https ?
I can confirm there is no firewall blockage. What is an example of a cluster LIF?
Which IP on the Storage System are you connecting to ?
If you know the IP, then you can run this command to identify the LIF type.
::> network interface show -address xx.xx.xx.xx -fields service-policy