Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Pre-shared key management

This section shall cover covers when and how the pre-shared key is generated by management server, how is it stored, how is it passed to SSVM

...

When the management server receives getUploadParams api call, it selects SSVM and secondary store in the zone requested by the user and returns a POST url to that SSVM. There can be multiple SSVMs in the same zone. Management servers decides which SSVM to handle this based on the load.

SSVM agent will keep track of the uploads and returns the status to the management serverassigned to it. If the template/volume is selected to be cross-zone, it will uploaded to one zone and then copied to other zones from it (already existing functionality). 

management Management server owns the lifecycle of the volume/template (initially gets created with upload state as "NOT_UPLOADED"). It polls the SSVM agent (using DownloadProgressCommand of the agentan already existing agent command) to get the status and updates ittriggers appropriate state transition. Failure at any point during the form upload to ssvm apache would return error to the user and UPLOAD_ERROR when the management server pings for download status.

...