VMware Cloud Community
evil242
Enthusiast
Enthusiast
Jump to solution

Custom Hostnames from DailyHyperviser

I have vRA 7.1 and vRO 7.1

I installed the Custom Hostnaming package for vRA7 from https://dailyhypervisor.com/vrealize-automation-custom-hostnaming-extension/

But the problem is, it installed the special VMPSMasterWorkflow32.Requested under the default tenant which doesn't appear to be available to the subtenant.  Even lower in the comments, someone stated:

Thanks for updating this to work with 7! I did notice a small item regarding multi-tenancy. It looks like you can only run the install for a single tenant. When I deployed this I deployed it to the default tenant which worked great, but when I ran the install workflow for a subtenant the workflow skipped creating the EBS. Once I deleted the EBS from the default tenant and then ran the install again against the subtenant it correctly created the EBS for the subtenant. I haven’t dug into it yet but I suspect it might be something to do with the switch script in the workflow. Thanks again for all of your hard work!

But the question is, how do you delete the "EBS" from the default tenant, and run the install against the subtenant?

Thanks in advance

Damion Terrell  .   +  (He/Him)  +  . *  .  +   @   + .    *  .    +      .                    
Core IT Service Specialist * . + * . + . + . + * +
UNM – IT Platforms – VIS + . . . . . . . . .
. + . + * . + * .
* . . + . . . . + . + * + .
“You learn the job of the person above you, * + . + * @
and you teach your job to the person below you..” . * +
0 Kudos
1 Solution

Accepted Solutions
evil242
Enthusiast
Enthusiast
Jump to solution

Never mind, the property names changed between versions

Pervious was

- Custom.Common.ComponentMachine.HostnameString

- Custom.Common.SetCustomHostname.Execute

In version for vRA7 is

- Custom.ComponentMachine.HostnameScheme

- Custom.SetCustomHostname.Execute

The steps I mentioned previous, by deleting from default tenant through Administration > Events > Subscriptions and then adding additional VRA Host and VRA IaaS Host based on tenant, then running the install workflow against those specific tenant based components worked.

Damion Terrell  .   +  (He/Him)  +  . *  .  +   @   + .    *  .    +      .                    
Core IT Service Specialist * . + * . + . + . + * +
UNM – IT Platforms – VIS + . . . . . . . . .
. + . + * . + * .
* . . + . . . . + . + * + .
“You learn the job of the person above you, * + . + * @
and you teach your job to the person below you..” . * +

View solution in original post

0 Kudos
2 Replies
evil242
Enthusiast
Enthusiast
Jump to solution

Ok, so I found a little more, that it can be deleted under

Administration > Events > Subscriptions

And then through vRO workflows, "Add a vRA host", I can add additional hosts based on tenant.  I then ran the dailyhypervisor install against the desired tenant. 

But it still does not seem to pick up the "Event" workflow for requested in order to set the custom hostname schema. 

Any thoughts, or experience? 

Damion Terrell  .   +  (He/Him)  +  . *  .  +   @   + .    *  .    +      .                    
Core IT Service Specialist * . + * . + . + . + * +
UNM – IT Platforms – VIS + . . . . . . . . .
. + . + * . + * .
* . . + . . . . + . + * + .
“You learn the job of the person above you, * + . + * @
and you teach your job to the person below you..” . * +
0 Kudos
evil242
Enthusiast
Enthusiast
Jump to solution

Never mind, the property names changed between versions

Pervious was

- Custom.Common.ComponentMachine.HostnameString

- Custom.Common.SetCustomHostname.Execute

In version for vRA7 is

- Custom.ComponentMachine.HostnameScheme

- Custom.SetCustomHostname.Execute

The steps I mentioned previous, by deleting from default tenant through Administration > Events > Subscriptions and then adding additional VRA Host and VRA IaaS Host based on tenant, then running the install workflow against those specific tenant based components worked.

Damion Terrell  .   +  (He/Him)  +  . *  .  +   @   + .    *  .    +      .                    
Core IT Service Specialist * . + * . + . + . + * +
UNM – IT Platforms – VIS + . . . . . . . . .
. + . + * . + * .
* . . + . . . . + . + * + .
“You learn the job of the person above you, * + . + * @
and you teach your job to the person below you..” . * +
0 Kudos