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

Query for vRo

$
0
0

Hi, Anyone usage namespace in vRO. I have two workflow in different namespace, can i specify the workflow which one to use, without creating action.


How to add an Array of VCACCAFEAlert into VCACCAFEAlertPolicy on vRO?

$
0
0

Hi all,

 

I'm stuck from now.

I created an array of VCACCAFEAlert that i must put on VCACCAFEAlertPolicy object on vRO in order to create vRA reservations from vRO with VCACCAFE plugin.

 

Here's the code:

 

//Set Alert Objects Array

var AlertsArray = new Array();

var myvCACCAFEAlert = new vCACCAFEAlert();

myvCACCAFEAlert.setReferenceResourceId("storage");

myvCACCAFEAlert.setAlertPercentLevel(100);

AlertsArray.push(myvCACCAFEAlert);

var myvCACCAFEAlert = new vCACCAFEAlert();

myvCACCAFEAlert.setReferenceResourceId("memory");

myvCACCAFEAlert.setAlertPercentLevel(100);

AlertsArray.push(myvCACCAFEAlert);

var myvCACCAFEAlert = new vCACCAFEAlert();

myvCACCAFEAlert.setReferenceResourceId("cpu");

myvCACCAFEAlert.setAlertPercentLevel(100);

AlertsArray.push(myvCACCAFEAlert);

var myvCACCAFEAlert = new vCACCAFEAlert();

myvCACCAFEAlert.setReferenceResourceId("machine");

myvCACCAFEAlert.setAlertPercentLevel(100);

AlertsArray.push(myvCACCAFEAlert);

 

//Set AlertPolicy Object

var myvCACCAFEAlertPolicy = new vCACCAFEAlertPolicy() ;

myvCACCAFEAlertPolicy.setEnabled(false);

myvCACCAFEAlertPolicy.setFrequencyReminder(0);

myvCACCAFEAlertPolicy.setEmailBgMgr(true);

 

The vCACCAFEAlertPolicy scripting class have .getAlerts() but I don't see .setAlerts(vCACCAFEAlert[]).

 

The expected JSON should be like that:

 

"name": "{{ reservation_name }}",

  "reservationTypeId": "Infrastructure.Reservation.Virtual.vSphere",

  "tenantId": "vsphere.local",

  "subTenantId": "{{ business_group_id }}",

  "enabled": true,

  "priority": 0,

  "reservationPolicyId": "{{ reservation_policy_id }}",

  "alertPolicy": {

    "enabled": false,

    "frequencyReminder": 0,

    "emailBgMgr": true,

    "recipients": [],

    "alerts": [

      {

        "alertPercentLevel": 100,

        "referenceResourceId": "storage"

      },

      {

        "alertPercentLevel": 100,

        "referenceResourceId": "memory"

      },

      {

        "alertPercentLevel": 100,

        "referenceResourceId": "cpu"

      },

      {

        "alertPercentLevel": 100,

        "referenceResourceId": "machine"

      }

    ]

  },

.....

 

 

I don't want to use a "Golden Reservation" just for that, for now this is the only element that is missing in order to create a reservation with all elements.

Thanks for your help.

Accessing Java Classes from JavaScript documentation... less-than helpful

$
0
0

 

So, here's what the VCO 4.1 developer's guide says about accessing java classes from Orchestrator's javascript...

 

h5. Accessing Java Classes from JavaScript
By default, Orchestrator restricts JavaScript access to a limited set of Java classes. If you require JavaScript
access to a wider range of Java classes, you must set an Orchestrator system property to allow this access.
By default, the Orchestrator JavaScript engine can access only the classes in the java.util.* package.
The Orchestrator administrator can allow access to other Java classes from JavaScript functions by setting a
system property. See the VMware vCenter Orchestrator Administration Guide for information about setting system
properties.
(http://vmware.ie/pdf/vco_410_developers_guide.pdf, pp. 115).

 

This is less-than helpful as it doesn't actually say how to use java classes from javascript.

 

 

After following the instructions for access java classes from javascript in the VCO administrator's guide (http://vmware.ie/pdf/vco_410_admin_guide.pdf, pp. 67) I am still unable to use standard java classes. Does anyone have any examples of how to do this? I've tried "inetAddress = java.net.InetAddress.getByName(serverAddress);" and I get the error "TypeError: getByName is not a function, it is org.mozilla.javascript.NativeJavaPackage." I've also tried using Rhino's importPackage function and it doesn't seem to be recognized.

 

 

Right way of creating a vRO plugin

$
0
0

Hi All,

 

As part of our plugin development we have created our workflows using vRO client. Now the question comes is, what's the right way create a vRO plugin out of these workflows so same can be shipped to the customers?

 

The approach we are thinking of so far in this direction is:

 

1. Created a eclipse project for vRO plugin using maven

2. Command that let us import the workflows from vRO appliance. Do we have any such command?

3. Create a plugin using mvn install

 

Please let me know if that's the right approach to create a plugin from workflows and also request you to help with the commands if there are any.

 

Thanks and Regards,

Salil

Send Mail/SMTP Notification without authentication

$
0
0

Hi,

 

I am looking to send out e-mail notification using smtp without the need for a username and password for authentication with the smtp server.

 

I cannot see how to normal way of sending out smtp e-mail is possible in Orchestrator.

 

Can anyone point me in the right direction? When running the mail configure workflow, it is unable to proceed without a username og password.

 

Best Regards

Brian Knutsson

find virtual machines by business group name and virtual machine name filter

$
0
0

I am trying to develop logic to find all virtual machines from a given business group and with a name filter.  What i would like to get back is a VCAC:VirtualMachine object with all of the machines.

 

I have been trying to pull together bits and pieces from the net with no luck.  Eventually i want to move this from a workflow to an action so i can drive form elements in vra asd.

 

Inputs:

BusinessGroupName(string)

ServerName(string)

 

General Attributes:

vcaccafehost(VCACCAFE:VCACHost)

vms(vCAC:Entity)

 

 

Scriptable Task:

service = vcaccafehost.createCatalogClient().getCatalogConsumerResourceService();


var conditions = new Array();
conditions[0] = vCACCAFEFilterParam.substringOf("name", vCACCAFEFilterParam.string(ServerName));
conditions[1] = vCACCAFEFilterParam.substringOf("organization/subTenant/id", vCACCAFEFilterParam.string(BusinessGroupName));


var filter = new Array();
filter[0] = vCACCAFEFilterParam.and(conditions);
var query = vCACCAFEOdataQuery.query().addFilter(filter);


var items = service.getResourcesList(new vCACCAFEPageOdataRequest(query));


System.log(items);


for each (var item in items) {
  System.log("name:"+ item);
}

 

I am on a learning curve for java script and the vcac cafe.

 

Help  Please....

Correlate GuestDiskInfo with VirtualHardware

$
0
0

Hi,

I'm trying to create a workflow to automate disk extend based on free space (less than 10%).

I get the free space with GuestDiskInfo -  "vm.guest.disk.freeSpace" and "vm.guest.disk.capacity".

The problem is that I can't correlate this to the VirtualHardware disk (vm.config.hardware.device) so I can't tell which disk needed to be extend.

I can get what seems like the disk object with " vm.guest.disk[i]" but I don’t know how to use it for something useful.

 

Any tips on how to do this?

 

The script I use to get the free space – (it's in a very initial stage…)

 

var disks = vm.guest.disk;

 

for (i in disks)

{

System.log("DiskPath - " + (disks[i].diskPath));

    System.log("FreeSpace (GB) - " + (disks[i].freeSpace / 1024 / 1024 / 1024));

    System.log("Capacity (GB) - " + (disks[i].capacity / 1024 / 1024 / 1024));

          

    if ((disks[i].freeSpace / disks[i].capacity) <= 0.1)

    {

 

//      var diskToGrow = disks[i];

        var diskNewSize = Math.round(((disks[i].capacity * 1.05) / 1024 / 1024 / 1024));      

    }

}

How to get all the "In Progress" requests submitted (vRA - Requests page)

$
0
0

Hi,

 

Could someone suggest how to get all the "In Progress" requests from vRA? I tried to look around API explorer but couldn't find any existing workflow/action that does this.

May be we can filter out based upon the Server.FindAllForType() and then filter out by state such as either "In Progress" or "Successful".  Please let me know.

 

Thanks.


Things I like and dislike on the new Orchestrator 7.1

$
0
0

In the VRO Release Notes is everytime written, that feedback is appreciated in the forum so ...

 

Well this should be a "first impression" after now two weeks of usage.
I "updated" a 5.5.3 Windows vCenter Orchestrator to vRealize Orchestrator 7.1 Appliance.

A few information that I asked before the "update": https://communities.vmware.com/thread/542417

 

Here we go:

1) (Dislike) upgrade documentation & migration tool
There is no real upgrade path document which describes how to upgrade or migrate to the new plattform in detail.
Somewhere i read about a configuration-migration "tool" which is included in the OVA.
So if you want to reuse the old Hostname and IP you have to deploy the OVA with an other IP one time to "download" this migration-tool.
Why is there no direct download of the .zip on the vmware website?

 

2) (Bug?) First fails:
I read somewhere that vRO 7.1 is out - but on our Download Page under "My Products" was only 7.0.1.
After a SR I got a tip from an VMware employe and found the 7.1 OVA files.
If you deploy a fresh 7.1 OVA - the Update Page (Port 5480) displays an error (HTTP 404) when checking for updates.
Proxy and Networksettings should be correct ...
If you deploy a fresh 7.0.1 and update via update page to 7.1 - the updatecheck it is still working after the update.

 

3) (Dislike) Import of migration-tool-export
After running the migration-Tool, exporting all Workflows, ressources and so on - the import for the certificate (Company CA signed) and passwordencryptor.key on the new Orchestrator OVA fucked it totally up.
Pages were not loading correctly, everywhere are red errors on the page and so on.
Even after reconfiguration of the database and so on - there were zillion of errors in the log of the Orchestrator. That was not a good starting ...
So I skipped that step, rolled back the snapshot, deleted the database and started again - this time with a new CA-signed certificate.

 

4) (Dislike) documentation for implementing CA signed certificates
There is no documentation for "how to implement Company CA signed certificates for vRO 7.x"
If you don't work 24/7 with certificates and so on .. some instructions for "dummies" would be fantastic. How to create the certificate files, sign them agains a Windows CA, implement them to the OVA ...
I merged something from vCenter 5.5 Certificate replacement and  other sources ...
Also why is there no collaboration with the Plattform Service Controller? Our Plattform Service Controller is included as sub-CA.

 

5) (Big Like) Control Center
After implementing the new certificate and the basic seems to be working (before importing my workflows and so on) ...
WOW! The new control center is simple and clean. Easy to understand - i like it very much.
The "Runtime Metrics" are very nice, "Validate Configuration" is a good point to see if everything is working
And hell "Live Log Stream" - fantastic thing... 'view fullscreen' is even better - realy good job.
Also the logging integration is very good - you can now define for every plugin the log level - very nice, too.

 

5.2) (Missing) "Startup Options" Configuration - Roll Back
You can see on the Startup Options" that i have an "Active configuration Fingerprint" and a "Pending Configuration Fingerprint" - where is the option to rollback to any older configuration?

 

5.1) (Dislike) New Database:
The Orchestrator detects on the database setting that it is "empty" and ask for creation of the tables or so ...
WHY do i have to run "install all plugins again" to get all workflows?
Why can't do the OVA this automatically if the database was empty?

 

6) (Missing) Find Elements that use this Attribute-Type: SecureString
So after importing all my Workflows, ressources and so on it starts the never ending story:
Passwords and their encryption.
I have a few workflows that have as Attribute a password as Secure String.
So I have to edit all workflows with a SecureString, enter the password again and save it.
Could you please include a finder for workflows that have a attribute with type SecurePassword?
Also searching for AD:Object / SQL:Database and other types would be fine.

 

6.1) (Bug?) SQL Plugin 1.1.4 imported ressource
To avoid editing a lot of workflows i do the following:
I generate a test-database connection with the workflow "SQl -> Configuration -> Add a database".
After that is a new ressource generated with the encrypted password.
I copy that password-hash and edit the ressource-file for the real-database connection.
After that i import the ressource. All Workflows with that database connection are working again - so basicly no problem.
That is only a "cosmetic bug": But If i try to run the workflow "SQl -> Configuration -> Update a database" it fails if i choose an imported Database-resource.
[2016-09-22 21:33:20.400] [E] Workflow execution stack:
***
item: 'Update a database/item2', state: 'failed', business state: 'null', exception: 'java.lang.NullPointerException (Dynamic Script Module name : updateDatabase#17)'
workflow: 'Update a database' (18541090831854109083178946495518541090830303030303030303030303030)
|  'attribute': name=errorCode type=string value=java.lang.NullPointerException (Dynamic Script Module name : updateDatabase#17)
|  'input': name=database type=SQL:Database value=dunes://service.dunes.ch/CustomSDKObject?id='c643c1fc-f459-4396-b7d3-c450976c9790'&dunesName='SQL:Database'
|  'input': name=name type=string value=db_server
|  'input': name=type type=string value=MySQL
|  'input': name=connectionURL type=string value=jdbc:mysql://my.sexy.mysql.server:3306/databaseName
|  'input': name=username type=string value=mySexyMySQLUser
|  'input': name=password type=SecureString value=__NULL__
|  'input': name=sessionMode type=string value=Shared Session
|  'output': name=result type=SQL:Database value=null
*** End of execution stack.

 

7) (Bug) Orchestrator Client -> "Scheduler"
Well that is an old Bug.
If you have e.g. 10 scheduled Workflows in that list you can do at the bottom of the list in the free area a right-click and "delete all finished workflows".
If you have so many scheduled workflows that you get a scroll-bar at the side - there is no free area where you get in the context menu "delete all finished workflows".

Sometimes I have the feeling that I'm 1 of million people that uses the orchestrator so excessive for daily business jobs...

 

8) (Dislike) Orchestrator Client - Presentation -> Select value as
In the new Orchestrator Client the "Select value as" has changed a litte bit.
On some of the first workflows i thought "nice - I like it"
If you search for VirtualMachine "VM123" it was a good designed solution - until I came to my VM-Deploy Workflow.
Based on some Values (which vCenter, Datacenter, Cluster...) i filtered e.g. the Datastores.
If I plan to deploy a VM to Cluster B - I don't need to see the datastores of cluster A.
Now, when i select the datastore i got a small list with datastores that can be accessed by this cluster.
In the past I was able to sort that Datastores by capacity, free Space, name or whatever - now I see only the Datastorenames and "somewhere" some information.

 

9) (Bug) vSpehere Webclient - Plugin Registration fails
In the vSpehere Webclient 5.5 was an extra Page to configure the Orchestrator for the Webclient (context menue, ...).
In the vSphere Webclient 6.0U2 that page says everytime how i can get started with the Orchestrator.
In the vCenter MOB - there is no com.vmware.vco registered.
So I started the Workflow: vCenter -> Configuration -> Register vCenter Orchestrator as vCenter Server extension.
That workflow is running without any problems and tells me that everything is good.
Somewhere I read that I have to restart the Webclient after plugin registration - but even that didn't helped.
And still there is no com.vmware.vco or similiar in the vCenter MOB.

 

Even if that posting sounds very negative - in generally i love the new Orchestrator. It is a rock-solide workflow engine - easy to start with it and use it.

How vco stock and use active directory password

"TypeError: Cannot find function createSOAPRequest in object notfound." when multiple SOAP workflows are run at the same time

$
0
0

I have a issue with a embedded vRO server in vRA 7.0.1.

On this vRO server I have a SOAP host in the Inventory (Thycotic Secret Server to be specific)

I of cause have a couple of workflows that relate to this SOAP Host and its operations.

Like "Add Secret", "Get Secret" and "Deactivate Secret".

If I run a deploy for a single machine in vRA, which in the background via vRO uses these workflows everything works as expected.

But if I run mulitple deployments, then if the vRO workflow tokens are started at the exact same time, then only the first is successful, the others on the same Token-execution-time fails.

For the workflows that fails I get a exception similar to this:

"TypeError: Cannot find function createSOAPRequest in object notfound."

 

Looking deeper in the scripting code, that exception is "thrown" for this javascript line:

"var request = secretServerOperation_Authenticate.createSOAPRequest();"

 

Which means, that for whatever reason the subsequent tokens run at the exact same time, aren't being passed the attribute "secretServerOperation_Authenticate" which is hardcoded in the Attribute list of the workflow.

 

Anyone ever seen this, or have any ideas on how to "fix" this?

Maybe give the vRO server instance more resources?

org.dojotoolkit.dojo.json serialize

$
0
0

I ran into an issue while migrating our workflow library into vRO 7.1. We have a dependency on a serialize JSON piece of code that seems to have been imported from into one of our previous Orchestrators and adopted for use. When running on vRO 7.1 appliance I get the following:

[E] (org.dojotoolkit.dojo.json/serialize) Error in (Dynamic Script Module name : serialize#82) TypeError: escapeString is not a function, it is undefined.

 

I am not sure if original package installation required any type of activity to enable this function. I know some of javascripts may need further definition in Orchestrator configuration but I can;t find any evidence of that on our original machines. Has anyone faced with this type of error? I would appreciate some help.

 

EDIT: I may have found the issue. I am completely missing another dojo toolkit action for escapeString function. Apparently it is not being pulled into an export package and I was relying on Orchestrator package creation to pull everything that's used in the workflow library. I may have to re-consider my package creation approach.

Technical preview version of VMware vCenter Orchestrator Plug-In for Microsoft Active Directory

$
0
0


Technical preview version of VMware vCenter Orchestrator Plug-In for Microsoft Active Directory

This is a patch release of the plug-in.


Note: 3.0.2-4209033 GA version of the plugin is available as part of vRealize Orchestrator Appliance 7.1

 

Version 3.0.2-4209033

  • Added LdapFilter scripting object


Version 3.0.0-4132888

  • Added generic LDAP client (LdapClient).
  • Added support for SimplePagedResultsControl. It allows the client to iterate through a potentially large set of search results in subsets of a specified

number of entries (i.e., "pages").

  • Added support for non-persistent LDAP connections ().
  • Added User.getSID() and UserGroup.getSID() scripting methods for retrieving objectSID attribute in folowing format format 'S-1-IdentifierAuthority-SubAuthority1-SubAuthority2-...-SubAuthorityn'
  • Added getGUID() support for retrieving objectGUID formatted as dashed string
  • Fix: ActiveDriectory.search() methods discards configured LDAP base
  • Removed sub-domain entries from inventory tree of parent domain. (Deprecated since 2.0)

Notes : Compatible with vRealize Orchestrator 5.5.2+

Notes : Introduction to new feature available here  Active Directory plugin 3.0.0 - New and Noteworthy

 

 

Version 2.0.8-3635144

  • Support for named Active Directory connection configurations

Version 2.0.7-3423847

  • Fix : rename method for AD:User does not accept names that contain commas.
  • Fix : ActiveDirectory "Base" setting discarded.

Version 2.0.6-3285066

  • Fix : rename method for AD:User does not accept names that contain commas

 

Version 2.0.5-3151865

  • Fix : Can not modify attributes of entry containing forward slash in the name.
  • Fix : Configuration changes not propagated among vRO cluster nodes
  • Added ActiveDirectory.rename() method for renaming/moving entries inside same domain.


Version 2.0.4-3014454

  • Fix : ActiveDirectory.searchExactMatch not returning correct result when user name contain forward slash.


Version 2.0.3-2824604

  • Fix : User.memeberOf not returning correct result when user is not from default domain

 

Version 2.0.2-2670588

  • Fix : AD:UserGroup.userMembers return null when user name contain comma.
  • Fix : AD:UserGroup.userMembers return null when the users are not part of default domain.

 

Version 2.0.1-2597988

  • Fix : Configure "Active Directory plug-in options" workflow does not set default server.

 

Version 2.0.0-2543027 GA

  • Add support for Multiple Active Directory hosts

Notes : GA version available for download from - VMware vCenter Orchestrator Plug-In for Microsoft Active Directory Release Notes

Notes : Compatible with vRealize Orchestrator 5.5.2+


Version 1.0.6-2315152

  • Fixed validation warning messages in the AD plugin's workflows.


Version 1.0.5-1866388

  • OU/AD objects from the AD plugin are getting lost/not-found. In configurations, a value with the attribute of AD:OrganizationalUnit reports "Not found"
  • Fix "Object 'OU:DC=xxxx,DC=yyyy,DC=com' of type ActiveDirectory not found" for AD entities containing special characters like COMMA in CN value.


Version 1.0.4-760

  • Plugin configuration performed trough workflows.
  • Fix. Deleted ad object is still returned by the plugin.

 

 

Please note, that the attached plug-in is QE verified, but still not a final version.

The release is not an official and is intended for testing purposes only. It is not recommended for production usage.


Stop this component, typically in a synchronous fashion, such that the component is fully stopped upon return of this method. Consider implementing SmartLifecycle and its stop(Runnable) variant when asynchronous stop behavior is necessary.

Note that this stop notification is not guaranteed to come before destruction: On regular shutdown, Lifecycle beans will first receive a stop notification before the general destruction callbacks are being propagated; however, on hot refresh during a context's lifetime or on aborted refresh attempts, only destroy methods will be called.

vRO appliance under Workstation - ovf properties missing, cannot login

$
0
0

I've just spent a couple of hours trying to get a lab vRO instance running inside Workstation, and it's slowly dawning on me that it might not work properly in the absense of the OVF environment normally provided by vCenter.

 

While I can set the IP manually from the studio interface, and it appears to be working, I just cannot get past the 'password has expired' error when logging into the configuration interface.

I've set the password using both the 1st time setup, by injecting the default password hash into /etc/vco/configuration/passwd.properties, and through the studio interface. I always get rejected with "Login failed: User/password mismatch or account temporarily blocked after too many unsuccessful attempts ".

 

I can see in the log that something funky is happening:

015-02-18 20:38:19.264+0000 [http-bio-8283-exec-7] WARN  {} [IGNORED_EXCEPTION] Ignored exception.

java.lang.NullPointerException

        at java.util.Hashtable.hash(Unknown Source)

        at java.util.Hashtable.get(Unknown Source)

        at java.util.Properties.getProperty(Unknown Source)

        at ch.dunes.vso.configuration.web.commons.login.UserFactory.getDigest(UserFactory.java:102)

        at ch.dunes.vso.configuration.web.commons.login.UserFactory.authenticate(UserFactory.java:94)

        at com.vmware.o11n.configuration.tomcat.O11nConfigurationRealm.check(O11nConfigurationRealm.java:70)

        at com.vmware.o11n.configuration.tomcat.O11nConfigurationRealm.authenticate(O11nConfigurationRealm.java:46)

        at org.apache.catalina.realm.CombinedRealm.authenticate(CombinedRealm.java:146)

        at org.apache.catalina.realm.LockOutRealm.authenticate(LockOutRealm.java:180)

        at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:296)

        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:450)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)

        at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:680)

        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)

        at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:314)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:409)

        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1044)

        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)

        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)

Feb 18, 2015 8:38:32 PM org.apache.catalina.realm.LockOutRealm authenticate

WARNING: An attempt was made to authenticate the locked user "dm13YXJl"

 

And by the way: I am using chrome, and firefox has the same problem as well so NOT the IE issue.

Maven deploy plug-in for vRO

$
0
0

Thanks to the vRO REST API it's now possible to deploy plug-ins in an automated way. While working on some vRO plug-ins I often ended up re-uploading plug-ins hunderts of times a day. With vRO 7 we now have JPDA but that won't work in all cases and you still have to upload your vRO plug-in manually from time to time. NO MORE!

 

I just finished a little Maven Mojo that will do that for you automatically after every compile. You can find all the instructions and the latest binary at GitHub (link below). For anyone who wants to develop vRO plug-ins this should be some help.

 

GitHub - m451/o11n-deploy-maven-plugin: A Maven plug-in that helps you develop Java plug-ins for VMware vRealize Orchest…

 

 

greetings

Robert


Anyway to set max workflow run time for all workflows?

$
0
0

Similar to how vRA utilizes workflow stub timeouts in an XML document on the IaaS server, is there a way in vRO to configure a workflow timeout that would automatically cancel/fail all workflows when it exceeds?

 

Thanks in advance!

Changing a vRO Appliance's Network Setting (DNS Servers)

$
0
0

I have read every manual and researched this but keep coming to a dead end. I am admittedly a VMware neophyte but this seems overly cryptic to resolve.

 

Environment:

- ESXi 6 'wish

- vCSA 6 'ish

- vRO Appliance 7.1

- using both vsphere Client app and web client 

 

I need to change one network setting: the list of DNS Servers the vRO appliance uses. From research I believe:

 

1) It's not as simple as logging into it's console and editing /etc/resolv.conf - notes I've seen say it will just revert on a future reboot

2) The vRO Configuration Tool seems to have nothing related to underlying appliance network settings

3) As an appliance, running under ESXi/vSphere, you might just change the "vApp Option" for the VM

 

After figuring out the VM had to powered off first, and finding the 6 network options (address, mask, domain-name, dns-servers, etc) I was able to change one of the addresses as needed. However, it seemed to have no affect upon next power up. When I view the vApp Options -> Networking Properties now, I see what I need it to change to, but when I log into the vRO appliance's console resolve.conf and nslookup seem to believe the old DNS server list is in use (what other ways to ask a *nix box to reveal what DNS servers it's using)

 

The old DNS server is going to die soon and I need a fix for this problem soon. Could the expert VMware community give me any ideas to try, clues, documentation, edumacation, or even a hack to accomplish this?

Convert string to VC:Network

$
0
0

Hi all,

 

Can someone help me how to convert a String to VC:NetworkType?


I'm receiving the portgroup name as a string via POST and I need to convert it to a VC:Network on my Workflow.

I tried the "GetNetworksForLabel" action but it return only Standard portgroup. I need to find the Dvs Portgroups.


Thanks!

Third party scheduling software for vRO?

$
0
0

vRO's scheduling ability is very poor and we tend to use this very heavily.  Are other folks using some third-party scheduling software to run normal daily tasks with vRO?

 

A few of my main gripes:

  • After some amount of time the scheduler stops actually running the workflow (under general tab, last/next run are updated, but no workflow was actually run under workflow runs)
  • Sometimes the scheduler silently fails to kick the task off
  • In cluster mode, both nodes of a cluster sometimes kick off the same workflow at the same time (a personal favorite to clean up @ 2AM)
  • If I want to update parameters, I have to delete and create a new job
  • If I want to change the backing workflow, i have to delete and create a new job
  • Visualizing or even querying the schedule is impossible from vRO.  Excel is the only way. Joy
  • Jobs run under a service account require that anyone wanting to view the run info (such as a NOC) have full vRO admin rights

 

In general the scheduling ability is nearly unusable and I simply don't trust it anymore (and yes, I have SRs open for most of these issues, however no progress is being made)

Problem with PSHost add-module

$
0
0

Hi All,

I have came across another problem. I have pretty long script which should be executed against AD. However at the PShost I cannot load module:

WARNING: Error initializing default drive: 'Unable to contact the server. This 

may be because this server does not exist, it is currently down, or it does not

 have the Active Directory Web Services running.'.

Code which is being executed:

sessionID= System.getModule("com.vmware.library.powershell").openSession(psHost) ;

script = "Import-Module ActiveDirectory";

 

output = System.getModule("com.vmware.library.powershell").invokeScript(psHost,script,sessionID);

Do you have similar problems?

I am running 7.0.1 vRA solution.

All other powershell commands works fine.

Thanks for help!

WARNING: Error initializing default drive: 'Unable to contact the server. This 
may be because this server does not exist, it is currently down, or it does not
 have the Active Directory Web Services running.'."
Viewing all 10285 articles
Browse latest View live


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