HPE Morpheus VM Essentials
1832275 Members
1757 Online
110041 Solutions
New Discussion

Tools - Archives

 
SOLVED
Go to solution
dya
Frequent Advisor

Tools - Archives

Can [Tools] - [Archive] be used with HPE Morpheus VM Essentials, or is it only available with Enterprise?

1 REPLY 1
Arnout_Verbeken
HPE Pro
Solution

Re: Tools - Archives

You can use it also in HPE Morphues VM Essentials.

  • Create an archive and use an existing bucket (e.g an NFS or CIFS share).  Bucket can be the same as e.g. your Virtual Image Share.
  • You can make this Archive public (no authentication required).
  • Add some files to the Archive
  • Click on the uploaded file.  You will see the private and public (if enabled) URL for the file.
    • Click on scripts and find some sample code you can use in your own scripts to access/download the files to files to your VM's.
    • You can use those sample scripts in "Library - Automation".  E.g. I have a script that automatic installs mprime to run some perf tests.  mprime binary is located in the Archive and the script will download the binary and extract (and/or run the binary or whatever you want)
    • Here is a little example (lab-code, not cleaned up :D)
file_url="<%= archives.link('Apps Archive', 'p95v3019b20.linux64.tar.gz', 1200) %>"
wget $file_url -O "./p95v3019b20.linux64.tar.gz" --no-check-certificate
mkdir /tmp/mprime
mv p95v3019b20.linux64.tar.gz /tmp/mprime
cd /tmp/mprime
tar -zxvf p95v3019b20.linux64.tar.gz​

Once you have an automation, you can use this automation during deployment of a new VM.  In this example, prime will be automatically installed in the VM after deployment.

You can also run the automation on already provisioned VM's via Actions - Run Task in the Instance.
Or you can run the automation on multiple VM's at once via the Execute button in the Automation/Task itself.

Since this is all about automation, you can also checkout morpheus-cli to further script the execution of an automation to multiple VM's.

Official documentation on https://support.hpe.com/hpesc/public/docDisplay?docId=sd00006560en_us&page=GUID-3AC9CEB6-F60C-46FA-83E1-769F4A989C10.html



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo