Quantcast
Channel: VMware Communities : All Content - vRealize Orchestrator
Viewing all 10285 articles
Browse latest View live

Strange Orchestrator client behaviour

$
0
0

Hi,

Starting earlier today my Orchestrator client started not working. When I log in with my user name it goes through all the loading as always but when the screen finally opens it is just white and the j2launcher.exe process keeps running at 100% of CPU.  This seems to have followed trying to create a new folder under "My Workflows" folder.

 

I am launching the client through a browser, and I tried clearing the browser cache. Also, there is no load on the server after the initial connection. Nothing obvious in the logs either.  The server is version 7.1.0.

 

Another interesting thing is that I can log in as another user, but I cannot see the workflows folder with all the workflows from my broken user, which is the account I use for most of the workflow creation and editing.  When I log in as another user it behaves ok until I try to access the workflows from the broken user, at which point it hangs in the same manner (client unresponsive and using high CPU).

 

The scheduled tasks which are all running under and from the workflows folder of the broken user are still running since I can see an external database getting the new entries from the periodic workflows.

 

I tried restarting VCO from the "Control Center" and even rebooting the vCO appliance but without any effect.

 

Any pointers as to what the issue might be would be greatly appreciated.

 

Cheers,

Milos


How to add local linux user to vRO?

$
0
0

Hello,
I have a requirement to create a user, with SSH access, that will be used for vulnerability scanning.  I've added a user and set a password (commands below) but unable to login via SSH.  I've done a lot searching and sshd_config, PAM, etc and coming up blank.

 

useradd -c "Vulnerability Scan account" -s /bin/bash -u NNN -md /home/<user_account_name> <user_account_name>

passwd <user_account_name>

 

What are the steps for creating a user with SSH access?

 

Thank you

Problem when logging in vR Orchestrator Client...

$
0
0

Hi all,

 

     I am new to the enterprise VMware products, and I am having a problem when logging in vRealize Orchestrator Client...

 

     When I try to login, the progress just stops at "Loading Policy Editor". This is true for both online Java-based client and Windows client.

 

     And, I have discovered that the following strings keeps on appearing for each 5 minutes in the Windows client log. Does it matter?

 

     DEBUG [CertTrackerMain] The default trust manager failed to verify the certificate's chain.

 

     Thanks!

 

Tim

REST operation with ssl certificate

$
0
0

Hi All,

Im' currently working with vRO with some SOAP and REST operation and everything work fine. However for other communication I need to work with a SSL certificate, for which I have created in Plugins -> HTT-REST a new Host with the URL of the server, and a new operation. When I invoke  the new operation I get a handshake error:

 

[2018-02-27 12:05:11.333] [I] Request URL: https://47.73.90.53:10762/UpdateStatusForProductInstantiation
[2018-02-27 12:05:11.432] [E] Workfow execution stack:
***
item: 'Invoke a REST operation/item2', state: 'failed', business state: 'null', exception: 'Cannot execute request: ; Received fatal alert: handshake_failure (Workflow:Invoke a REST operation / REST call (item0)#6)'
workflow: 'Invoke a REST operation' (A18080808080808080808080808080808080808001299080088268176866967b3) 
|  'attribute': name=errorCode type=string value=Cannot execute request: ; Received fatal alert: handshake_failure (Workflow:Invoke a REST operation / REST call (item0)#6)

[2018-02-27 12:05:11.333] [I] Request URL: https://47.73.90.53:10762/UpdateStatusForProductInstantiation
[2018-02-27 12:05:11.432] [E] Workfow execution stack:
***
item: 'Invoke a REST operation/item2', state: 'failed', business state: 'null', exception: 'Cannot execute request: ; Received fatal alert: handshake_failure (Workflow:Invoke a REST operation / REST call (item0)#6)'
workflow: 'Invoke a REST operation' (A18080808080808080808080808080808080808001299080088268176866967b3) 
|  'attribute': name=errorCode type=string value=Cannot execute request: ; Received fatal alert: handshake_failure (Workflow:Invoke a REST operation / REST call (item0)#6)

 

Do you know the reason ? Can you help me with this issue ?

 

In order to use the provided certificate, I have use the "import from file" workflow in Library > Configuration  > SSL Trust Manager workflows. The import workflow works fine, but when I created the host in Plugins -> HTT-REST, I can't select the certificate, I configure the URL, and apparently a new one is downloaded from the server.

Is this correct ?

 

Thank you very much.

 

Regards

 

 

Internal Orchestrator Server of vR Automation

$
0
0

Hi,

 

     Are there any difference between the internal Orchestrator server of vR Auotmation and a standalone Orchestrator server? When I connect them by using the Java client they look exactly the same...

 

     Thanks.

 

Tim

Problem with vro cli plugin on vra 7.3

$
0
0

Hi all, i've installed the vro cli plugin (the latest version) on my vra 7.3 appliance using the internal orchestrator.

It seems that the plugin is bind to the localhost address and I cannot login from a remote connection.

There's any setting I should change to make it work?

 

This is the output of "netstat -an |more |grep 8265" on the vra appliance

tcp        0      0 127.0.0.1:8265          0.0.0.0:*               LISTEN

Connect Orchestrator 7 Appliance with vCenter

$
0
0

Cant find, where i can connect the orchestrator 7.0 appliance can connect to the vcenter Server. There is no documentation available for this version

 

can anyone help? Thanks a lot

Handling dynamic auto-population of values on vRO presentation depending upon count

$
0
0

Scenario:

I have a workflow for provision a VM. In this workflow, we have a provision of creating the VM using OVA.

Here if the OVA have 1 NIC count then we have to auto-populate value for 1 NIC, if OVA have 2 NICs then 2 Nic's details will get auto populate and behavior will be same for other NIC count.

So here creation of static screen will not work as we dont know the NIC count (as we are getting NIC count at run-time).

 

Approach that we have tried:

  • In this approach, the screen will have drop-down field, which will be having the value like Nic-1,Nic-2.....Nic-n (value will be based on the Nic count).
  • If the user will select Nic-1 , then all the fields related to that Nic will get auto-populated according to it.
  • Problem that we faced in this approach:
    • we will showing the value's in the fields(gatewy,DNS,Nic Type,Network,etc) according to the Nic (Nic-1 or Nic-2 etc) value selected from the drop-down.
    • But the problem here is, as we will be using the same field(defined variable) for displaying the values according to the Nic selected, so only the last submitted value will get available at the time of work-flow execution(as we are using the same field for auto-population).
    • For eg: If we have three Nics: Nic-1,Nic-2 and Nic-3.
      • First the user selected Nic-1 from drop-down and did some changes.
      • after that he selected Nic-3 from drop-down and did some changes and click on Submit,
      • So here we will be only getting the modified value for Nic-3 as it is edited last and after that user clicked on submit(as we will be using same fields for all the Nic on presentation).

 

Is there any way that will handle this scenario?


Get Parameters/Attributes list of an Action in VRO.

$
0
0

Hi,

 

I have a scenario like need to get parameters/attribute list of an action.

 

For example:  getUser action with 3 parameters like this getUser(param1,param2,param3);

is it possible to get all parameters of get User action?

 

I have tried with System.getContect();//But Not giving any result.

 

Please help me to find good way to get all params list.

 

Thank you in advance.!!!!

AWS Plugin for vRealize Orchestrator missing Region eu-central-1 (Frankfurt)

$
0
0

Hi all,

 

I am trying to use the AWS Plugin 1.0.0.2 for vRealize Orchestrator 6.0.3 (listed as AWS 1.0.0.5102111 on Orchestrator Configuration web front-end).

However the region eu-central-1 (Frankfurt) is missing.

 

I tried the following script to get all regions:

var regions = AWSRegionManager.findAllRegions();
for (var i = 0; i < regions.length; i ++) {  System.log(regions[i].name + " - " + regions[i].description + " - " + regions[i].displayName )
}

 

Output:

[2017-08-04 10:55:17.412] [I] sa-east-1 - South America (Sao Paulo) Region - sa-east-1 [South America (Sao Paulo) Region]
[2017-08-04 10:55:17.412] [I] ap-northeast-1 - Asia Pacific (Tokyo) Region - ap-northeast-1 [Asia Pacific (Tokyo) Region]
[2017-08-04 10:55:17.412] [I] eu-west-1 - EU (Ireland) Region - eu-west-1 [EU (Ireland) Region]
[2017-08-04 10:55:17.412] [I] us-gov-west-1 - AWS GovCloud (US) - us-gov-west-1 [AWS GovCloud (US)]
[2017-08-04 10:55:17.413] [I] us-east-1 - US East (Northern Virginia) Region - us-east-1 [US East (Northern Virginia) Region]
[2017-08-04 10:55:17.413] [I] cn-north-1 - China (Beijing) - cn-north-1 [China (Beijing)]
[2017-08-04 10:55:17.413] [I] us-west-1 - US West (Northern California) Region - us-west-1 [US West (Northern California) Region]
[2017-08-04 10:55:17.413] [I] us-west-2 - US West (Oregon) Region - us-west-2 [US West (Oregon) Region]
[2017-08-04 10:55:17.413] [I] ap-southeast-2 - Asia Pacific (Sydney) Region - ap-southeast-2 [Asia Pacific (Sydney) Region]
[2017-08-04 10:55:17.413] [I] ap-southeast-1 - Asia Pacific (Singapore) Region - ap-southeast-1 [Asia Pacific (Singapore) Region]

 

Is there a way to add new regions to the AWSRegionManager?

 

Thanks in advance,

Paul

VR:Site (and other objects) lookup by name (or MOID)

$
0
0

I'm a noobie to VRO, and am struggling with a few things.

 

I'm wondering what the easiest technique is to find a return a VR:Site instance given it's name?

 

In more general terms, I'm interested in techniques for REST API, so that if supplied a the object name or MOID, I would get a full blown object.    Example: give a VM name or id as a string, who to get back the VC:VirtualMachine objects.

 

Thanks in advance for any suggestions.

vRA 7.2 Request failed: not found, and possibly deleted before provisioning finished.

$
0
0

Hello All,

 

      We have vRa 7.2 with external vRO , the server builds are getting failed with below error. Could not able to find the exact cause for the failure.

   

       Any suggestions where to look for the exact issues or any one faced the issues, as of now the issue has been resolved by restarting the vCO appliance.

 

Thank you !!

Get Esxi Status in VRO

$
0
0

Hi,

 

Am new to VRO and trying to get the esxi host connection state and the ping result. below is what I have tried but it just gives me undefined output

 

website = "myvcenter.abc.com"

Esxname = "myesxi.abc.com"

var sdkUrl = "https:" + "//"+ website + ":443/sdk"

var allSdk = VcPlugin.allSdkConnections;

var vcs = [];

for (var i in allSdk) { 

if (allSdk[i].displayName == sdkUrl){

vcs.push(allSdk[i]); 

}

}

if(vcs > 1){

System.error("!!!!!!!!! To Many vCenter Found");

throw exception;

}else if(vcs < 1){

System.error("!!!!!!!!! No vCenter Found");

throw exception;

} else {

System.log("Found a Valid vCenter);

}

var vCenter = vcs[0];

var hostsystem = System.getModule('com.vmware.library.vc.host').getAllHostSystemsMatchingRegexp(Esxiname)

var thost = hostsystem

System.log(thost.state)

 

[I] Found a Valid vCenter

[I] undefined

 

###### is there a way for me to find my esxi host from sdkconnection ?

###### how to get the connection status of the Esxi host ?

 

For Ping check

var pingchek = System.isHostReachable(Esxiname, 1000)

System.log("Ping Result " + pingchek )

 

Even if the host is up it gives result as false.

 

TIA

Update Lease and Archive Days in vRA Blueprint Properties using vRO

$
0
0

I'd like to update/enable the Lease (days) and Archive (days) Property values of a Blueprint and not having much success using the out-of-the-box "Create / update property to blueprint" Workflow in vRO.... I'm thinking this either can't be done or I'm not using the correct Property Names. At this point, I was only able to locate the following Properties:

 

__Cafe.Request.VM.LeaseDays

__Cafe.Request.VM.ArchiveDays

 

I am trying to avoid having to edit all my Blueprints on individual basis and apply changes globally.

 

Thx. Ron

Is vRo still free with a vCenter license?


Updating Machine Prefix via JSON Request

$
0
0

Hi All,

 

I am trying to update machine prefix  on blueprint while requesting ,  with the help of provisioning request workflow in vRO.

The method that i am using is  (json.ComponentName.data.machine_prefix  = "MachinePrefix")

although the json  is updated, the workflow throws a failure of - "INVALID ARGUMENT" .

Has anyone faced the same issue ?

 

Thanks for the help..

vRealize Orchestrator DataType to Select Clone available in vCenter and Javascript documentation

$
0
0

Hello All,

 

=> I have been tring to figure out, if there is any data type, which will provide an option to Select the Template available in a vCenter.

So that, While provisioning the VM, i would select the template rather then providing the configuration settings and OS.

 

=>and also getting familiar with vRealize Orchestrator using PowerCLI, but the same steps can be achieved via writing Javascripts under Actions,

Is there any URL or documentation, through which, i can start developing automation scripts without depending on powershell Host.

 

 

Thank you,

Regards,

Suhail

vCloud Availability Recovery Plan

$
0
0

Hi,

 

I search from a long time how to automatize the test recovery and full recovery with vCloud Availability and vRealize Orchestrator.

I've does some test with the defaults workflows "Run Test Recovery at the Cloud Site" and "Run Test Cleanup at the Cloud Site" but each of this workflow work one machine at time.

 

What we need to do is not to complicated, i think ^^

Previously we used SRM to manage and automatize our DR plan and we want to do the same with vRO, the goal is to do this the more simply possible in case of we need to modify something (new VM, VM removed from DR, etc...)

 

We also need to manage priorities and runing orders, can we do this with vSphere tags or any else solution ?

I take every tips, tricks, how-to and other information that you will can be giving me.

 

Thank you very much.

Configure Datastore Heartbeat from Available List WF's

$
0
0

Hello All,

Need some assistance on configuring few Data-stores from a list for 'Datastore' heart-beating. I was able to perform basic VCenter tasks with help of

creating WF's (with help of Onyx). But when i tried the same for configuring Datastore HB configuration couldn't make much sense out of it. [Newbie]

Kindly provide some guidance on it to create WF's.

 

WF Input:

Datstore names:

Datastore1

Datastore2

Datastore3

 

These datastore should be configured as HA datastore Heartbeat.

 

Onyx Code:

spec.dasConfig.heartbeatDatastore = System.getModule("com.vmware.onyx").array(VcManagedObjectReference, 2);

spec.dasConfig.heartbeatDatastore[0] = Server.findForType("VC:Datastore", managedObject.vimHost.id + "/datastore-964");;

spec.dasConfig.heartbeatDatastore[1] = Server.findForType("VC:Datastore", managedObject.vimHost.id + "/datastore-965");;

spec.dasConfig.hBDatastoreCandidatePolicy = "userSelectedDs";

spec.drsConfig = new VcClusterDrsConfigInfo();

spec.drsConfig.enabled = true;

spec.drsConfig.defaultVmBehavior = VcDrsBehavior.fullyAutomated;

spec.drsConfig.vmotionRate = 3;

spec.dpmConfig = new VcClusterDpmConfigInfo();

spec.dpmConfig.enabled = false;

spec.dpmConfig.hostPowerActionRate = 3;

 

managedObject.reconfigureComputeResource_Task(spec, true);  // ClusterComputeResource

 

Thanks

Sandeep

Performance fine tuning for vRA 7.2

$
0
0

Hello All,

 

    We have vRA 7.2 environment having one vRA appliance,External vRO and One IAAS Windows server, when we open any item or open Catalog item it is taking time to load the form.

 

    Is there any suggestions or best practices for performance tuning for these components ??

 

 

Regards,

Ravindra M

Viewing all 10285 articles
Browse latest View live


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