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

Re: How to force Distributed Switch traffic through a particular NIC between two cluster member?

$
0
0

To answer your question about distributed switch and traffic flows, there is nothing special about how a distributed switch moves packets compared to a standard switch. The vDS exists to simplify management as it's a control-plane object; not a data plane object. Just like a vSS, you assign one or more uplinks to a vDS. Those uplinks are in a profile and this profile will be applied to any host belonging to the vDS. And just like a vSS, the virtual machine port groups use those uplinks to ingress/egress their traffic. How that happens depends on the teaming policy applied to the vDS. With a vDS, there are many more teaming policies available compared to a vSS, but those teaming policies don't determine how traffic reaches other hosts on the vDS, it determines how traffic leaves each host. Where that traffic gets switched or routed is irrelevant to either the ESXi host or the vDS object; that's a concern for external networking infrastructure.

 

Lastly, regarding DHCP, I would just add that if you're using Veeam for failover, it has the ability to re-IP VMs as well as assign the replicas to a different destination network. These two things in tandem give you just about whatever you need to have a given VM get the necessary network services on the destination side.


64-bit virtual machine is not supported on 64-bit system

$
0
0

I do not know why but VMWare Workstation Player 15 is not supporting 64-bit virtual machines on a host machine with 64-bit Windows system. It installs into Program Files (x86) by default (I've already tried to switch to 64-bit Program Files, it installs but gives the same error). Other emulators work normally. As shown the photo is a core i3. And the installation file was downloaded from the official vmware website in 64-bit version. I believe that through a regedit file it might be possible to resolve.

Re: param with array

$
0
0

thanks luc

 

any idea why write-host doesnt list them in column?

 

 

functionDo-Something

 

{

param(

[PSObject[]]$VMHost

)

write-host$vmhost

}

 

 

$vmhost contents is

 

test1

test2

test3

test4

Re: Calculate required resources to down-grade a cluster

$
0
0

Thanks for the reply and I will note the good points made.

How does VMware assign vmnic labels to Cisco UCS blade servers?

$
0
0

I have around 10 UCS B200M4 blades in a VMware cluster. They all use the following setup for networking in VMware:

 

Local dvSwitch:

Management: vmnic4 & vmnic5

 

Distributed dvSwitch:

Storage: vmnic1 & vmnic3

Data: vmnic0 & vmnic2

 

In UCS Manager, the NICs above are configured as follows:

MLOM NIC 1 = ESXi_Data_A

MLOM NIC 2 = MGT_B

MLOM NIC 3 = STO_A

VIC NIC 1 = ESXi_Data_B

VIC NIC 2 = MGT_A

VIC NIC 3 = STO_B

 

I added a new blade to the chassis, B200M4, created a Service Profile from the same template as the existing servers, yet I got the following configuration:

 

Local dvSwitch:

Management: vmnic1 & vmnic4

 

Distributed dvSwitch:

Storage: vmnic2 & vmnic5

Data: vmnic0 & vmnic3

 

In UCS Manager, the NICs above are configured as follows, which is the same as the other servers:

MLOM NIC 1 = ESXi_Data_A

MLOM NIC 2 = MGT_B

MLOM NIC 3 = STO_A

VIC NIC 1 = ESXi_Data_B

VIC NIC 2 = MGT_A

VIC NIC 3 = STO_B

 

Ideally I wanted the new server to use the same "vmnic" labels in the respective switches, as in the other hosts, but for some reason, it seems that the NICs were presented to VMware in a different order and thus given different vmnic labels.

 

I'd like to understand what I did wrong and how I can avoid this in the future?

Re: param with array

$
0
0

Same reason the following is not listed in a column.

 

$vmhost='test1','test2','test3','test4'

Write-Host$vmhost

 

That is the way the PS output engine formats an array of strings.

 

If you want them on separate lines, you could do

 

$vmhost='test1','test2','test3','test4'

Write-Host($vmhost-join"`n")

/dev/vmmon Issue on Ubuntu 18 - VMware Workstation 15

$
0
0

I'm trying to get my Workstation Pro working on an Ubuntu install. I've completed the install process and when trying to run a VM I'm getting the following error

 

Could not open /dev/vmmon: No such file or directory.

Please make sure that the kernel module `vmmon' is loaded.

 

I've done the following:

 

sudo apt-get update
sudo apt install build-essential gcc
sudo apt install libcanberra-gtk-module

 

Downloaded VMware Workstation

 

sudo chmod u+x VMware-Workstation-Full-15.1.0-13591040.x86_64.bundle

 

Installed VMware Workstation

 

On some of the forums online (example) I read the suggestion to run the below command which I did:

sudo vmware-modconfig --console --install-all

At the end of the message that the above command generates I'm getting the following:

Starting VMware services:

   Virtual machine monitor                                            failed

   Virtual machine communication interface                             done

   VM communication interface socket family                            done

   Blocking file system                                                done

   Virtual ethernet                                                   failed

   VMware Authentication Daemon                                        done

 

Any thoughts on how to get my VMWare working?

 

Thanks

Import Parallels 14 into Fusion 10.1.6 - VMX file is corrupt - Mojave


Re: Custom Request Form

$
0
0

Essentially what has been requested is the ability to have a blueprint where any existing piece of software that can be installed through vRA/ vRO, network, template and datacenter to be an optional install, however not required.

 

Making the request form completely modular and up to the requestor to choose what bits and pieces they want.

Re: Custom Request Form

$
0
0

So, again, yes, that is all entirely possible, but it's still not specific enough. I'm not sure what you're asking here, exactly. Is it a "can this be done?" or is it a "how exactly do you do this?" If it's the former, the answer is "yes"; if the latter you'll need to be more specific. As with most automation systems, there are near limitless ways tasks can be done, but without more specific requirements it's anyone's guess.

Re: Custom Request Form

$
0
0

It's more of a how can it be done, as mentioned i'm somewhat new to all of this and am happy to provide details, just not entirely sure what information you require. 

Have you got some specific questions that I can answer ?

Re: Custom Request Form

$
0
0
Have you got some specific questions that I can answer ?

Yes, you say "software through vRA/vRO". What does that mean, exactly? How is software being installed today? There are dozens of ways to install software through vRA. Is it software components? Is it Ansible? Puppet? Existing scripts triggered somehow? Something else?


In general, explaining how this can be done is 1.) not a trivial task and 2.) may be completely irrelevant based on you/your customer's constraints. It would be better to tell me why you're asking this as I can probably provide a better answer.

vRA - Redirect to tenant login page be default.

$
0
0

Hi there,

I am looking for the best solution to have "End-Users" hit the tenant login page be default when going to the vRA portal.

First some context:

We have a single vRA appliance, we have a single tenant, with multiple Business Groups.

Currently users have to go to https://longservername.longfqdn/vcac/org/tenant/  to hit the login page.
I have a cname being created to use as a short URL, but this by itself will still only hit the server, default vRealize Automation Appliance page, so users will have to add /vcac/org/tenant on the end...

I have googled a lot and read a lot of documentation, this is why now I'm asking...

While we could use a Load Balancer or F5 or proxy in front to do the redirect this is extra overhead which seems un-needed for a single appliance.

I have found the blogs and various other pages saying you can edit the file on the appliance itself. like this one : Will on IT: vRA Redirect To Login  while this works I also understand its not best practice to edit files on the appliance.

Is this what im after? Set the vRealize Automation Login URL to a Custom Name  it doesnt quite seem like it will do the redirect part.

 

Is there any official vmware support way of doing this?

 

Thanks Jonathan.

Re: Custom Request Form

$
0
0

thanks for the response,

 

 

 

Software is currently being installed using software components and are just powershell scripts pulling software off a share, once way I was thinking of doing it is to create a wrapper setting something like a true / false statement, then in vRA use a property dictionary and set a drop down to trigger either of these values.

Re: Custom Request Form

$
0
0

Ok, so this is all important information. If you're using software components, there's not a simple, direct way because these use the generic endpoint framework to provide canvas integration. One way (there are multiple) I would envision you could do this with custom forms would be the following.

 

  1. Have only one software component which is essentially a wrapper or framework for running PS scripts.
  2. Have one input (property) which supplies the name of the script.
  3. Depending on where these scripts are stored, pull them in with a vRO action that sets the value of a custom property to be the script name.
  4. Bind that custom property to the software component property so, when it runs, it gets the value of the custom property. This custom property would have to be placed on the machine object within the canvas to allow binding (there are some workarounds otherwise).
  5. Create a custom form which uses said vRO action to dynamically populate a drop-down list with these scripts.
  6. Each time catalog item is requested, custom form loads, and vRO action runs, the user gets a refreshed view of the available software components available. User can then select one and submit the form.

 

This does come with some downsides, however.

 

  1. Software component code is fairly limited. Cannot use multiple, disparate properties based on script.
  2. Error handling is up to you in the script.
  3. Governance is also on you to determine what users should and shouldn't be able to install. (ex., Is it OK if I install Oracle that costs you $10K a seat? No? Who's allowed, then?)
  4. Makes reporting, costing, and auditing more difficult because only a single software component is ever referenced.

 

Always remember that flexibility and providing choice comes at a cost. If you want to provide users more choice, you give them more opportunity to screw something up. If you give them less choice you potentially create more blueprints but provide better guard rails for them to not shoot themselves (or you). Everything is a trade-off when it comes to automation.


Getting output from a PowerShell Script on VRO task

$
0
0

Hi All.

 

First post, what a wonderful job everyone gets up to here. Learning from each other,

 

I have hit a problem with some VRO automation that i am doing.

 

I can get my task to execute a powershell script, I believe i am using the official plugin. My powershell script creates a file on a remote host, however I need to get the path that the script creates. At the moment, within my script I just do a stdout of the filename, so now I would like VRO to pick up the output filename.

 

The script task which builds the PS arguments is as follows.

powershellArguments = "-Servername " + hostname + " -config_dir " + confniguration_directory + " -instance_no " + instance_no + " -type " + environment_type + " -admin_login " + admin_login + " -collation " + db_collation + " -sql_account " + sql_account + " -install_dir " + install_directory + " -sql_components " + components+ " -sql_dir " + data_directory+ " -log_dir " + log_directory+ " -backup_dir " + y+ " -tempdb_dir " + x; 
System.log ("Using PowerShell Aruments '" + powershellArguments + "'.");

Now, if I want to receive the output of the file, how do I do this please?

Re: vRA - Redirect to tenant login page be default.

$
0
0

No, you'll just have to tell (or provide) users to bookmark the appropriate URL of https://<FQDN>/vcac/org/<tenant_id>. It's really not a big deal, just make sure they don't bookmark the URL containing the SAML token.

Re: Getting output from a PowerShell Script on VRO task

$
0
0

You may really want to look at the Guest Script Manager community package out there as it should get this for you already. Keep in mind this is unsupported, however.

Re: Cannot open configuration file: File already exists

$
0
0

Just do this:

1) Re-register a VM

2) Move to another host

3) Power On

I wasn't able to power on the VM and noticed presence of .lck file on the datastore. So guess it confused vCenter, when host failed VM was on one host, but I re-registered it on another one. So to get VM location info in sync, simply move the VM to any available host after registering and Power it On.

Re: Out of Disk Space problem with Fusion and OSX 10.14.3?

$
0
0

Getting same here all of a sudden on 10.14.5 and Fusion 11.1.  Very frustrating - it's stopped me working for a number of hours. 

 

Getting the following:

Could not open paging file for 8192 MB: "No space left on device".

"Failed to allocate main memory.

Module 'MainMem' power on failed.

Failed to start the virtual machine."

 

Guest has 24GB free on the system drive.  Drive on which the VM is running has over 200GB free.  Host machine as a 2TB fusion drive with around 940GB free.

 

Reducing the guest memory works around the problem but some machines I need a large amount of RAM.

 

Viewing all 252940 articles
Browse latest View live


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