Data Backup and Recovery

Connection Refused

RFierros
1,621 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,603 Views

Which cluster LIF are you connecting to ?


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

RFierros
1,593 Views

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

Ontapforrum
1,590 Views

Which IP on the Storage System are you connecting to ?

Ontapforrum
1,589 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