Data Backup and Recovery

Connection Refused

RFierros
1,630 Views

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()

);

 

4 REPLIES 4

Ontapforrum
1,612 Views

Which cluster LIF are you connecting to ?


Also, is there a firewall blocking the communication to port 443/https ?

RFierros
1,602 Views

I can confirm there is no firewall blockage. What is an example of a cluster LIF? 

Ontapforrum
1,599 Views

Which IP on the Storage System are you connecting to ?

Ontapforrum
1,598 Views

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

Public