Groups of dynamic Machine in VCM
Hey guys, I need a little help with dynamic groups creations Machine in VCM. I need to create a group of Windows computers to patch the features and who must be a group of machines that are members of an Active Directory group. Simple like that! I tried to create a group filter Machine Windows and tried to use Windows filter Group and member of the group, but without success. Has anyone with some experience in this feature and could help me with this?
It takes a bit of work, but once it is in place, you can use this method to create dynamic groups for pretty much everything that you can imagine.
1. on all servers in your environment, create a key "reg", i.e. groups HKLM\SYSTEM\CurrentControlSet\Software\VCM. Fill this key with properties you need to use dynamic groups, IE ProdPatch1, Client, Application, etc... Enter values for the properties, IE customer = accounting
2 VCM - under the Admin tab, Settings\Asset Extensions\Hardware peripheral Items\VCM Configuration, click Add, select dynamically populated, in the field of SQL query, add the following query:
SELECT @return_value = (select reg_value from [dbo]. [ecm_view_rpt_registry_data]
where reg_path = '[insert the path reg key, you created here]. "
and reg_property_name = ' [insert the name of the property you have created here]. "
and machine_id = @machine_id)
Click next and finish. Make a collection of registry. You may need to add a filter pointing your newly created key. Once the collection completed, return Admin, Items\VCM Configuration Settings\Asset Extensions\Hardware devices tab and click "refresh the dynamic fields. It may take some time to complete. Once the update is complete, you will see one or more new columns (depends on how much you have created) in tab console under Asset Extensions\Hardware Configuration Items\VCM devices.
Now for the creation of dynamic groups!
On the Administration tab, select the location that you want to create your new groups, i.e. Machines Manager\Machine/object Groups\All Machines\All Windows Virtual Machines
Create a new group, i.e. Patching
Expand the new Patching group, click filters and add a new filter. For the "Data Type", select "Asset Extensions (VCM Devices)", then, click the menu drop-down and select the property that you created and the operator you want to use the value of the property that you want to use.
Click on 'Members' and 'refresh Members '. He must fill with endpoints of interest.
I hope this helps!
Tags: VMware
Similar Questions
-
Dashboard for a group of virtual machines
I want to create dashboards customized for groups of virtual machines. These virtual machines will generally be a grouping of servers to make a request.
For example lets say I have 6 Web servers that make up Webapp1. and I want a dashboard that shows me the metrics of just these 6 servers.
What is the best way to do it? In general, we organize the virtual machine in files that represent the application.
The dashboard would be your typical metric memory, cpu, storage (load) CPU Ready ect.
Probably, there are two ways to go about it, here, my preferred approach is to use a service.
A Service is a logical grouping of components in Foglight.
When you build a service, you can specify which domain, it is a part of.
In this example, I create a gtest service
Specify that it is a part of the domain of vmware
and then add virtual machines
It looks like this
Then I can just look at virtual machines in the service of the dashobard of the virtual environment by selecting the gtest service
If I want, I can also create a dashboard and drag the getServiceVMs to the main view
In the tree on the right data access to all categories of services and search service.
Drag the getServiceVMs to the dashboard feature
and select a model that works for me (as the summary lite)
Or create a table with the right information (similar to this)
The result will look like this
Hope this helps
Golan
-
I try to write a compliance rule that can add an Active Directory group to a local group on a machine. For example the addition of our group of COMPUTER security in the local Administrators group on some machines.
Any help with this would be greatly appreciated.
DK
The name refers on behalf of the group, so the first line is correct, but you must change the other Member who appoints the members of the group. It would be like this, 'Member AS Server Ops % '. I'm guessing that server Ops is a security AD Group, then you could also do "members = DOMAIN\Server Ops. Usually best to select by pressing the 3 points and choosing from the available groups to make sure that you do not have typo and you have selected the correct attribute.
-
How can you fill ListBox with channel group name dynamically?
I built a GUI in the 'View' pane that acts as a large table of contents. At the top of the GUI, there is a list box I want to dynamically fill with Group channel names loaded in my data portal (internal data). I can't generate the necessary code to do this. Currently, I use a ListBox control. Can I use an EnumListBox instead?
The purpose of the list box should allow fast loading data which must be analysed in several sheets (also in the part of 'View') for comparison side by side rather than drag and drop data into each individual record.
Any help would be appreciated,
Thank you
~ Nathan
Attached is a screenshot of the GUI I hope it helps.
Hey Nathan--
Have we met yet? Don't think that I will remember to see you post on the forums of tiara so far (or remember you I meet someone named Nathan in person recently). Welcome to the forums of tiara!
There are a few things that you need to change about your code snippet-
- The reason why you get the error "object required: ' [string: 'filename']' is because the Set command expects that the right side of an expression returns an object (you define your variable to)." In your case, you return a string (the name of a group), not an object. Simply remove the Set command.
- The ListBox.Items.Add () method requires two parameters - the first is the text of the item to insert in the list, and the second is a value to assign to this point (you can do single).
As a result, to more directly match your code snippet to the labour code, follow these steps:
Dim listNum, names
We = 1 to GroupCount
Name = GroupName (listNum)
Call selectData.Items.Add (names, we)
NEXTNote that you can also use object programming oriented with the data object that represents the data portal, it is easier for you to avoid remembering variables such as GroupCount and GroupName DIAdem (that's me):
Dim listNum
We = 1 to Data.Root.ChannelGroups.Count
Dial selectData.Items.Add (Data.Root.ChannelGroups (listNum). Name, we)
NEXTYour project is looking great - let us know how we can continue to help and keep us updated!
-
Retrieve a list of virtual machine is in a group of virtual machine DRS
Hello
I want to retrieve a list of virtual machines in a virtual machine DRS group. I found the following oneliner, but the result is empty. I used Powercli 5.5 release 1 and vSphere 5.5 update1
(Get-Cluster CLUSTER). ExtensionData.ConfigurationEx.Group |? {$_.vm} | % {' GROUP ${$_.name} found in this cluster "; foreach ($CurrentVM to $_.vm) {(Get-view-id $CurrentVm) .name}}
Need help
No problem, we add an additional condition to the Where clause
$clusterName = "MyCluster"$vmGroupName = "VMgroup" (Get-Cluster -Name $clusterName).ExtensionData.ConfigurationEx.Group |Where {$_ -is [VMware.Vim.ClusterVmGroup] -and $_.Name -eq $vmGroupName} | %{ Get-View $_.VM | Select @{N="VMgroupVM";E={$_.Name}}}
-
Can we have a vote of group based on a dynamic list which is the output of the previous human task? Please suggest
Thank youTry switching to a comma-separated string that contains the list of Userid you captured in the previous human task in this human task.
As you set to hear it at the same time, you want to generate the list of participants using the names and expressions. Specify that you want what he defined by user and by name and use the string separated by commas as the value.
Dan
-
The list of all virtual machines to a host group in Virtual Machine port group
Ladies and gentlemen,
I would like to create a powershell script to list all my virtual machines to a host, but a group of Machine virtual PortGroup... It is possible...? I see only found Internet see the VirtualPortGroup of the host...
Thanks in advance & looks
All your VMS have a mapping single portgroup or it not with multiple NICs on different port groups?
If they are all the same, then the following should work:
Get-VM | Select Host, Name, @{N="PortGroup";E={$_.NetworkAdapters[0].NetworkName}} | Sort PortGroup, Name, Host
If you found this information useful, please consider the allocation of points for correct or helpful.
Alan Renouf
-
CheckBox group in dynamic LOV-based form
I try to add a set of check boxes to a form and have problems to get the data incoming or outgoing check box group. I try to use the check boxes to view the transactions that are affected by a specific notification. The table relation is a number to-many between the REG_NOTIFICATION and MISC_VALUES tables with the table NOTIFICATION_LINK providing the link-to-many. I've defined something (P950_REG_TRX) on the form as a checkbox and connected to my named dynamic LOV. The LOV source is:
SELECT DISTINCT MISC_VALUES_DESC display_value, MISC_VALUES_CODE return_value
of MISC_VALUES
WHERE MISC_VALUES_CODE_TYPE = 'REG_TRX. '
order by 1
and he correctly generates the boxes with their labels. So far, so good!
I've set up a page called GET_REG_TRX rendering process. It is an anonymous PL/SQL block and looks like:
declare
as_check_box htmldb_application_global.vc_arr2;
I integer: = 1;
Start
for r in (select MISC_VALUES_SEQ_ID
of NOTIFICATION_LINK
where NOTIFICATION_SEQ_ID =: P950_NOTIFICATION_SEQ_ID) loop
as_check_box (i): = r.MISC_VALUES_SEQ_ID;
i := i 1;+
end loop;
+: P950_REG_TRX: = htmldb_util.table_to_string (as_check_box, ' :');) +
end;
When I run the application, the form fills correctly except for the boxes. They remain empty. I checked the State of Session data and P950_REG_TRX contains a set of colon delimited numbers that correspond to the data in the MISC_VALUES table. So why not showing that the checked checkboxes? _
I also added a page that deals with the process for updating the database when the boxes were changed. It is also not update the NOTIFICATION_LINK table. Here's the source for the process:
declare
as_check_box htmldb_application_global.vc_arr2;
Start
delete from NOTIFICATION_LINK where NOTIFICATION_SEQ_ID =: P950_NOTIFICATION_SEQ_ID;
as_check_box: = htmldb_util.string_to_table (: P950_CHECKBOX, ' :');)
because me in 1.as_check_box.count
loop
insert into NOTIFICATION_LINK (NOTIFICATION_SEQ_ID, MISC_VALUES_SEQ_ID)
values (: P950_NOTIFICATION_SEQ_ID, as_check_box (i));
end loop;
end;
The part of the removal of this process works, but not the part of the update. So, what's the problem here?
I'd appreciate any help I can get on it.
BTW - I followed the instructions clearly written in Simple HTML-DB Oracle Application Express of the Rampant to this day.Hello:
What is the point of process for the page process that fills the box run? Make sure it is before that regions are rendered.
In the post send process page reference you a page named 'P950_CHECKBOX', element while in the rendering of page-process page, you reference the item "P950_REG_TRX". Which of them is the checkbox element?CITY
-
Problems after editing a Subvi containing a group of dynamic user events
Hello
I like the dynamic events in graphical interfaces as a means of code reuse. But this can lead to recording a lot of dynamic events. To handle this, I have a Subvi, which saves them for me. A typical looks like this:
Can I use it something like this...
The first time I do it, it works really well and keeps my code (relatively) pad. The problem that I have met a few times is changing the Subvi. Suppose I have add a new event. Now my "Event Registration refnum' and 'User events' cluster outputs are broken. No problem: remove those, create new ones, bind them to the output terminals. Fine. Now go to the appellant. Maybe I again to clear some unwanted and rewire here and there due to type definitions. Cool, actually. Regard to the block diagram is, that everything will be OK at this stage; There is no broken wires. However, there always pesky errors saying "generate the user event: contains terminal unwired or bad.
It's obviously some kind of conflict def guy in a mask. I'll generally through the entire schema tearing wires, knots, generate screws of user event, event loops, cluster unbundlers, works. So I have this code all back in hand. This arrow always gray. I'm going to compile mass once or twice. Still a no-go. Make a new VI and copy the code in there. The same problem.
I have encountered this problem several times and don't think I've ever hit to the solution. Finally, I just go back to before the changes and give up.
Any idea what's going on? How to get it out?
Thank you
Nick
The error is because the Terminal event data are left not connected to generate the user event which is Terminal type required: https://zone.ni.com/reference/en-XX/help/371361H-01/glang/generate_user_event/
-
Hi dear all virtualization expert
are you know or have a solution for this?
It's important I
Hello
You can try something like this...
In vSphere client, choose display of virtual machines and templates.
From there create a folder unless you already have one and move the virtual machines in question in this case. (you can also select a host, it must not be a folder).
In the upper pane, select the virtual machines when you have selected the folder, or the host. You can select more than one virtual machine and right-click-> comments-> installation/upgrade to update VMware tools.
I hope this helps.
-
grouping and segragating groups of virtual machines
I have a four-node cluster. I have a set of virtual machines, say a1, a2, a3 and another set b1, b2, b3.
I want to keep a1, a2, a3, together on a host and b1, b2, b3 on another game. Is there an easy way to do that without having to create 5 rules for each virtual machine?
I think it will work, but keep in mind the operational complexity, that this facility will create.
-
number of dynamic interfaces in a group of interfaces regarding 8510 controllers
I have a controller 8510, is it possible to club 130 dynamic interfaces in a single interface group?
I guess a single interface group can have 64 dynamic interfaces, if there is a way to club 130 dynamic interfaces in a group unique interface, please suggest.
I suggested to my client to create two interface group, a dynamic group of 64 can interfaces each, but he suggested the following
- If the interface of several groups to be created, rules of correspondence ACS must make the same number (access policies ACS allowing only 1 name of Air Interface [interface group] in line with the strategy)
- Having several access policy for the Group of users even identify unknown factors in the distribution of access requests between two or more access policies where they the same group of service users
Hello
Yes, you just... you can have a max 64 interface in a group of interfaces:
Here is the reference (table 2): http://www.cisco.com/c/en/us/td/docs/wireless/controller/technotes/8-1/8...
So you cannot combine all the 130 dynamic interface in a group.
According to my experience: one solution is to use 2 SSIDS and each ssid must have a group of interfaces (64 interfaces).
Concerning
Remember messages useful rates
-
Dynamic group membership query
Hello
I'm looking to set membership in a group for an existing installation of EM.
I don't want to use administrative groups that we have really not state of the lifecycle or other properties of the set target, and I don't want to put everything right now (we have several targets on single servers, over 100 on 1 Server).
Therefore, I was interested in the use of dynamic groups for DB services, e.g. dynamic group DB_APP1 where target name was like '% APP1.
I do not see this property in the dynamic groups, rather dynamic group properties are determined by the membership criteria (e.g. target =, on the host type = y)
vs
The normal groups where I can search for all the targets called "APP1%.
is there any criteria of dynamic search by name of the target in dynamic groups?
Thank you
Looks like we don't have direct Option.
http://docs.Oracle.com/CD/E24628_01/doc.121/e25353/whats_new.htm#EMCON142
2.2.3.1 dynamic groups
Note:
This feature was new in Enterprise Manager Cloud Control Release 2 (12.1.0.2).
Dynamic groups to create groups based on membership criteria. Criteria for membership is based on the properties target as target type, the life cycle State, Department, target version and so on. Targets whose properties match the criteria of a dynamic group are automatically added to the dynamic group.
Dynamic groups facilitate management groups. Administrators do not have to define the criteria for membership in the group only once and Enterprise Manager automatically adds or removes the target to or from the appropriate dynamic group.
But,
We can choose based on observation, while adding, if mention us the search string in the comment as "APP1" and mention that the same comment of the dynamic group will help.
Concerning
Krishnan
-
The dynamic Types and Inventory Item Grouping
Hello
I'm provisioning different types of objects using dynamic Types and vCAC 6.1. In the tab "Items" vCAC, all objects of type dynamic are grouped under a kind of left, "Dynamic Types".
For an example, I'm provisioning two dynamic types:
-Volumes of block Vipr
-View horizon 6 workstations
If I set one of each of these types, they are both grouped under "Dynamic Types" in the agenda of the inventory tab. Is it possible to have all of these types under different groups? So, the volumes of vipr go "block Volumes; and work stations go under 'VDI Desktops'?
I have attached a screenshot, and you can see that the volume 'Test vCO DT' block and the Office of vdi "Win7vCAC-v012" are both under the group "Dynamic Types" on the left. I want to separate these is easier for a user to view their items commissioned by type.
I have custom resources defined for each of these dynamic types, but it still doesn't seem properly the group.
Thank you
Well, for someone who wants to know... you can do this via the DB unit.
You need to add a new type of parent to the cat_resourcetype table, and then associate your custom and dynamic type in this same table with the parent in the parent_id field.
-
As the title, we feel when capturing instant timestamp for virtual machines in a protection group.
Which means a group of database servers, applications, and others, when drill us test to start the virtual machines in the recovering site files timestamp in the virtual machines are varied.
Snapshot work is executed simultaneously for all virtual machines in the group when planning replication hit? Or is it because certain virtual machines (like DB) speak more time to complete the snapshot so than others like apps VM completed early?
Anyone hit this problem? We use vSphere replication instead of array based replication.
Thanks /.
Dylan
Hello
It is a behavior expected with current versions of vSphere replication - replication source host Scheduler is not aware of any grouping of virtual machines and starts the replica instance to meet the RPO requirements. The decision when to start a new instance is based on the time of loading and transfer to some of the previous instances.
Multi-vm coherence is on the roadmap for a future release and will describe what exactly you address issues.
If you use VR 5.5, you may use multiple points depending on the time (JEREMIAH) and after switching some of the old machines instances (represented by VM snapshots) to match the State of the other machines.
Kind regards
Martin
Maybe you are looking for
-
Where can I get a software driver for my external monitor
-
Deleting a virus? Mackkeeper?
On a old computer backup (Applecare long since expired) an insidious message keeps popping up that looks as if it was planted there by Mackkeeper, I've tried stupidly years there. I will try to attach a message that keeps popping up. How can I get ri
-
Hello I'm developing a Web site with some text requiring only the alphabets or alphanumeric text boxes to be accepted. I use the DevExpress controls and here is the javascript code that runs on keypress function fn_allowAlphabetspace (s, e) {} var th
-
Satellite A300-19O - replacement ODD
Dear users, I'm new to this forum. Here's my problem: I'm looking for the exact reference of the optical disc for my Toshiba driveA300-19O (model PSAJ4E). The shape of it is unique, that's why I'm very worried about getting a player who wouldn't be g
-
Acer Iconia tab upgrade 10 (A3 - A20)
I received a notification to upgrade my tablet, after the upgrade, it is still on KitKat, thought that it would be upgraded to lollipop as mentioned on: http://www.pcadvisor.co.uk/reviews/tablets/3601426/acer-iconia-tab-10-review/