Manually Uploading the Rubrik Plugin
This is an optional step if you are unable to use VMware Lifecycle Management Plugin
Last updated
Was this helpful?
This is an optional step if you are unable to use VMware Lifecycle Management Plugin
Last updated
Was this helpful?
The Rubrik Plugin can be uploaded directly the the vCloud Director API using a Python script provided by VMware.
Download the latest version of the Rubrik plugin, this will be named rubrik_vcd_ext_v1.x.x.zip
and be found in the release pages:
Extract the zip and edit the file ui_ext_api.ini
and populate with the vCD connecting details:
Save the file.
Now we can use the python script ui_ext_api.py
to upload the plugin:
This should upload the plugin to the vCD cell configured in the ini file we previously set.
The Rubrik Plugin can be uploaded directly the the vCloud Director API, below is a script to perform these steps:
You will need to replace the following values:
VCDHOST
- this needs to be in the format VCDHOST="VCD-DNS-ADDRESS"
AUTH
- this needs to be in the format AUTH="MyProviderUsername@System:MyPass"
This script is designed to check for previous versions of the Rubrik Plugin, remove it if it exists and then upload the new script which is contained in plugin.zip. This will still require you to share the plugin to tenants however as this will only be available to the Provider after upload.
RHEL/CentOS Script:
Downloading this package will contain the following files:
bundle.js
i18n.json
src/public/manifest.json
assets
plugin.zip
Extract the package of the package downloaded in the previous step, and edit the file so we can add the VCDHOST
and AUTH
value as mentioned earlier; this can be done by the following commands:
You will now be in the vi console, press i
to enter --INSERT--
mode; Copy and Paste the above script and then navigate to the lines for VCDHOST
and AUTH
and update the values to be for your vCloud Director Cell.
Once updated, press esc
to leave --INSERT--
mode and the press :
followed by wq!
and press return.
You should now have a saved copy of the script in the directory you are working in. We must then make this executable, do this by using the command below:
Finally, we run the script with ./plugin_upload.sh