Quantcast
Channel: VMware Communities : Unanswered Discussions - vRealize Automation Tools
Viewing all 6792 articles
Browse latest View live

vRA 7.3: How to reconfigure CPU/Core/Socket for VM Item?

$
0
0

HI,

 

By default vRA configures number of vCPU as number of sockets. In some cases I need 2 sockets and 4 cores = total of 8 vCPU's (Windows 7 limitation).

 

I use System.getModule("com.vmware.library.vcaccafe.request").requestResourceAction(operation,inputs) action with properties below to reconfigure VM.

 

//Create a properties object for the inputs
vmProperties = new Properties();

// Mandatory inputs:
vmProperties.put("provider-Cafe.Shim.VirtualMachine.Reconfigure.Requestor" , "service@domain.local");
vmProperties.put("provider-Cafe.Shim.VirtualMachine.Reconfigure.Storages" , "[]");
vmProperties.put("provider-Cafe.Shim.VirtualMachine.Reconfigure.Networks" , "[]");
vmProperties.put("provider-Cafe.Shim.VirtualMachine.Reconfigure.ExecutionSelector" , 1);
vmProperties.put("provider-Cafe.Shim.VirtualMachine.Reconfigure.CpuCount" , newCpuCount.toString());
vmProperties.put("provider-Cafe.Shim.VirtualMachine.Reconfigure.PropertyBag" , '[{"PropertyName": "VirtualMachine.Core.Count","PropertyValue": "2"}');

vmProperties.put("provider-Cafe.Shim.VirtualMachine.Reconfigure.MemorySize" , newMemorySizeMb.toString());

 

Core.Count is ignored!

 

How do I solve this issue?

 

Findings:

If I use the “VirtualMachine.Core.Count” custom property on the VM in the blueprint and do a new deployment, the VM will have the number of cores per socket as configured. This works.

If I do a “Reconfigure task” on an VM Item in vRA and set custom property “VirtualMachine.Core.Count” it is ignored.

 

Use case:

                    Windows 7 only supports 2 sockets.

                    Windows server 2008 Enterprise supports only 8 sockets.

 

/Brian


vRA 7.3 - bulk import - bad icons

$
0
0

Hi all, I'm having a hard time with the bulk import tool of vRealize Automation 7.3

 

After I've done all the steps described here:

Import a Virtual Machine to a vRealize Automation Environment

 

Everything seems to be OK but the Virtual Machine icon is wrong. It shows a "generic component" icon instead the vSphere icon:

The first (and second) machine where imported with the CSV file. The last one was deployed using the vRA console. The first and last VM are associated to the same blueprint.

 

Any ideas how to fix this?

Thanks a lot.

Encrypted properties with newlines

$
0
0

I am using an encrypted property to store an SSH key to install using a software component. What is the correct way to store it in a property with the needed linefieeds?

 

Scott

Plug in Infoblox problem

$
0
0

Hi all,

 

i'm new to vRO - vRA, and i have a problem when i try a (custom) workflow that create VM.

That workflow was functional until the last tuesday.

 

The error on vRO:

 

Request completion details: The following component requests failed:

Windows_2012_R2. IPAM Provider Error: {"code":3002,"message":"Error connecting to Infoblox IPAM service because connection to basic endpoint failed and endpoints for failover are not specified. See the root cause from the warnings printed above in this log. (Workflow:Create Endpoint Connection / Read failover info (item17)#8)"} (Dynamic Script Module name : throwIpamError#28)

 

i don't know what to do to resolve this, someone can help me please?

 

Thank in advance.

What is the preferred way to install software?

$
0
0

I have been doing some reading, and am having trouble getting this one question answered.  What is the preferred way to install software?  I am creating a new VM deploy workflow, and am not sure how most people do this.  Perhaps I am just missing something.  Do people usually just use an external script called by part of the workflow, or is there a better way to do it? 

 

I need to install things like SCOM, SCCM, AV, and some standard tools.  Normally I would just use a script, copy the installer local, install, and then clean up.  Is that bad when you are using vRA, and vRO? 

 

Thanks

Automating VM-level Trend Reports by Cluster, Host

$
0
0

Let's assume I have the need to run a set of basic trend reports for all VMs in a given cluster.  I would love to automate this report and distribution.

 

In my hypothetical example, Cluster ABC has eight (8) Hosts and twenty (20) VMs.  I need to run monthly reports and the "customer" wants the "Virtual Machine CPU Diagnose" format.  I'd like to be able to select the Cluster or an individual Host and have the report generate charts on all VMs.  I can do this with List-style reports; but seemingly not with Trend-style reports.

 

Currently, I can either (1) manually generate this on each VM from the "Details tab", after resetting the date range, or (2) I can create a new report for each VM (which unfortunately only displays the standard 24-hour view).  Each view is only a single VM.

 

Given my relative newness to vRealize report generation, I might well be missing the simple answer.  I hope I can learn from you.

populate search field with content of specific Vcenter

$
0
0

Hello everyone,

I 'm still pretty new with VRA/VRO and there is something i can't figure out by myself.

In VRA i have 2 different vcenter endpoints (1 vcenter with virtual desktops for end users and 1 vcenter with our server environment).

How do i limit my XAAS blueprint to show only the end user virtual desktops from the first vcenter ? Screenshot in attachement to make it more clear.

Do i modify my workflow in VRO somehow ?

Would be much appreciated if someone can point me in the right direction.

Best regards.

Wim

Is it recommended to take postgress DB backup seperately -- Backing up vRealise Automation

$
0
0

Is it recommended to take postgress DB backup seperately

Disable queiscing when using Veeam backup ? Why is recommended


Vrlcm 1.1 how to cancle tasks?

$
0
0

Tried to kick off a snapshot, job gets created, but sits forever on in progress. Reboot doesn't fail or clear the job. Vcenter doesn't appear to be contacted at all.

VRealize Orchestrator Appliance 7.3.0 fails to check for updates (404 Not Found)

New PowerCLI Script to remove the VDI VM .

$
0
0

Can someone help to automate below task:

 

I am using linked clone and full clone VDI pool. A VDI is persistently assigned to the user's on first logon. When the user's leave the company the AD user account is disabled or deleted but the desktops are still assigned to this user account.  I would like to run a script once in a week that can find and remove the VM of the user's that don't work in company anymore. I like to do be below:

 

1. Compare the list of AD accounts and the VDI users.

2. Generate list of VDI VM's and user's assigned which can be removed from the VDI pool and the VCenter.

3. Remove the VDI VM permanently

 

So far I am able to generate the list of user names and VDI VM's that can be removed.

But don't know how to remove or unassigned the user from the connection server.

 

Visan

Running vSphere proxy agent (VRMagent.exe) in different datacenter than vCenter it connects to

$
0
0

Due to different active directory domains and other restrictions we are forced to run two servers in datacenter A that hosts the vSphere proxy agent. This agent is then used for an endpoint that is located in datacenter B. Datacenter B is in a different country and have a separate active directory domain.

 

This is working, but from time to time we get the following error:

2018-02-12T03:29:25.587Z SERVER08 vcac: [component="iaas:VRMAgent.exe" priority="Debug" thread="3192"] [sub-thread-Id="37"  context=""  token=""] Starting Ping Report

2018-02-12T03:29:30.462Z SERVER08 vcac: [component="iaas:VRMAgent.exe" priority="Debug" thread="3192"] [sub-thread-Id="37"  context=""  token=""] This exception was caught:

System.Net.WebException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. ---> System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

   at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)

   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

   --- End of inner exception stack trace ---

   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)

   at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)

   at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)

   at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)

   at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size)

   at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)

   at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)

   --- End of inner exception stack trace ---

   at DynamicOps.Vrm.Agent.Core.VRMCoreAgent.SendPingReport()

   at DynamicOps.Vrm.Agent.Core.CoreAgentBase.SendPingReportLoop(Object sender, ElapsedEventArgs e)

INNER EXCEPTION: System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

   at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)

   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

   --- End of inner exception stack trace ---

   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)

   at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)

   at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)

   at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)

   at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size)

   at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)

   at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)

2018-02-12T03:29:30.462Z SERVER08 vcac: [component="iaas:VRMAgent.exe" priority="Error" thread="3192"] [sub-thread-Id="37"  context=""  token=""] <?xml version="1.0" encoding="utf-16"?>

<boolean>false</boolean>

This exception was caught:

System.Net.WebException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. ---> System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

   at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)

   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

   --- End of inner exception stack trace ---

   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)

   at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)

   at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)

   at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)

   at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size)

   at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)

   at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)

   --- End of inner exception stack trace ---

   at DynamicOps.Vrm.Agent.Core.VRMCoreAgent.SendPingReport()

   at DynamicOps.Vrm.Agent.Core.CoreAgentBase.SendPingReportLoop(Object sender, ElapsedEventArgs e)

INNER EXCEPTION: System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

   at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)

   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

   --- End of inner exception stack trace ---

   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)

   at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)

   at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)

   at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)

   at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size)

   at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)

   at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)

 

 

Right now I'm stuck in trying to figure out where the problem is. If it is the remote vCSA, or if it is the VPN/Firewall/Loadbalancer, or if it is just the fact that VRMagent is running to far from the endpoint it connects to.

 

Any ideas?

VRA new/next version?

$
0
0

Hey Everyone,

 

vRA 7.3.x/7.4/7.5/8.0? long overdue

Any ideas on upcoming releases? any timeframes (anything unconfirmed?)

 

if I were a betting man, the list of new/updated features include:

- K8s integration (PKS?)

- html5 for the whole UI (not only container)

- additional options and layout for XaaS forms? (HTML5 for end user also?)

How to get to Deployment ID from Request ID with CloudClient?

$
0
0

I'm trying to do some basic automation by using the CloudClient.  I've pretty much resolved this issue using a Python wrapper around the REST interface, but I'd rather not support that path if I can do the same with the supported tooling.

 

I'm able to login, fetch a request template, and submit the request.  I obviously can retrieve the request ID.  But I get pretty solidly stuck here, not knowing how to get the associated deployment ID.  From what I can tell, the request information never has the deployment info.  Is there a simply query to get the deployed details via the request ID, or other ID in the request details?

 

TIA.

Is there a way we can have a webpage being embedded to VRA resource action form?

$
0
0

I am trying to show a web portal in VRA screen so that the user can make some selections there before submitting the request.

Do we have iframes support?


Any way to populate the Tree input field dynamically based on the other input selected by user?

$
0
0

I have a requirement to show the virtual machine files to the user in form of tree structure.

I could see we have a way to use External values in form of actions to populate the tree but I have question on the below,

 

1. What Entity Type do we map if the input field is tree type? Is there a mapping list that I can use?

2. The external value had no option to use the other input field value selected, in this case I need to have the VM to show the files to user.

Automating Replication configuration for VM

$
0
0

Hi Friends,

 

I am currently working on an automation design .We are using the below software versions ,

 

1.vRA - 7.3

2.vRO - 7.3

3.vSphere Replication - 6.5

4. SRM - 6.5.1

 

We got the VM provisioning automated. Additionally we got a requirement to automate the configuration VMs with vRep and SRM also so that there is no manual intervention is required. Please could some one suggest whether there is a plugin available for this task ? If yes , details pls.

updating _deploymentName

$
0
0

Hi,  i am not able to update _deploymentName property at deployment level. at EBS i am triggering event on 'VMPSMasterWorkflow32.Requested - PRE' to rename components. But at what event i can update _deploymentName property.   Thanks S

software components_blueprint_vRA

$
0
0

Hi all,

 

we are in process of devoloping blueprint and for which we need to install some agents on windows machine blueprint.

for installtion of agents and addtional software we are using additional server and giving the path of that server using custom properties tab in blueprint.

can the above process be  avoided by importing additional software components using cloud client and dragged it to blueprint.

 

 

Thanks in advance.

vRealize Orchestrator REST API Hangs after a few delete commands

$
0
0

So I was working on a script to poll the VRO API for workflows, which would essentially track these until completion, and archive them to a database.  The logic is basically:

 

 

1. Look at vRO and get a listing of executions for a given workflow, and get the details (execution Id, parameters, completion time, completion status, last step, etc.)
2. Check the database table where I am storing these to see if this execution Id has been logged
3a. If the execution Id is already logged, update the entry.
3b. If the execution Id is not already logged, insert the new entry.

4. Check the status of the execution - if it is in a completed state of some form (failed, completed), delete that entry from VRO..

 

The script worked great for logging - and it worked perfectly fine right until the point that I started deleting workflows.

 

I am basically running:

 

DELETE https://{vro_server}:8281/vco/api/workflows/{workflow_id}/executions/{execution_id}/

 

I am running this using Invoke-RestMethod in Powershell.  I also noticed that in the relations.link property of the return JSON when retrieving a execution, there are some other verbs available:

 

https://{vro_server}:8281/vco/api/workflows/{workflow_id}/executions/{execution_id}/logs/

https://{vro_server}:8281/vco/api/workflows/{workflow_id}/executions/{execution_id}/remove/

https://{vro_server}:8281/vco/api/workflows/{workflow_id}/executions/{execution_id}/state/

 

I had tried playing with the /remove/ resource, but I tried GET, PUT, PUSH, and DELETE, and it threw a 404 on each.  So it's entirely possible I'm going about this the wrong way, and if so, feel free to stop me here.


So, first I tested the DELETE verb against the execution.  This worked on my test execution.  So I added the logic into the script, added a long sleep, turned on verbose output, and kicked it off and watched.  There was 2 successful deletes right at the beginning.  It moved to the third, and I noticed it took longer.  Eventually I got an error indicating that the operation timed out.  It failed on the 4th as well.  I killed the script, and after making a couple modifications, I kicked it off again.  This time, even getting my listing of executions failed with a time-out issue.  It then moved on to my next VRO appliance (I have 4, because they only support 5 vcenter SDK connections each), it successfully pulled in all my executions, and then just like the first appliance, there was 1 success, then failure.  Then, a second failure. Then a success. Another failure, another success.  And then it moved to all failures.  Now if I try hitting the REST API for either of these appliances, it fails.

 

What gives?  Did I do something wrong?  How do I start this sucker back up?

Viewing all 6792 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>