Are you the publisher? Claim or contact us about this channel


Embed this content in your HTML

Search

Report adult content:

click to rate:

Account: (login)

More Channels


Showcase


Channel Catalog


Channel Description:

All Content in vRealize Automation Tools

older | 1 | .... | 331 | 332 | (Page 333) | 334 | 335 | .... | 418 | newer

    0 0

    Does anyone know if there is an appropriate Event Topic for a Workflow subscription that matches the end of the processing for Software Components on a vSphere machine?

     

    I am creating a blueprint with several VM machines, that have software components assigned to perform various installation roles. Once the software components have successfully completed on each VM, I wish to trigger a vRO workflow. I have tried using the 'Machine Provisioning' event topic, to use the Lifecycle state name VMPSMasterWorkflow32.MachineProvisioned POST and VMPSMasterWorkflow32.MachineActivated POST and both appear to be triggered before the Software Components are processed.

     

    Any thoughts greatly appreciated.


    0 0

    Hi,

     

    I have a VM with a software component inside it. That software component has properties that need to bind to a custom property of the VM it's in. This works fine if I bind to a regular custom property of the VM. However, I cannot bind to a custom property that is part of a property group that was added to that same VM. Am I missing something here?

     

    Thanks!


    0 0

    Hi everybody

     

    We search some ideas to create a XaaS blueprint to  Automate business groups creation, with the associate reservations , Network profiles associate, Entitlements associate, etc.....

     

    We have found this example : https://tgeorgiev.com/2015/11/03/automate-business-groups-creation-with-catalog-items-and-entitlements but it dates from 2015.

    You know an other example most recently ?

     

    thx for your help.


    0 0

    First off the versions…

    vRA 7.3.0.536 Build 5610496

    NSX 6.4.0 Build 7564187

     

    Issue:  When the blueprint is deployed, the VM receives all the configured IP info from DHCP, except DNS.

     

    Setup:  I created a blueprint with a vSphere Windows 10 VM and added an On-Demand NAT Network.  The VM IP settings are configured to receive the information via DHCP.  The On-Demand NAT Network has a parent network profile, external network profile, NAT type (1 to many), subnet mask and gateway assigned in the General tab.  In the DNS/WINS tab I have primary and secondary DNS server along with a DNS suffix, no WINS.  The DHCP tab has the start and end of the range and the IP Ranges tab is empty.  The parent network profile has the same General, DHCP and DNS info.

     

    Troubleshooting:  After I’ve deployed the blueprint and I look into the properties of the Edge VM that was created for NAT (vSphere Web Client, Networking and Security, NSX Edges, name of Edge, Manage) I can see that in the DHCP section the entry with IP range has “Auto configure DNS” turned on and of course the DNS info from the parent network profile (and On-Demand NAT Network) is blank.  If I manually make the change and publish then all works fine.  So it seems that during the deployment vRA does not pass on the DNS settings but instead turns auto configure on.

     

    I’ve tested with other VMs (different OS) and the behavior is consistent.  The Edge VM deployed by vRA does not receive the DNS settings but auto configure is on.

    If someone can point me in the right direction it would appreciated.


    0 0
  • 02/07/18--17:20: No sensors defined - Error
  • Anyone seeing this error inside the vRealize Module > Logs

     

    REST call error found inside VRASNRequestUtil.preImportRequest: No sensors defined

    REST call error found inside VRASNAuthGenerator.generateAuthCode: No sensors defined

    REST call error found inside VRASNRequestUtil.preImportRequest: No sensors defined

    REST call error found inside VRASNImportCMDB.reconcileCMDB for pagination: No sensors defined

    REST call error found inside VRASNImportCMDB.preImportCMDB: No sensors defined

     

    We're seeing it across multiple script includes.functions

     

    ServiceNow ticket opened; This error can be fixed by adding a line of code "request.setEccParameter('skip_senor',true)", but that would man changing a lot of plugin code. We have raised a HI ticket also for this but they are also giving the same solution and directing to check with vRealize support for the fix.


    0 0

    **thanks to my ServiceNow developers...

     

    var numberOfPages = parsed.metadata["totalPages"];

    for(var i=1; i<numberOfPages; i++){

     

    If total pages = 3

    and our resource is listed on page 3,

    This loop will check pages 1 and 2 (missing page 3 because the criteria should be i<=numberOfPages)

     

     

    Full function below:

    reconcileCMDB : function() {

    try{

    VRASNLogger.debug('Inside  VRASNImportCMDB.reconcileCMDB: used to Reconcile the CMDB CI records');

    var midServer = gs.getProperty('vrasn.midserver.name');

    var endPoint = gs.getProperty('vrasn.end.point');

    var _endPoint = endPoint+"/catalog-service/api/consumer/resources?withExtendedData=false&page=1&limit=20";

    var request = new sn_ws.RESTMessageV2();

    request.setEndpoint(_endPoint);

    request.setHttpMethod('get');

    var auth = new VRASNPropertiesUtil();

    var authGen = auth.getSNProperties('AuthToken');

    request.setRequestHeader("Accept", "application/json");

    request.setRequestHeader("Authorization", "Bearer "+authGen);

    request.setRequestHeader("Content-Type", "application/json");

    request.setMIDServer(midServer);

    var ciList = "";

    var gotException = false;

    var resourceID="";

    var response = request.execute();

    if(response.haveError()) {

    VRASNLogger.error('REST call error found inside VRASNImportCMDB.reconcileCMDB for pagination: '+ response.getErrorMessage());

    this.errorHandler.notify("REST call error found inside VRASNImportCMDB.reconcileCMDB for pagination: "+ response.getErrorMessage());

    gotException = true;

    }

    else {

    var responsedata = response.getBody();

    var parser = new JSONParser();

    var parsed = parser.parse(responsedata);

    var numberOfPages = parsed.metadata["totalPages"];

    var cmdbItems = parsed.content.length;

    for(var j=0;j<cmdbItems;j++){

        resourceID = parsed.content[j]["id"];

    ciList = ciList+resourceID+";";

    }

     

    for(var i=1; i<numberOfPages; i++){

    _endPoint = endPoint+"/catalog-service/api/consumer/resources?withExtendedData=false&page="+i+"&limit=20";

    request.setEndpoint(_endPoint);

    request.setHttpMethod('get');

    request.setRequestHeader("Accept", "application/json");

    request.setRequestHeader("Authorization", "Bearer "+authGen);

    request.setRequestHeader("Content-Type", "application/json");

    response = request.execute();

     

    if(response.haveError()) {

    VRASNLogger.error('REST call error found inside VRASNImportCMDB.reconcileCMDB: '+ response.getErrorMessage());

    this.errorHandler.notify("REST call error found inside VRASNImportCMDB.reconcileCMDB: "+ response.getErrorMessage());

    gotException = true;

    }

    else {

    responsedata = response.getBody();

    parsed = parser.parse(responsedata);

    cmdbItems = parsed.content.length;

    for(j=0;j<cmdbItems;j++){

       resourceID = parsed.content[j]["id"];

    ciList = ciList+resourceID+";";

    }

    }

     

    }

     

    if(JSUtil.notNil(ciList)) {

    var gr = new GlideRecord("cmdb_ci");

    gr.addEncodedQuery("u_vra_uidISNOTEMPTY^install_status!=7^ORinstall_status=NULL");

    gr.query();

    while(gr.next()) {

    var a = ciList.indexOf(gr.u_vra_uid+"");

    if(a>-1) {

    VRASNLogger.debug('The record exists in the list '+ gr.name);

    }

    else {

    gr.install_status = 7;

    gr.update();

    }

    }

    }

    }

    }

    catch(e){

    VRASNLogger.error('Exception caught inside VRASNImportCMDB.reconcileCMDB: '+e);

    this.errorHandler.notify("Exception caught inside VRASNImportCMDB.reconcileCMDB: "+e);

    }

    },

     

    type: 'VRASNImportCMDB'

    };


    0 0

    Hi All,

     

    Requirement: We want to automate monitoring the OS process. As soon as a VM is provisioned (by VRA), vRops should start monitoring the process and alert if a process is not running.

    We have around 10000 VMs and we can leverage vRO to execute REST API / Powercli if required.

     

    In vRops UI we can monitor the linux process. The below link shows how to monitor.

    https://thecloudxpert.net/2016/04/howto-monitor-a-process-in-linux-using-vrealize-operations-end-point-operation-managem…

     

    But we want to automate these steps.

     

    Thanks,

    Naresh


    0 0

    I'm coming from a vCD 5.x background and I'm used to an almost immediate entry/action in vSphere when for example I deploy, undeploy, start, delete, etc. VMs and vApps.  I have a test environment built on 4 vxrail units and one vSAN.  vCenter is intregrated in the vxrail cluster, IAAS is running on 2012Server (16GB RAM, 4 CPUs Xeon 2.6 GHz VM paravirtual SCSI) with SQL Server 2014.  Everything is running pretty smooth and deployed VMs are very fast.  The issue I've run into is that "Requests", whether getting a “service” from the catalog or destroying a running machine, so what I consider deploying/undeploying in vCD terminology, takes between 45 and 65 seconds from the moment I click OK on the vRA Web GUI to when tasks (clone virtual machine, etc.) start in vSphere.  Things move very fast in vSphere but there's always a significant delay between submitting a request and actions actually taking place.  Additionally when the action completes there's another 40 seconds or so delay for the Web GUI to show the action completed.  So, let's say I had a request for a blueprint to be deployed, even when I see it cloned, configured and running in vSphere it won't be available in the vRA Web GUI, so overall there's 1 1/2 to 2 minutes added to what is otherwise a very fast deployment.  Forgot to mention these are linked clones.  So I'm not sure if this is normal/expected because I never experienced anything like it in vCD and if it's not I could use some guidance in terms of how to reduce these delays.


    0 0

    Hello Team,

    Can anyone please provide some sample input templates for vRA 7.3 and also provide schema of input to vRA tool. And can we use these templates to provision resources on target cloud.

     

    Regards


    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.


    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


    0 0
  • 02/09/18--07:47: Plug in Infoblox problem
  • 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.


    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


    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.


    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


    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


    0 0

    Hi,

     

    Just after deploying and power-on vRA appliance, the following message appears on vRA console.

    Is this correct behavior?

     

    I made second vRA 7.0.1 appliance but this can't join the cluster of vRA appliance with same error message.

    "Property csp.host is set in /etc/vcac/security.properties, but is empty"

     

    The security.properties is below:

     

    The csp.host parameter is blank, is this correct?

     

    Thanks,


    0 0

    Hi All,

     

    While trying to access vRa page from Servicenow we have below 2 errors in the logs:

     

    REST call error found inside VRASNVIDM.step5: Method failed: (/SAAS/t/test/API/1.0/oauth2/token) with code: 400

    REST call error found inside VRASNEntitlementUtilTest.preSetEntitlement: Method failed: (/catalog-service/api/consumer/services) with code: 401 - Invalid username/password combo

     

    We have basic configuration set up correctly, Catalog item is imported into Servicenow without any issue, while request is approved there is no token generated and requested is not passed to vRa.

    Manually when we try to access the page from browser errors are encountered.

    We have SSO configured in instance, is it required that vRa should be setup with SSO? Request your support on this. Thanks in advance.


    0 0

    We are seeing delays of 15 seconds for the ServiceNow homepage to load when someone is "vra_user" due to the vra plugin always pushing us to authenticate with vRA.

     

    The plugin is pushing us to authenticate with vRA regardless if we are accessing a vRA resouce (authentication happens only once and at the beginning of a new ServiceNow session).  As this happens almost always when people are trying to access the standard ServiceNow homepage.... people are incorrectly assuming that ServiceNow is running slow.

     

    We have troubleshooted this issue due to the use of "Login Rules" by the plugin within the ServiceNow system. Is there any way to prevent the authentication until someone is trying to access the vRA catalog? More importantly, ServiceNow has deprecated the use of "Login Rules" for some time (please see the links below from archive.org , the new documentation site for ServiceNow no longer has this info readily available).

     

    Configuring the Login:

    https://web.archive.org/web/20170208224027/wiki.servicenow.com/index.php?title=Legacy:Configuring_the_Login

    Content Management Security:

    https://web.archive.org/web/20150122092812/http://wiki.servicenow.com/index.php?title=Content_Management_Security

     

    Configuring the Login Screenshot:

    ServiceNow Login Rules.jpg

     

    Content Management Security:

    ServiceNow Login Rules Screen 2.jpg

     


    0 0

    Same request in vRA and ServiceNow plugin AWS Blueprint FAILS on plugin request.

    The following component requests failed: Amazon_Machine_1. Request failed: Machine HOSTNAME11: Failed Provisioning. Ensure that the AMI, Instance Type, and Availability Zone are correct. Exception: Object reference not set to an instance of an object

     

    Appears to be some issue with the subnet being passed.  We check off Subnet in a VPC and the actual subnet on the Catalog Request (same as the vRA portal).

     

    You can see we set the amazon_provisioninto and amazon_subnet_id on the requestData:

     

              "key": "amazon_provisionInto",

                                    "value": {

                                        "type": "string",

                                        "value": "subnet"

                                    }

                                },

                                {

                                    "key": "amazon_subnet_id",

                                    "value": {

                                        "type": "integer",

                                        "value": 23

     

     

    Below is the requestData passed:

    "requestData": {

            "entries": [

                {

                    "key": "provider-Amazon_Machine_1",

                    "value": {

                        "type": "complex",

                        "componentTypeId": "com.vmware.csp.component.cafe.composition",

                        "componentId": null,

                        "classId": "Blueprint.Component.Declaration",

                        "typeFilter": "AWSRHEL7useast1*Amazon_Machine_1",

                        "values": {

                            "entries": [

                                {

                                    "key": "Extensibility.Lifecycle.Properties.VMPSMasterWorkflow32.DeactivateMachine",

                                    "value": {

                                        "type": "string",

                                        "value": "__*,*"

                                    }

                                },

                                {

                                    "key": "memory",

                                    "value": {

                                        "type": "integer",

                                        "value": 3840

                                    }

                                },

                                {

                                    "key": "description",

                                    "value": null

                                },

                                {

                                    "key": "amazon_advancedCapabilitiesMode",

                                    "value": {

                                        "type": "boolean",

                                        "value": false

                                    }

                                },

                                {

                                    "key": "amazon_securityGroups",

                                    "value": null

                                },

                                {

                                    "key": "_hasChildren",

                                    "value": {

                                        "type": "boolean",

                                        "value": false

                                    }

                                },

                                {

                                    "key": "enable_amazon_network_options",

                                    "value": {

                                        "type": "boolean",

                                        "value": true

                                    }

                                },

                                {

                                    "key": "reservation_policy",

                                    "value": {

                                        "type": "entityRef",

                                        "classId": "Infrastructure.Reservation.Policy.ComputeResource",

                                        "id": "AWS EAST1 Policy",

                                        "componentId": null,

                                        "label": "AWS EAST1 Policy"

                                    }

                                },

                                {

                                    "key": "Extensibility.Lifecycle.Properties.VMPSMasterWorkflow32.Expired",

                                    "value": {

                                        "type": "string",

                                        "value": "__*,*"

                                    }

                                },

                                {

                                    "key": "machine_prefix",

                                    "value": null

                                },

                                {

                                    "key": "max_per_user",

                                    "value": {

                                        "type": "integer",

                                        "value": 0

                                    }

                                },

                                {

                                    "key": "Extensibility.Lifecycle.Properties.VMPSMasterWorkflow32.WaitingToBuild",

                                    "value": {

                                        "type": "string",

                                        "value": "__*,*"

                                    }

                                },

                                {

                                    "key": "amazon_location",

                                    "value": null

                                },

                                {

                                    "key": "Extensibility.Lifecycle.Properties.VMPSMasterWorkflow32.Requested",

                                    "value": {

                                        "type": "string",

                                        "value": "__*,*"

                                    }

                                },

                                {

                                    "key": "key_pair",

                                    "value": {

                                        "type": "string",

                                        "value": "0"

                                    }

                                },

                                {

                                    "key": "ebs_storage",

                                    "value": {

                                        "type": "integer",

                                        "value": 0

                                    }

                                },

                                {

                                    "key": "Hostname",

                                    "value": {

                                        "type": "string",

                                        "value": "HOSTNAME"

                                    }

                                },

                                {

                                    "key": "cpu",

                                    "value": {

                                        "type": "integer",

                                        "value": 2

                                    }

                                },

                                {

                                    "key": "property_groups",

                                    "value": null

                                },

                                {

                                    "key": "Extensibility.Lifecycle.Properties.VMPSMasterWorkflow32.InstallTools",

                                    "value": {

                                        "type": "string",

                                        "value": "__*,*"

                                    }

                                },

                                {

                                    "key": "Extensibility.Lifecycle.Properties.VMPSMasterWorkflow32.BuildingMachine",

                                    "value": {

                                        "type": "string",

                                        "value": "__*,*"

                                    }

                                },

                                {

                                    "key": "_cluster",

                                    "value": {

                                        "type": "integer",

                                        "value": 1

                                    }

                                },

                                {

                                    "key": "Extensibility.Lifecycle.Properties.VMPSMasterWorkflow32.MachineProvisioned",

                                    "value": {

                                        "type": "string",

                                        "value": "__*,*"

                                    }

                                },

                                {

                                    "key": "Extensibility.Lifecycle.Properties.VMPSMasterWorkflow32.Disposing",

                                    "value": {

                                        "type": "string",

                                        "value": "__*,*"

                                    }

                                },

                                {

                                    "key": "amazon_provisionInto",

                                    "value": {

                                        "type": "string",

                                        "value": "subnet"

                                    }

                                },

                                {

                                    "key": "instance_type",

                                    "value": {

                                        "type": "string",

                                        "value": "m4.large"

                                    }

                                },

                                {

                                    "key": "amazon_subnet_id",

                                    "value": {

                                        "type": "integer",

                                        "value": 23

                                    }

                                },

                                {

                                    "key": "ebs_storage_volumes",

                                    "value": {

                                        "type": "multiple",

                                        "elementTypeId": "COMPLEX",

                                        "items": []

                                    }

                                },

                                {

                                    "key": "Extensibility.Lifecycle.Properties.CloneWorkflow.CustomizeOS",

                                    "value": {

                                        "type": "string",

                                        "value": "__*,*"

                                    }

                                }

                            ]

                        }

                    }

                },

                {

                    "key": "provider-_number_of_instances",

                    "value": {

                        "type": "integer",

                        "value": 1

                    }

                },

                {

                    "key": "provider-_archiveDays",

                    "value": {

                        "type": "integer",

                        "value": 14

                    }

                },

                {

                    "key": "provider-_leaseDays",

                    "value": null

                },

                {

                    "key": "provider-providerId",

                    "value": {

                        "type": "string",

                        "value": "e15eee81-2a33-46d5-9021-872c862c29ef"

                    }

                },

                {

                    "key": "provider-providerBindingId",

                    "value": {

                        "type": "string",

                        "value": "AWSRHEL7useast1"

                    }

                },

                {

                    "key": "provider-subtenantId",

                    "value": {

                        "type": "string",

                        "value": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxx"

                     }

                }

            ]

        },


older | 1 | .... | 331 | 332 | (Page 333) | 334 | 335 | .... | 418 | newer