Start a Conversation

Solved!

Go to Solution

1 Rookie

 • 

15 Posts

2631

July 1st, 2021 11:00

Unity VSA: Initial Wizard via CLI or API

Hi,

I’m not sure if this is the correct email list, but if its not please let me know the correct one. 

I’ve installed Unity VSA via OVA into ESXi and was looking for a way to be able to do the Initial Configuration via command line or API (Bypassing the Web UI Wizard).

Is this possible?

There seems to be a bunch of steps including:

  1. DNS Server
  2. NTP Server
  3. License
  4. Pools
  5. etc.

That I would like to do using the command line or API.

thanks.

glenn.

1 Rookie

 • 

15 Posts

August 16th, 2021 14:00

I finally figured it out.  It turns out that I had to run a Hidden API call that accepts the EULA first.  Once I did this I was able to change the Password for the Admin user and run through the rest of the components from the Initial Config Wizard.

thanks! 

Moderator

 • 

7.5K Posts

July 2nd, 2021 09:00

Hello Glen,

You can use UnityVSA HA Deployment Utility CLI to deploy a system via CLI.  There is a windows and linux version of this tool. Here is a link to both.

Windows

32bit

https://dell.to/3w83qnz

64bit

https://dell.to/2Uk6ZcW

 

Linux

https://dell.to/3h9zWRM

1 Rookie

 • 

15 Posts

July 7th, 2021 06:00

Thanks.  I will give this a try and let you know how it goes.

1 Rookie

 • 

15 Posts

July 7th, 2021 10:00

Sam,

Thanks.  I looked at what you sent and it looks like its the CLI tool itself.  I also looked at the documentation from here: https://dl.dell.com/content/docu69330_unisphere-cli-user-guide.pdf?language=en_us&dgc=SM&cid=338584&lid=spr5090747067&linkId=123050247

And it doesn't seem like there is a single command that replaces the Wizard.  I'm going to try and use the CLI tool to replace the different tasks from the wizard independently.

Thanks for your help.

glenn.

4 Operator

 • 

8.6K Posts

July 26th, 2021 02:00

If you cant use the Wizard you need to do the work it does using uemcli or REST API

1 Rookie

 • 

15 Posts

July 26th, 2021 06:00

Thanks!  I'm going to give the REST API a shot.  Appreciate the help.

1 Rookie

 • 

15 Posts

August 11th, 2021 14:00

Hi,

I'm back.  I finally tried the REST API but it didn't work.

I think there is a chicken and egg situation going on here, but please tell me if I'm wrong.

As I mentioned, I am trying to automate the Complete Install/Configuration of Unity VSA to add to our Pipeline.

So as it turns out, there is a problem using the REST API initially.  In fact, I don't think I could do anything with the system until I change the Admin Password through the GUI.

Because of this, I am not able to build my end-to-end automation and was hoping there was some way to get around this.

If not, is this something that can be built into the software in the future?

thanks.

glenn.

Moderator

 • 

9.2K Posts

August 11th, 2021 15:00

The best way to request features changes is through sales. It may be set like this for security reasons on unconfigured devices. 

1 Rookie

 • 

15 Posts

August 12th, 2021 07:00

Thanks.  But I just realized that this is NOT a new feature.

What it seems like I'm looking for is the API for the End User License Agreement Acceptance (EULA). I I can't seem to find this in the API Documentation.

So it seems like this is required prior to doing anything else.

Can someone provide this API call so I can then run the  https://< >/api/instances/user/name:admin/action/modify

It seems like if I have this, I would then be able to change the password and move forward.

thanks!

No Events found!

Top