HI,
I am trying to access VM using vrealize API from my own application but I am redirected to vrealize login page. How can I access VM directly from my application? How can I maintain session for such purpose or if there is any other way to do it.
Regards.
You will always have to authenticate. There's no such thing as a perpetually-open channel. Do you think that would ever be secure?
I do know that but I am unable to redirect user to external web page of the VM with auth token. Is it even possible to do it like this? My application is based on AngularJS and Spring. I want to redirect my user to VM page/URL from my application to view console.
There is no direct accessing of a VM's console from vRA, even with an auth token.
ok.
Is there any other way / Plugin which I can use to access VM from my UI Application before assigning IP to VM?
In my scenario I let user to deploy a simple VM using template. I want that after deployment he can access console of VM and then assign IP to machine.
Is there any way I can redirect user to VM console like that?
The whole point of automation is to get AWAY from your users having to do build tasks like assigning an IP. So why are you trying to do this in the first place?
I understand your answer. But i don't know that how to automate these build tasks.
Can you share with me any reference document/video/tutorial to automate these kind of tasks like assigning IP?
Assigning static IPs through vRA is quite easy and there are tons of blogs that go into it out there. I'm sure a few Google searches will net you the right stuff. Search for "network profiles" and that'll put you on the right track. Overall process goes something like this:
Thanks for your response.
I have created customized properties and created VM using that VM template & network profile in vRealize.
Now VM is created and network profile is showing that IP is assigned to that machine but in the VM itself no IP is assigned to it.
When I access VM from vCenter, it shows network adapter but it is not connected in settings. Screenshot attached.
That's a logical switch you have there. Is this selected in the reservation? I'd need to see how that reservation and network profile are set up.
Also...why are you using an LSI Parallel storage controller for this VM? That's almost always a bad decision.
Your reservation screenshot isn't showing up. What does your customization spec look like in the networking section?
Hi Afzi148,
If IP is not visible on the linux based VM , we have tried the below KB and its worked on Ubuntu18 in our case. Not sure yours.
Just validate incase.