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

NSX-T Creating Groups based on AD Groups using PowerCLI

$
0
0

Can someone help me figure out how to use PowerCLI to created groups in NSX-T 3.0 (or 2.5) that are based on AD Groups?  I can do it fine in the gui, but need to script it with powerCLI.

 

Here is what I have so far.  I think the error is how I specify the DN and Base DN.  I think those are required based on the info I pulled using Postman.

 

   #Create Group - User - AD (IDFW)
   #Variables
   $groupdomain = "default"
   $groupid = "Lab - $UserName - AD Group"
   $dn = "CN=KAhnemann-NSX,OU=NSX Groups,OU=Groups,OU=AccudataLab,DC=AccudataLab,DC=com"
   $basedn = "DC=AccudataLab,DC=com"
   $groupmember_type = "IdentityGroup"
   #Retrieve Group Information
   $groupdata = Get-NsxtPolicyService -Name com.vmware.nsx_policy.infra.domains.groups
   #Set Group Variables
   $groupspecification = $groupdata.Help.patch.group.Create()
   $groupspecification.display_name = $groupid
   $groupspecification.description = $description
   #Add Group Member Variables
   $groupexpspecification = $groupdata.Help.patch.group.extended_expression.Element.condition.Create()
   $groupexpspecification.member_type = $groupmember_type
   $groupexpspecification.key="Tag"
   $groupexpspecification.operator = "EQUALS"
   $groupexpspecification.member_type = $groupmember_type
   $groupexpspecification.domain_base_distinguished_name = $basedn
   $roupexpspecification.distinguished_name = $dn
   $groupspecification.extended_expression.Add($groupexpspecification) | Out-Null
   #Add Powercli TAG to Group
   $grouptag = $groupdata.Help.patch.group.tags.Element.Create()
   $grouptag.tag = $powerclitag
   $groupspecification.tags.Add($grouptag) | Out-Null
   #Add User TAG to Group
   $grouptag = $groupdata.Help.patch.group.tags.Element.Create()
   $grouptag.tag = $usertag
   $groupspecification.tags.Add($grouptag) | Out-Null
   #Create Group
   $groupdata.patch($groupdomain, $groupid, $groupspecification)

Re: Error: Module 'Monitor' power on failed. Failed to start the virtual machine.

$
0
0

Hello Guys,

 

I've just had the same problem and it turnes out that it is in fact a Vanguard influence in how virualisation takes place. Vanguard scans machine from its kernel so that there will be no cheats unnoticed. It can also tend to see virtualisation as a possible threat and does things to cut off possibility to proceed any of this. It may be the case that other core-intrucive programs could block startup of VM but it shows up only in VMWare Workstation. Maybe it is coused by difference in virualization beetwen products that makes only this one vulnerable. Nevertheless I disabled Vanguard and it works all good.

 

Hope it can lead someone to better understanding and to solving this weird problem.

Thanks for help.

Recover user folders on OS disk after recompose

$
0
0

Good evening everyone!A user moved some folders from his persistent disk to os disk in a linked clone desktop pool.

obviously after the recompose everything disappeared. is there any way to recover that data?

Re: VCSA v7.0 Storage Use

$
0
0

For the homelab there is always the thin provisioning ;-)

Re: vCenter 7 Lifecycle Manager Status 404 and Errors when Using Externally Signed Machine SSL Cert

$
0
0

Interesting, would you be able to provide a log bundle?

Re: Copy paste not working in VMWare Workstation 15 Pro after the 15.0.3 update

$
0
0

May not be documented, but fixed my issue with my latest Kali VM download and did notneed to re-install my VMware-tools. As the saying goes "There is always more than one way to skin a cat ".

 

Cheers

Re: Single host in cluster with error log on non-persistent storage

$
0
0

They are all already set to [] /scratch/log. So I will try a reboot of that cluster, thank you for the help.

Re: VCSA 6.7 to 7.0 migration failure


Re: Vmware vCenter Converter Standalone clones wrong disk

$
0
0

Hi,

 

Really weird...

So, you created a clone and obviously you have a full independent VM with the same specs as the original.

Why do you have to use vCCS to "move" it to another ESXi?

Anyway, verify that you're using the correct VM when using vCCS, never see that error and I made many P2V and V2V.

Another thing to check is the .vmx file of the clone and see which are the vmdk files that are using (maybe something wrong is there, who knows...)

 

Hope this helps.

Re: Single host in cluster with error log on non-persistent storage

$
0
0

This is (sys) log.

Maybe all the other Hosts suppress the warning except this one? Creating the scratch partition is the solution for your problem... and do it for all nine hosts.

 

Regards

Joerg

Re: vCenter 7 Lifecycle Manager Status 404 and Errors when Using Externally Signed Machine SSL Cert

$
0
0

I had previously switched back to VMCA self-signed certs so I could at least make LM work until I found a fix. Went to go put back on my external signed certs to get you logs but decided to put them back on by generating a CSR from vCenter, then using that CSR to get signed certs from namecheap again and add those in from Web UI. It only asked for signed cert and ca bundle since private key is already in VCSA I guess because it generated the CSR. It rebooted VCSA services and now LM works with the external signed certs, at least so far I haven't gotten any errors.

 

I am guessing the problem has to do with my original certs having been made completely independent of vCenter, using openssl. Which seems like a bug to me, since those certs worked fine with 6.7 and there is no indication that certs have to be first generated from vCenter, especially because there is an option to import certs like that (it asks for signed cert, ca bundle, and private key).

Re: VCSA 6.7 to 7.0 migration failure

$
0
0

I came across that KB also but it didn't seem to help. I was unable to locate the cmfirstboot.py_####_stderr.log file. My analytics_firstboot.py_####_stderr.log is empty and the stdout says: "2020-04-25T07:32:07.793Z  VMware Analytics Service firstboot finished". My vpxd_firstboot.py_####_stdout.log has no error the last line is: 2020-04-25T07:37:09.140Z  VirtualCenter firstboot successfully finished. My pschealth-firstboot.py_#####_stderr.log has some items but doesn't really say error:

2020-04-25 07:34:00,666 INFO 71 PSCHealth FBActions.FIRSTBOOT

 

2020-04-25 07:34:00,679 INFO 73 SCA Registration completed successfully

2020-04-25 07:34:02,029 INFO 115 Done with pschealth firstboot

 

Obviously then the sms_spbm_firstboot.py_####_stderr.log has the errors and that's when it seems the installer blows out.

 

 

vmafdd-syslog.log Shows no error and the last line is: 2020-04-25T07:29:16.021Z  VMAFD Boot Succeeded

 

vapi_firstboot.py_####_stderr.log error file is blank stdout:

2020-04-25T07:32:51.928Z  Successfully started vapi-endpoint service

 

2020-04-25T07:32:51.928Z  Done with vapi firstboot

 

mgmt-firstboot.py_####_stderr.log is empty, stdout:

2020-04-25T07:37:27.759Z  Successfully started applmgmt service

 

2020-04-25T07:37:27.759Z  Service setup completed successfully

 

scafirstboot.py_####_stderr.log is empty, stdout:

 

2020-04-25T07:32:38.310Z  Successfully started sca service

2020-04-25T07:32:38.310Z  Done with sca firstboot

 

updatemgr-firstboot.py_6012_stderr.log does not exist.

 

ngc_firstboot.py_####_stderr.log does not exist.

 

fbInstall.json

 

   "start_time": "2020-04-25T07:27:57.541Z",

 

   "end_time": "2020-04-25T07:50:39.726Z"

 

Dashboard to show servers individually CPU Mhz - Are CPUs balanced?

$
0
0

Hi,

 

Wanting a dashboard/view in vRops that shows all the VMs with each of the CPUs displayed and to see if the usage is balanced in terms of clock speed (Mhz). I have come across a few VMs lately where with on a server with 8 vCPUs only a few of them were taking the load so it wasnt balanced. After some application tuning the CPUs were balanced and performance increased.

Re: Error starting vm error: Failed - Unable to access file [datastore2_vms] srv_cv2 / srv_CV_0-000001.vmdk. Help please

$
0
0

Mr. Andre I thank you for the informed guidance and I congratulate you. I performed the procedure and managed to start the virtual machine. Thanks.

Re: Single host in cluster with error log on non-persistent storage

$
0
0

This is the current scratchlog settings:

 

ScratchConfig.ConfiguredScratchLocation  
ScratchConfig.CurrentScratchLocation   /tmp/scratch

I assume you mean change the ScratchConfig.CurrentScratchLocation to something like /vmfs/volumes/5735f199-20b5a43a-0498-a0369fa17999/.locker

 

For all of them?


Not enough space on local standard disk in VMWare Player for Linux

$
0
0

Hi vmware community,

I'm completely new to virtual machines and Linux. And I have no clue about the terminologies and concepts.

A bit of my background, I studied electrical engineering technology: automation and instrumentation. I'm comfortable navigating through a basic PC on Windows OS, but I guess I'm just a casual. Currently, I'm using a Surface Pro and I mainly use the machine to browse sites like Quora, learn on platforms like Khan Academy and LinkedIn Learning.

I just tried a quick search on DuckDuckGo, but I don't think I could find this specific item.

Back to my problem, I am trying to learn more about information technology and information security. I was in the middle of this tutorial for SANS Cyber Aces: https://www.youtube.com/watch?time_continue=970&v=GNScr5bRG70&feature=emb_logo

I am stuck around the timestamp of 15:55. I encounter the issue of not having enough available space to install CentOS Linux onto my virtual machine.

I have attached a .PNG for reference down below.

From what I can make of it, I'm on a virtual space (VMWare) and I'm trying to install an OS (Linux, specifically: CentOS?) onto it, but not enough hardware available? But I don't understand where the hardware is coming from or why I can't use my Surface Pro's (which would be the host in this case)?

If someone can help me navigate through this installation and with understanding the concepts, I would greatly appreciate it!

Re: Recover user folders on OS disk after recompose

$
0
0

Hi perty

 

After recompose all data on OS disk gets wiped off. Hence you can't recover it.

Re: UAG HA Mode & Load Balancing

$
0
0

UAG HA require N+1 VIPs, and the secondary protocols need to be directed to the individual UAGs based on unique external URL values.Hence

 

Refer to https://docs.vmware.com/en/Unified-Access-Gateway/3.9/uag-39-deploy-config-guide.pdf ( page 39)

 

  1. Recommend to have N+1 VIPS ( N= number of UAG appliances)   -  Refer to https://communities.vmware.com/docs/DOC-32792“Method 3 - Multiple VIPs”

  2. Multiple Port number Groups.   – Refer to https://communities.vmware.com/docs/DOC-32792“Method 2 - Multiple Port number groups”

Or else you need to use real load balancer with UAG HA feature.

Re: NMI on Host System

$
0
0

NMIs are often (but not always) the result of a hardware problem.

 

If your host has an event log (either in its BIOS/EFI firmware or through a DRAC/iLO or other Service Processor), check if there are more details logged there.  It seems unlikely that an NMI would end up in the Windows Event Log, but it might be worth checking there too just in case Windows managed to record some details somewhere as it BSODed.

 

I'll second Wil's suggestion to check that the host's firmware is up-to-date, since support for newer CPUs is often added in host firmware updates.  Weird stability issues (potentially including NMIs) can result if you install CPUs that the system and its firmware does not officially support.

 

Thanks,

--

Darius

Re: ESXI - Datastores total capacity and partitions is not correctly

Viewing all 229419 articles
Browse latest View live


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