flynmooney's Posts

If you're interested in programming with the vAPI and bypassing the powershell host here's some really good information.  I've taken from that and have a work around now as well. Assigning v... See more...
If you're interested in programming with the vAPI and bypassing the powershell host here's some really good information.  I've taken from that and have a work around now as well. Assigning vCenter tags using vRealize Orchestrator – The vGoodie-bag http://www.thevirtualist.org/vsphere-6-automation-vro-7-tags-vapi-part-i/
Not quite sure on what you're asking.  If you have one host setup the way you need then you create a host profile and reference that host.  Once that's complete you can duplicate by applying the ... See more...
Not quite sure on what you're asking.  If you have one host setup the way you need then you create a host profile and reference that host.  Once that's complete you can duplicate by applying the host profile to other hosts.  I'm hoping Host Profiles CLI or something like it gets included at some point into the product. Documentation: Host Profiles Usage Model I noticed another thread on the same subject with no answers Limitations with Host Profile in vSphere 6
The web client isn't the best, so when I had to setup a few wireshark monitors for VMs I went looking for PowerCLI solutions. I came across some code from LucD and put them into functions. h... See more...
The web client isn't the best, so when I had to setup a few wireshark monitors for VMs I went looking for PowerCLI solutions. I came across some code from LucD and put them into functions. https://communities.vmware.com/message/2507811#2507811 https://communities.vmware.com/message/2648926#2648926 Add-VMwareMirrorPortForward -MirrorSessionName "SessionName" -MirrorDesc "Description or Reason for Mirror" -WireSharkIP "192.168.1.10" -vmName "VM_Name" -dvsName "DVS_Name" Remove-VMwareMirrorPortForward -mirrowSessionName "SessionName" -dvsName "DVS_Name"
Thanks @daphnissov, that's more of what I was looking for.  We are already doing quite a bit of service related items through vRA and vRO with VM builds and other services.  What I'm looking it i... See more...
Thanks @daphnissov, that's more of what I was looking for.  We are already doing quite a bit of service related items through vRA and vRO with VM builds and other services.  What I'm looking it is with our UCS environment and vSphere where to automate this.  I'll be building the workflows in vRO but haven't committed to run these from vRA or in the Flex client.  To me I'd like to run these UCS and vSphere workflows in the flex client but am getting some kickback from other members in my group that want to run them all as XAAS in vRA.  As far as I know all of these workflows would be for us in our group which would already have this access in vCenter as admins.  A An example would be to add a new vlan in a DV Switch.  What I'd like to see is, in the flex client to right click on the DV Switch you want to add the vlan to and run the vRO workflow which would then add the vlan in VMware along with adding the vlan to our 3 UCS domains and the all related vnics.  Similar workflows would be to add space to a volume or a new volume and the workflow would go out and provision/change in NetApp.
What's everyone doing to integrate vRA, vRO and vSphere together for automating tasks that you would typically run in vCenter web client?  Do you integrate and run workflows in the web client?  D... See more...
What's everyone doing to integrate vRA, vRO and vSphere together for automating tasks that you would typically run in vCenter web client?  Do you integrate and run workflows in the web client?  Do you manage these in vRA and have catalog items / actions?  Just looking for what some others are doing. 
Thanks Eric.  I'd agree not to hard code those as what happens when you remove drive D and now have C and E? After a reboot E will become what D used to be.  We have a very messy way with WMI que... See more...
Thanks Eric.  I'd agree not to hard code those as what happens when you remove drive D and now have C and E? After a reboot E will become what D used to be.  We have a very messy way with WMI queries to map drive letters to disks.  We have vRA users who have VMs to select drive letter and amount of space added.  On the backend we do all the windows work to extend the disk so there is no user intervention needed.  We have ran into problems with VMs that have SCSI Controller 3 added the entire process goes up in flames.  Something with the SCSI 3 controller does something with the WMI.  We run the entire process with Linux like this also but don't and any of the same problems like we do in Linux. After I wrote my previous message I discovered some scripts in the communities which may solve our problem.  Once I get them put together I'll also post back.
I'd be interested in how you matched up drive letters to vm disks for Windows.  We went down the path of WMI queries.  Linux was fairly simple as the device names and locations are consistent.
Just got done trying some more tests and thought I'd share the outcome.  I installed Fiddler on the PS Host and ran through the options to decrypt HTTPS traffic so I could see the text.  After I ... See more...
Just got done trying some more tests and thought I'd share the outcome.  I installed Fiddler on the PS Host and ran through the options to decrypt HTTPS traffic so I could see the text.  After I did this it works until the server is rebooted.  Once it is rebooted the Enter-PSSession and vRO ran PS scripts fail as before.  If I run Fiddler again they work again until another reboot.
I have permissions at a few different levels.  I did find that some permissions need to be higher up in the tree than one would expect.  Looking back try adding the vmotion permission (VM -> Inve... See more...
I have permissions at a few different levels.  I did find that some permissions need to be higher up in the tree than one would expect.  Looking back try adding the vmotion permission (VM -> Inventory -> Move) to the Virtual Datacenter object and see if this helps you out.
Does Get-Tag work on vcsa 6.5? @akolev writes "Some context: as of VC 6.5 the data used by our tagging cmdlets is returned by a separate service and it seems that the connection we establish... See more...
Does Get-Tag work on vcsa 6.5? @akolev writes "Some context: as of VC 6.5 the data used by our tagging cmdlets is returned by a separate service and it seems that the connection we establish under the hood doesn't always succeed in certain deployment scenarios (like the one here). The cmdlets certainly work (as we're testing these against a predefined test bed), but as I said - as we're not covering all possible deployments, we may have missed catching a potential problem.." I suppose this could be causing the problem we're seeing here.
Ok I was able to fix the Remote Session problem utilizing the thread New-TagCategory : 5/2/2017 2:44:44 PM New-TagCategory The underlying connection was closed: An unexpected erro…  uni... See more...
Ok I was able to fix the Remote Session problem utilizing the thread New-TagCategory : 5/2/2017 2:44:44 PM New-TagCategory The underlying connection was closed: An unexpected erro…  uninstalling and reinstalling the PowerCLI.  We updated to 6.5.2 with this also.  Still having issues with the tag commandlets through vRO.
It fails the same through the remote session as it does through vRO.  However if I am on the console of the PS Host they all work just fine.
We're running all of our Linux customization through post creation utilizing the "Run program in guest" workflow.  Library -> vCenter -> Guest Operations -> Processes.  Our template is built with... See more...
We're running all of our Linux customization through post creation utilizing the "Run program in guest" workflow.  Library -> vCenter -> Guest Operations -> Processes.  Our template is built with a directory included in the template which has the scripts needed.
The only difference here is we can use the same script host, same vRO to hit a VCSA 6.0 and a VCSA 6.5 and the 6.0 works and the 6.5 doesn't. I'm using administrator@sphere.local as the login use... See more...
The only difference here is we can use the same script host, same vRO to hit a VCSA 6.0 and a VCSA 6.5 and the 6.0 works and the 6.5 doesn't. I'm using administrator@sphere.local as the login user.
I don't have anything with all of that but this post may be useful to you.  http://www.virtu-al.net/featured-scripts/snapreminder/
When you applied the new permissions at the host or cluster level did you uncheck the "propagate to children" checkbox?  Another way might be to do an explicit deny on the folder(s) where you don... See more...
When you applied the new permissions at the host or cluster level did you uncheck the "propagate to children" checkbox?  Another way might be to do an explicit deny on the folder(s) where you don't want them to have access.
Check out this KB - https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003830
igaydajiev​ - I don't understand why we would see these errors only for specific types of commandlet calls.  I have only tested get-cluster, get-vmhost, get-tag and get-tagassignment.  The two ta... See more...
igaydajiev​ - I don't understand why we would see these errors only for specific types of commandlet calls.  I have only tested get-cluster, get-vmhost, get-tag and get-tagassignment.  The two tag commandlets fail with this delegated user error where the cluster and vmhost calls work just fine.
We've opened a ticket with VMware to dig into this. SR 17541052208
We have been looking at upgrading since update 1 was released and I have a sandbox environment where I can reproduce the same error when running get-tag and get-tagassignment, however when I run ... See more...
We have been looking at upgrading since update 1 was released and I have a sandbox environment where I can reproduce the same error when running get-tag and get-tagassignment, however when I run get-vmhost or get-cluster through vRO it works just fine.  It appears to be only related to tags.