EF & E-Series, SANtricity, and Related Plug-ins

Upgrade E-Series systems via API

PabloZorzoli
3,563 Views

Hi There,

 

I'm trying to come up with some scripts to upgrade E-Series systems that run embedded API sericices, (e2860, ef570)

 

Going thourgh swagger docs, found endpoints for /upgrade/download and /upgrade/reload, but still not sure about the proper way of doing it.

Is it expected that you upload the RCB_11.40_xxxx.dlp file via the first call, and then use the second one to tirgger the update procedure?

 

Any pointers to doc, or code samples are appreciated.

 

It would definitely be agood addition to https://github.com/NetApp/webservices-samples

 

Thanks!

 

Pablo

1 ACCEPTED SOLUTION

Michael_Price
3,368 Views

Hey Pablo,

 

Just wanted to let you know that I have added an example script to the Web Services Samples out on GitHub.

 

https://github.com/NetApp/webservices-samples/commit/012315abeca27c5018c068386bb3f32ef04f2f4e

 

This is a simple example, but it does 3 things:

 

1. Runs the same health check that we run when intiating an upgrade operation from the GUI interface[s].

2. Takes a firmware file from the user's local filesystem and uploads it, telling the controller[s] to activate it immediately.

3. Waits for the controllers to reboot and become active again.

 

I can elaborate on any portions that are unclear, and this may be the subject of a future article out on The Pub. I know you aren't the only one interested in how to do this, and I think a more general explanation would be helpful.

 

Thanks,

 

Michael

 

 

View solution in original post

2 REPLIES 2

Michael_Price
3,488 Views

Hey Pablo,

 

I know I already responded on ThePub (https://netapppub.slack.com), but just so others can see the response here....

 

I know that we have a few samples in this area, give me a few days to clean them up and I can see about getting something up there with the other samples on GitHub. If possible, I'll see about getting a more general write-up for the blog area finished.

 

Thanks,

 

Michael

Michael_Price
3,369 Views

Hey Pablo,

 

Just wanted to let you know that I have added an example script to the Web Services Samples out on GitHub.

 

https://github.com/NetApp/webservices-samples/commit/012315abeca27c5018c068386bb3f32ef04f2f4e

 

This is a simple example, but it does 3 things:

 

1. Runs the same health check that we run when intiating an upgrade operation from the GUI interface[s].

2. Takes a firmware file from the user's local filesystem and uploads it, telling the controller[s] to activate it immediately.

3. Waits for the controllers to reboot and become active again.

 

I can elaborate on any portions that are unclear, and this may be the subject of a future article out on The Pub. I know you aren't the only one interested in how to do this, and I think a more general explanation would be helpful.

 

Thanks,

 

Michael

 

 

Public