Quantcast
Channel: VMware Communities: Message List
Viewing all 231052 articles
Browse latest View live

Re: Retrieving AD policy from business group?

$
0
0

So I took the snipped of code posted by Hejahida82  and combined it a modified version of the built in action com.vmware.vra.ad\getPolicyConfig. The end result, grab the subtentantId from the blueprint, find the ad policy (name) associated with the business group, then lookup the AD policy to grab the distinguishedName property value. This is working in vra 7.6.

 

If anyone us curious, the reason I needed the DN is so I can use this as a parent OU. Then iterate through the sub OUs, and build a list to allow a user to select where to provision their VM in Active Directory.

It would probably be better to allow for a user to do this visually using the tree value picker element, but I didn't see a way to limit the tree to a specific parent OU. If anyone has ideas on this, I have a thread on that located here:  Custom Form - Tree Value Picker - Can I set the viewable scope?

 

 

var subtenantId = System.getContext().getParameter("__asd_subtenantRef");
var cafeHost = Server.findAllForType("vCACCAFE:VCACHost")[0];


//get the vCACCAFEBusinessGroup object(shown under Business Group (Deprecated) in the vRO inventory viewer)  
var businessGroup = vCACCAFEEntitiesFinder.getBusinessGroup(cafeHost, subtenantId);    
//get the custom properties of the business group object  
var adPolicyName =[]; 
var properties = businessGroup.customProperties;  
for each (var prop in properties){       if(prop.name == 'ext.policy.activedirectory.system.id'){            //the custom property name matches the AD Policy property name            adPolicyName.push(prop.value);            System.log('Found AD Policy assigned to BG with name: ' + prop.value);       }  
}  


if (!adPolicyName.length){throw "Business group does not have AD policy assigned!"}
if (adPolicyName.length > 1){throw "Business group returned multiple Active Directory Policies!"}


// Create REST client to ASD service
var restClient = cafeHost.createAdvancedDesignerClient();
var policyObject = null;


try {
     // Get request expanding template variables in order.     policyObject = restClient.getWithVariables("policies/hrid/{hrid}", [adPolicyName[0]]).getBodyAsJson();
} catch (error) {     throw "No policy with id '" + adPolicyName[0] + "' found. Error: " + error;
}


var ret = {};
// grab the values in the the AD policy
for each(prop in policyObject.properties.entries) {
     var val = prop.value ? prop.value.value : null;     switch(prop.key) {          case "ext.policy.activedirectory.domain":               ret.domainName = val;               break;          case "ext.policy.activedirectory.orgunit":               ret.ouDN = val;               break;          case "ext.policy.activedirectory.endpoint.id":               ret.adHostId = val;               break;          default:               System.log("Unrecognized property '" + prop.key + "' with value = '" + val);     } 
}

return ret;

Re: Mac Catalina and Fusion Has Black Screen

$
0
0

Thanks so much for this ProjectFlameX! I was finally able to get the screen recording privacy setting enabled. Unfortunately, even with the screen recording setting enabled I'm still getting the black screen on my virtual machines. Any ideas on what else I can do? Happens with both VMware fusion 11 and 10. Thanks so much!

Re: vCenter vCSA DNS ip change related issue

$
0
0

any luck? let me know your feedback when you get a chance

Re: vCenter vCSA DNS ip change related issue

$
0
0

sorry for not updating, lot of things going on at the same time

 

I can able to resolve vcenter from inside vCSA and also outside

 

we are investigating on it as a team but changing DNS ip is very simple task which should not break AD integration correct?

 

Thank you,

Volga.

Re: vCenter vCSA DNS ip change related issue

$
0
0

well, technically changing DNS ips should not break existing AD integration and you should able to log-in to vcenter using AD account along with local account

 

I have not seen stating it in Known issues but don't worry

 

Thumb rule, revert to old snapshot [where no changes happened to vcenter] if you can live with using old DNS IPs 

 

let me try something here from my side if I can replicate this issue

 

vcenter version is 6.7 U2 correct?

Re: OS X Yosemite on VMWare Fusion 11.1.0 on Mojave Host

$
0
0

I have similar config. 

VMWare Fusion 11.1.1. 

Mojave (10.14.6) host. 

Yosemite (10.10.5) guest

 

VMWare Tools at first won't install ("The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.")

 

I found elsewhere that this is because of OS X security, and it will install from the command line using this:

 

sudo installer -dumplog -verbose -allowUntrusted -pkg "/Volumes/VMware Tools/Install VMware Tools.app/Contents/Resources/VMware Tools.pkg" -target /

 

Terminal reports success, and after restart the menu says "Upgrade VMWare Tools" instead of "Install..."

 

But the "Resize the virtual machine and the window"  or "Resize the virtual machine to fit the screen" won't work.  Virtual machine resolution stays 1024x768 no matter what I do.  Mouse is very slow.  Everything continues to behave the way it behaves when VMWare Tools is not installed. 

 

In Activity Monitor, vmware-tools-daemon is running.  no other vmware processes appear to be running (I'm not sure if any others should be...?)

 

I'm doing the same thing:  Working on older software for a client that requires Yosemite or lower.  Part of the point of virtual machines is being able to run other operating systems, right?

 

To VMWare support people... What do I have to do to get this to work?  Is there any reason this shouldn't work?

 

Thanks.

Re: SME: vMotion Error

$
0
0

I can't imagine we've troubleshooted it for hours via cli, we've missed to enable the service from the beginning as we've changed some designs on the Lab.

 

another question regarding vMotion, we know that vpxd service that enables us managing hosts where's vMotion service configuration file?

Is it under /etc is it embedded or hidden or so ?

Re: Outlook PDF Previewer disabled

$
0
0

Hi QuanShen,

 

Windows Defender Firewall is already enabled.

 

The registry fixes across various forums are already in place with no change.

 

The only thing that seems to fix it is by opening Acrobat Reader before opening the PDF previewer as mentioned in the original post


Re: vCenter vCSA DNS ip change related issue

$
0
0

Unfortunately we did not have VM snapshot of good state, who thinks we will have this strange issue

 

yes correct we are on 6.7 U2 as vCSA, thanks for trying to replicating issue, let me know if you need any more information

Re: Question on VSAN backup/replication

$
0
0

I have created your question as an idea "VSAN feature "

 

let see if you get any reply's, even I am not aware any application required whole datastore or resource pool replication

Re: Question on VSAN backup/replication

$
0
0

yes daphnissov I think PAS uses some S3 type of storage [ECS buckets] for backups

 

Regards,
Vkmr

Re: The ramdisk 'tmp' is full.

$
0
0

That's a known issue with qLogic driver that creates a massive log fiel and fills up the /tmp folder.

 

To resolve the issue, upgrade the QLogic driver on the ESXi host.

 

The workaround is to delete the ql_ima.log file and then you will need to restart management services on the ESXi host to release the space in /tmp folder.

 

To restart the management services, SSH to the host and run "services.sh restart"

 

** Generally restarting management services won't impact running VMs on that host. but in some cases it can cause issue i.e. when using LACP in vDS. So check and make sure that it's safe to restart management services beforehand.

 

Alternatively you can restart hostd and vpxa services by running:

 

/etc/init.d/hostd restart

/etc/init.d/vpxa restart

 

To check the disk space, SSH to the host and run "vdf -h"

 

 

Also if you cannot upgrade the qLogic driver due to hardware compatibility etc. you can create a cron job to delete the ql_ima.log file every day which will prevent /tmp folder from filling up.

Re: PowerCLI v11.3.0.13990089 InvalidCertificateAction not Working...

Re: NSX manager to lookupservice and vCenter connection issue

$
0
0

I'm seeing the same issue. Unable to connect localhost:7441 on the NSX manager 6.4.0

Here is the screenshot of "show cluster all" and "show manager log" command on NSX.

Re: Could not open /dev/vmmon: Broken pipe.

$
0
0

That did the trick for me. Thanks for taking the time to reply.


Re: macOS Catalina issue [beta]

$
0
0

In another thread, ProjectFlameX has another solution which worked for me.  One recommendation though...  Run each of the commands individually as some of them will need a password.

 

Hey guys.

 

After hours of research this solution works for me:

 

1. Install VMWare.

2. Restart computer and go to Recovery Mode (hold CMD+R when computer starts until you see an Apple logo).

3. Go to top menu and choose Utilities and then Terminal.

4. Turn off SIP with this command:

     csrutil disable

 

5. Go to top menu and choose Apple Logo and the Restart.

6. After macOS starts normally open /Applications/Utilities/Terminal.app and paste this commands:

     tccutil reset All com.vmware.fusion

 

     sudo sqlite3 "/Library/Application Support/com.apple.TCC/TCC.db" 'insert into access values ("kTCCServiceScreenCapture", "com.vmware.fusion", 0, 1, 1, "", "", "", "UNUSED", "", 0,1565595574)'

 

     sudo sqlite3 "/Library/Application Support/com.apple.TCC/TCC.db" 'insert into access values ("kTCCServiceListenEvent", "com.vmware.fusion", 0, 1, 1, "", "", "", "UNUSED", "", 0,1565595574)'

 

     sudo sqlite3 "/Library/Application Support/com.apple.TCC/TCC.db" 'insert into access values ("kTCCServicePostEvent", "com.vmware.fusion", 0, 1, 1, "", "", "", "UNUSED", "", 0,1565595574)'

 

7. Go to Recovery Mode (hold CMD+R when computer starts until you see an Apple logo).

8. Go to top menu and choose Utilities and then Terminal.

9. Turn on SIP with this command:

     csrutil enable

 

10. Restart.

Need Help - Setup failed to extract the files necessary to install VMPlayer

$
0
0

I'm getting this error while install vmplayer.

 

Please help as i cant figure out what need to be done to vercome this error.

 

Error Msg - Setup failed to extract the files necessary to install VMPlayer

 

Capture.PNG@

Re: VMware 4.1 a 5.5 HP Proliant 350 g5

$
0
0

Captura.PNGThank you very much for your help, I was able to lift a part of the machine the vmdk disks of a partition is bad it doesn't read them, I'm trying to upload it to my datastore, but the process is very slow, there is another way to upload those files faster thanks

Re: EXSi 6.7 - Fail to power one one VM for "There are insufficient licenses to complete this operation".

$
0
0

You won't be able to change the VCPU count if the machine is running as the free license does not license the HA module.

Log Insight Importer behaviour when "re-importing" log files.

$
0
0

Hi There,

 

Hopefully a simple question.

 

I have a server that has a scheduled task each day to download compressed log files (.gz) from a remote host and it is hoped we can ingest them into Log Insight. The local file server location is "synchronised" to the remote host - i.e. there are several months of log files at the remote host, and only new files are downloaded and added to the local file server.

 

My reading says that the Log Insight Agent cannot handle compressed gz files, and that Log Insight importer is a better option.

 

My question is if I told a task to re-import the entire log file directory each day, is it going to re-ingest all the data over and over again, or is there some sort of deduplication that will ensure duplicate log entries generated are ignored?

 

If there is no de-duplication, then  I guess I will need to write some additional smarts into my scripts to only ingest the new files

 

Thanks

Viewing all 231052 articles
Browse latest View live


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