@Ilian Iliev,
I can confirm that works. Thanks for that.
@Burke-
Nice tip. I'm new to vCO, so it looks like i'll be using your method in the absence of any other docs!
@Ilian Iliev,
I can confirm that works. Thanks for that.
@Burke-
Nice tip. I'm new to vCO, so it looks like i'll be using your method in the absence of any other docs!
You can't use sort on a member object that doesn't exist.
The FreeSpaceGB is not available, you should sort on FreeSpace instead !
Yes, this technique is particularly important when you start dealing with inputs beyond the simple string or number.
Ohh i got confused because of the following Get-Datastore | Sort-Object -Property FreeSpaceGB
Sorry, been quite busy...
Assuming your Distributed Virtual Portgroup object has a variable name of "dvPortgroupObject", try the following:
dvPortgroupObject.config.name
Without a copy of the workflow and scripts involved, I can only speculate... based on what is shown and the final msg: "Not an Array", it seems your script may be returning what it interprets as an array, but when it gets to vCO it is a comma delimited string trying to be bound to an Array attribute or output. As this is likely the case, you would need to instantiate a new array within vCO's context.. perhaps something like:
var VMs = new Array(vmArray);
That is assuming vmArray is the return value from your script.
Again, this is all speculation
Hi all,
Hopefully one of you guys can solve my problem.
I am new to vmware and have managed to convert my physical 2008 server to a virtual server however when doing this the virtual disk was set to IDE i've read that I need to be using SCSI for better performance so I assigned a new virtual disk to my server and cloned the IDE drive to the SCSI drive using the EASEUS disk copy software.
After I cloned the drive I removed the IDE drive but my server keeps showing the BSOD 0x0000007b error (inaccessible boot volume). I can't boot normally or through safe mode. if I attempt to use recovery mode no disks are shown.
I am using the LSI Logic SAS controller type and have tried the LSI Logic Parrallel controller to no avail.
Is there any way to fix my guest OS without having to reinstall?
Many thanks
Robbie
Sam, has this been resolved?
Hi LucD,
Since this is commented out, I would assume that it defaults to FALSE and therefore registers what it finds out of inventory?
So since I only want to REPORT any VMDKs and VMs out of inventory and take no other action than reporting. I assume I need to uncomment out this line particular:
114# Register-VMX -entityName "MyDatacenter" -whatif:$true
Am I missing anything else to acheive what I want to do. Since I plan to only check specific clusters, I will update the entity parameter appropriately..
thanks!!
OK thanks
I have 8 physical NICs to work with on and ESXi 5.1 host using Enterprise Plus licensing. I need to service the following traffic:
Management traffic
vMotion traffic
Virtual machine traffic (Probably 2 pnics will suffice for this)
NFS traffic
Fault tolerance will NOT be used. How many pnics should I dedicate to NFS, vMotion and management traffic? What failover policy should I use (active / active) (active/standby) for each?
This is enterprise plus licensing and vSphere Distributed Switches are being used.
Thanks
I do not have anything set up other than factory defaults. Take a clean blade and install ESXi 5.1. In the management network settings, connect both NICs (5709S), DHCP, reboot, and all 0's.
Do the same with a clean blade using 5.0 and all works. I do not know what VMware changed between 5.0 and 5.1 in respect to default NIC configurations for a standard vSwitch or what I need to undo.
I’m not sure where to look to get the appropriate information.
What I need to do is: automate the creation of VMWare images using distribution operating systems .iso files.
The environment is VMWare Workstation (and possibly VIX).
For windows we would like to be able to use continue to use an autounattend.xml file to customize the OS.
We have a solution for windows up through win7 which uses a floppy image containing autounattand.xml.
Unfortunately win8 and win8.1 have issues.
Any help would be appreciated.
Can somebody help me with this.
DITGUY2012 wrote:
Wow Josh. If only you had written the documentation. That's the trouble with it. People like me look for definitive instructions because we're not 24x7 network guys. Great documentation would layout the reasons to go this way or that like you just did. That being said, here's my summary based on this discussion.
1. We have multiple VLANs running down 3 links on the etherchannel. Thus we should use trunk mode since it's not a single one.
2. We have another etherchannel with just 1 vlan (vmotion), but across two links. that should be access mode. Or is it still trunk because it's multiple links?
3. I'm not sure what crash dump logger is nor how it applies to my situation.
4. I've seen the bpduguard setting before what is the exact syntax to use for us? 6500 series.
5. I'm not sure if our switch would want to route on this port. How do I tell? Right now I have switchport setting in there.
Thanks!
No problems For reference, the other documentation issue is one of language. On HP networking hardware, "trunk" is their word for etherchannel, and has nothing to do with the "access vs trunk" port debate, which they refer to as "tagged vs untagged"
1. Yes
2. You could certainly make this an access port.
3. If your server ever starts to have a problem with crashing, VMware may want a copy of the crash log in order to debug it. You can see an article on setting it up here: Setting up the ESXi 5.0 Dump Collector | VMware vSphere Blog - VMware Blogs.
4. Sorry I'm not familiar with that model
5. I believe if the switchport setting is there and connectivity seems to work you can consider yourself safe
Thanks,here's the entire code. I am instantiating as an array at the start, unless it needs to be declared in the method you list. Keep in mind this works fine under 4.1, but when importing into 5.1 it throws the error:
var vmArray = new Array();
vmArray.push(vmName);
vmArray.push(datacenterInput);
vmArray.push(regionInput);
vmArray.push(osInput);
if (vmRequestApprovedConfigurationElement.getAttributeWithKey(vmName) != null) {
vmRequestApprovedConfigurationElement.removeAttributeWithKey(vmName);
} else if (vmRequestIssueConfigurationElement.getAttributeWithKey(vmName) != null) {
vmRequestIssueConfigurationElement.removeAttributeWithKey(vmName);
}
var msg = "********** DEBUG values - VM:" +vmName +" *** vmArray: " +vmArray +" *********************";
Server.log (msg, msg);
System.log (msg);
vmRequestCompletedConfigurationElement.setAttributeWithKey(vmName, vmArray);
Let me check the code, thanks.
Yes, that's me. Its a small virtual world....
Can you check whether you can connect to the Serengeti server via the CLI? The "Access the Serengeti CLI via the Remote CLI client" section (p. 20) in the BDE CLI guide has instructions for how to access the CLI.
VMware vSphere Big Data Extensions Command-Line Interface Guide
IdentifyingNumber : {XXXXXXXXXXXXXX}
Name : Microsoft Forefront Endpoint Protection 2010 Server Managem
ent
Vendor : Microsoft Corporation
Version : 2.1.1116.0
Caption : Microsoft Forefront Endpoint Protection 2010 Server Managem
ent
This is what I get when I run the Get-WmiObject Win32_Product | ? { $_.Name -like "*Forefront*" } locally