Quantcast
Channel: VMware Communities: Message List - vRealize Operations Manager
Viewing all 14433 articles
Browse latest View live

Re: Query related to vROPS health check

$
0
0

May i know what is the versions of vROPS and vCenter server build number you are using?


Re: Query related to vROPS health check

$
0
0

Actually it is related to vCheck heath script, not vROPS.

Re:ResourceConfig.getStatus does not exist. Is there any other way to get collection status of a resource object?

$
0
0

Hello

Try to mark object/resource as "Not Existing" by removing it from discovery result - you don't need to set RESOURCE_STATUS_NO_DATA_RECEIVING from adapter code.

Re:ResourceConfig.getStatus does not exist. Is there any other way to get collection status of a resource object?

$
0
0

Hi RobertMesropyan,

Thank you for your response.

 

I think you mean, loop through all the resources from DiscoveryResult.getResources(String adapterKind) and then remove some of them which are not satisfying some condition.

But, under what condition should I remove the object/resource from discovery result?

 

There are VMs on which users login, run some processes and after they log out, the processes are still shown in inventory explorer in with RESOURCE_STATUS_NO_DATA_RECEIVING as can be seen in the image attached in question.

 

If I am missing something please correct me.

Thanks!

Re:ResourceConfig.getStatus does not exist. Is there any other way to get collection status of a resource object?

$
0
0

Hi, for your case this code sample is more suitable, please try it:

               ResourceConfig resourceConfig = adapterCache.getMonitoringResource(resourceKey);

                if(resourceConfig == null) {

                    resourceConfig = adapterCache.getStoppedResource(resourceKey);

                }

                if(resourceConfig != null) {

                    changeResourceState(resourceConfig, DiscoveryResult.StateChangeEnum.NOTEXIST);

                }

               ResourceConfig resourceConfig = adapterCache.getMonitoringResource(resourceKey);
                if(resourceConfig == null) {
                    resourceConfig = adapterCache.getStoppedResource(resourceKey);
                }
                if(resourceConfig != null) {
                    changeResourceState(resourceConfig, DiscoveryResult.StateChangeEnum.NOTEXIST);
                }

Re:ResourceConfig.getStatus does not exist. Is there any other way to get collection status of a resource object?

$
0
0

Hello RobertMesropyan,

 

From what I can gather by looking the code, I think here you are getting ResourceConfig of "Stopped Resource" and then marking it NOTEXIST.

Then shouldn't the code snippet be like this:

ResourceConfig resourceConfig = adapterCache.getMonitoringResource(resourceKey);

if(resourceConfig == null) {

     resourceConfig = adapterCache.getStoppedResource(resourceKey);

     if(resourceConfig != null) {

          changeResourceState(resourceConfig, DiscoveryResult.StateChangeEnum.NOTEXIST);

     }

}

 

Since, otherwise all the resources state will be marked as NOTEXIST? or is it the case that the line

ResourceConfig resourceConfig = adapterCache.getMonitoringResource(resourceKey);

gives ResourceConfig of objects which has stopped collecting?

 

Please explain if I'm wrong.

Also if you can share any sources for reading about ResourceConfig, AdapterCache, etc will be very helpful.

 

Thanks!

Re:ResourceConfig.getStatus does not exist. Is there any other way to get collection status of a resource object?

$
0
0

Hello, yes, are correct - I just tried to show you the main idea.

Wiht regards to "Also if you can share any sources for reading about ResourceConfig, AdapterCache, etc will be very helpful." - all SDK related staff can be found under https://code.vmware.com/group/sdk/8.0/vrealize-operations, it's cannot be shared in public area.

From Datastore to Datastore Cluster

$
0
0

Hello everybody,

 

i hope its not that complicated and i just miss a point in this.

 

What if done:

 

Create a Custom Group which includes Datastores with less than 200 GB of diskspace left.

Create Dashboard an put a view on it which shows me all datastores in this Group with information Like Name, Total Capacity, Used Capacity, Free DiskSpace or if Snapshots on this lun.

 

What i would like to do next.

 

I would like to click on the specific Lun and than i would like to fill outer views or object lists on the dashboard with informations like..

 

In which Datastore Cluster is the DS located?

Which other Datstores are in the Cluster an how do the look like?

 

What would be awesome if i could do this all in one view and the information just change while im clicking on the objects.. but i know its not possible so it would be ok if i had to create two new views which one of them show me the datastore and the next shows me the luns in the datastore.

 

At the end.. the question is..

How can i show the Datastorecluser of a Lun whit Dashboard intreactions in an new view of my dashboard?

 

Greetings..

 

feix


Adding Resource Pool and Application Name to VM's with Custom Property

$
0
0

Hi all,

 

We did this recently and thought I’d share - mainly to glean if this is an efficient way of doing this, or I’m missing something.

 

In previous versions of vROps we struggled reporting on Resource Pools and Application names because we couldn’t work out a way of including this information on existing VM reports.

 

We recently upgraded to vROps v7.5 and have been using the Custom Property feature.

 

We created Custom Groups of the resource pools like this: http://www.vmignite.com/2016/03/vrops-6-creating-groups-by-vm-folders-resource-pools-for-reports-and-dashboards/ and added these two custom properties (Resource Pool name and the vCPU:pCPU ratio target for the group).

 

We did similar for Applications, but added the Custom Property in the Administration, Inventory screen:

 

This allows us to report on VM’s like this:

 

And we created a Super Metric to calculate total pCPU allocation for a VM:

 

 

Lastly, we also created a Super Metric for the Custom Groups to sum the pCPU:

 

Feel free to give any suggestions if I’m over complicating this.

 

Thanks,

Mike.

Windows Licensing Super Metric

$
0
0

Hi.

 

Im trying to create a view that lists total number of VMs pr host / Cluster or Datacenter. But I only want the sum to be servers that require Windows server licensing based on "Guest OS"

I can't find a way to do this without a Super Metric, have anyone else done this or have any tips on how to create the metric?

Re: From Datastore to Datastore Cluster

$
0
0

Hi,

 

You will need to use an object list to "wire" the views. A view does not have the input transformation as "usual" widgets have.

Something like this:

 

 

The interaction would be:

 

 

And you use an input transformation in the object list:

 

 

And an output filter:

 

 

Hope this helps.

 

Thomas

export VM cpu/mem % performance in csv

$
0
0

Is it possible to script export of a bunch of VMs from vrops (cpu% and memory % ) for x days in csv format? one file per vm?

Re: export VM cpu/mem % performance in csv

$
0
0

I am looking at the vrops export tool and I cannot find mem Demand pct

 

any idea how to get that in percentage?

Licensing group based on OSI but hosts get "invalid license" watermark

$
0
0

In vROps 6.7 I would like to create a license group based on OSI (vm), not CPU (host). I do not have enough licenses based on host cpu, but I do have enough licenses based on the number of vms.

 

In the license group, if I only create a Virtual Machine criteria then all my hosts have the "invalid license watermark". When I add a second criteria in the license group with an OR and select "Host System", then the watermark disappears but a warning comes up about not having enough CPU licenses.

 

Questions:

1. In my understanding, licensing on the vm level also means all hosts they run on are licensed, correct?

2. If so, how should I setup the license groups to accomplish this?

Re: vROPS configuration for workload placement in vRA

$
0
0

I am facing the same issue. Error in placement policy in vRA. Can anyone help


Re: export VM cpu/mem % performance in csv

$
0
0

Hello,

 

Using the export tool, the following will extract some basic virtual machine metrics, along with some metrics from the hosts they are running on :

./exporttool.sh -H https://vrops-01.lab.local -u admin -p topsecret -d ../samples/vmfields.yaml -o Export.csv -i

Re: View / Report to Display ESXi Host Licensing

$
0
0

That sounds like it would work, but I think this should really be a feature request--the vCenter Adapter should be able to pull licensing info.

Does one VROPS Setup can be integrated with two instances(Test/Prod) of ServiceNow

$
0
0

we have only one setup for VROPS and no test environment, thus do we have any mechanism that VROPS setup can be integrated with two instance (Test/Prod) of ServiceNow.

 

Thanks

Sandeep.

Re: From Datastore to Datastore Cluster

$
0
0

Works like a charm

 

Thank you for the fast response.

Optimization Status is Unknown in vRealize Operations Manager.

$
0
0

I have a vRealize Operations manager server.

And add a vCenter.

 

When I select Home > Workload Optimization on the server websit.

The Optimization Status is Unknown.

Why? what should I do?

1.PNG

Viewing all 14433 articles
Browse latest View live


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