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

Re: Vmware 6.5 fails to assign an ip for a linux vm if the network adapter is invalid

$
0
0

  Yes, I know a valid network adapter will bring no issue. Now that esx server falls back on default  e1000, it should make it work normally, right? But there is a problem here!

  Well, I am working on vmware related development. I am trying to use the sdk the vmware official provides to develop a product to create vm on esx server. Now I come into a dilemma when customers of my product try to input an invalid network adapter to create a vm on esx server.

  I just want to look into it to figure out the cause. Hope you can understand me.


Re: Vmware 6.5 fails to assign an ip for a linux vm if the network adapter is invalid

$
0
0

Yes, I understand, but the fact is when you're interfacing with an app in a programmatic fashion, you have to provide the correct inputs. If you don't, things won't work. There is not much you can do about that once it leaves your code, so the focus in your code should be some checks and input validations that would prevent a user from selecting an invalid network adapter type. There's not much more than can be said about this topic.

Re: PowerCLI scipt question

$
0
0

Hi LucD,

 

I'm now revisiting this same script but extending it to add another 2 vCenters (for production).

The previous one was for (non-production).

 

Whats the best way of add 2 new vCenters?

 

The current script moves all the non-production templates from one vCenter to another.

 

 

#Import PowerCLI module

Import-module vmware.vimautomation.core

 

 

#Variables

$vc1 = 'vcenter1'

$vc2 = 'vcenter2'

$credfile = 'C:\Users\ACCOUNT\AppData\Roaming\VMware\credstore\vicredentials.xml'

$cred = Get-VICredentialStoreItem -File $credfile -Host $vc2

 

#Connect to vCenters

Connect-VIServer -Server $vc1

Connect-VIServer -Server $vc2 -User $cred.User -Password $cred.Password

 

#Import CSV file with template names

$currentTemplates = Import-csv \\SERVER\Templates.csv

 

foreach($template in $currentTemplates){

   

    #Check if all templates exist in vCenter2. If found, delete template permanently (inventory and files). If not found (error action), go to Catch.

    Try{

        $checkTemplates = Get-Template -Name $($template.template) -Server $vc2 -ErrorAction Stop

        Remove-Template -Template $checkTemplates -Server $vc2 -DeletePermanently -Confirm:$false

        Write-Output "Removed template $($template.template) on vCenter $vc2"

    }

    Catch{

        Write-Output "Template $($template.template) not found on vCenter $vc2"

    }

 

 

    # Get destination host and datastore

    $esx2 = Get-VMHost -Name $template.vmhost -Server $vc2

    $ds2 = Get-Datastore -Name $template.datastore -Server $vc2

 

 

    #Clone existing templates in vCenter1 to vCenter1 in the same folder with a "-clone" amended to the name.

    $newTemplate = "$($template.template)-clone"

    New-Template -Template $($template.template) -Name $newTemplate -Confirm:$false

    Write-Output "Cloned template $($template.template) to $newTemplate on vCenter $vc1"

 

 

    #Convert the cloned template to VM

    Write-Output "Converting template $newTemplate to a VM on vCenter $vc1....."

    Set-Template -Template $newTemplate -ToVM -Confirm:$false -Server $vc1

 

    #Remove the NIC from VM and migrate to vCenter2

    Write-Output "Migrating VM $newTemplate to vCenter $vc2 on host $esx2 and datastore $ds2..."

    $nic = Get-NetworkAdapter -VM $newTemplate

    Remove-NetworkAdapter -NetworkAdapter $nic -Confirm:$false

 

 

    #vMotion VM from vc1 to vc2 on specific host and datastore

    Move-VM -VM $newTemplate -Destination $esx2 -Datastore $ds2 -Server $vc1

 

 

    #Add NIC with specific port group

    New-NetworkAdapter -VM $newTemplate -NetworkName "vCenter2 port group name" -StartConnected -Type Vmxnet3

 

 

    #Rename VM to original name

    Write-Output "Renaming VM $newTemplate to $($template.template) on vCenter $vc2...."

    $newVM = Set-VM -VM $newTemplate -Name $($template.template) -Confirm:$false -Server $vc2

 

 

    #Move VM into a specific folder

    Move-VM -VM $newVM -Destination "Templates" -Server $vc2

 

 

    #Convert VM to template

    Write-Output "Converting VM $newVM to a template on vCenter $vc2....."

    Set-VM -VM $newVM -ToTemplate -Confirm:$false -Server $vc2

 

 

}

 

 

#Disconnect from both vc's

Disconnect-VIServer -Server $vc1 -Confirm:$false

Disconnect-VIServer -Server $vc2 -Confirm:$false

How long can a uDLR be down for before routes become stale or lost

$
0
0

Hi all,

 

Sorry if I get the terms incorrect as I am not a network person. In NSX (e.g. 6.3.6), if a uDLR is shutdown, how long does it take before the gateway or the VMs behind the uDLR becomes unreachable? How is that determined and what does this depends on?

 

Thanks!

Re: Vmware 6.5 fails to assign an ip for a linux vm if the network adapter is invalid

$
0
0

I can't agree more on what you said! Thank you again for your reply.

I don't understand the difference you know. If the esx server help us fall back on a default network adapter e1000, it can not work. However, it works well when we specify e1000 by ourselves. Why there exist such a difference? Shouldn't it be consistent with each other on behavior?

Re: Vmware 6.5 fails to assign an ip for a linux vm if the network adapter is invalid

$
0
0

This behavior not only confuses we developers but also our customers. They ask continuously why this e1000 fails to help get an IP?

Re: whats_wrong_infollowingcode_powercli

$
0
0

for some reasons now it is working .stillnot sure what happened last time as there was no blank and the lenght corresponds to number of charaecters.

however it is working now.

Skyline Advisor There was an issue with validating your login credentials against our backend database

$
0
0

Customer is having error: There was an issue with validating your login credentials against our backend database. Customer has tried to login using Incognito Mode with same result. Customer account was added to Cloud Services organization. Please help.


Re: Skyline Advisor There was an issue with validating your login credentials against our backend database

Re: vmxnet3 adapter on windows server 2012 with MSSQL server bottleneck problem

$
0
0

I tried this solution however it did not resolve the issue. My company is using Sage300 and once we select VMXNET3 adapter for the VMs which has SQL on it, it slows down all processes on Sage300. E1000e seems to work without any issues. Anyone with a better solution?

Re: 6.7U1 vs 6.5U2 passthrough regression

$
0
0

Just go back and try latest 6.5, it works like a charm.

Re:Automated Windows DNS clean up

$
0
0

I have done some digging and was thinking of implementing LockingSystem into the workflow.  I have created a few test workflows - 1 to create the lock, another to check the lock exists and a third to unlock.

I get this can be done within the one workflow, but I am trying to figure out how this would actually work.  When the first exection of the workflow is triggered and it creates the lock, then say another kicks off while this one is still running and hasn't unlocked yet, will the second one wait or fail or will this not work at all?

Re: Skyline Advisor There was an issue with validating your login credentials against our backend database

$
0
0

Hello,

 

Thank you for filling the smart sheet.

 

The email ID which was used to register Skyline was nme**e@levi.com and the email Id which was filled in the smart sheet is NTLan***@levi.com.

 

Could you please ask them to use the first email ID in incognito mode?

Re: Skyline Advisor There was an issue with validating your login credentials against our backend database

$
0
0

The account NTLan***@levi.com is a separate account that needs to have access into the Skyline Advisor. The e-mail ID nme**@levi.com already has access and has no issues accessing Skyline Advisor. Customer has purposely added the account NTLAN***@levi.com for this account is used for their Operations team.

Re: Skyline Advisor There was an issue with validating your login credentials against our backend database

$
0
0

Hello,

 

If the ID NTLan***@levi.com needs access to Skyline Advisor then it has to be explicitly added in CSP.

 

The user who has access to login to Advisor via CSP has to go to Identity and Access Management and add this email ID.

 

I can send you the steps if you send me your email ID in the same sheet which I sent earlier.


VROP Licensing - Mix VMware License in Cluster (Need Advice)

$
0
0

Hi All,

 

I want to ask here about my client environment, related to their vrop licensing.

 

My client has one cluster, containing 11 hosts.

 

ESXi 1 - 6 has vmware vcloud suite enterprise for vsphere license, which including vrealize operation manager as I knnow (please correct me if I'm wrong)

Whiel ESXi 7 - 11 has VMware vSphere Enterprise Plus license, which exclude vrealize operation manager.

 

How if I want to install (implement) vRealize Operation Manager for such this environment? what is the best way? I need your feedback, guys.

 

I also attach the license page on this post.

 

Best Regars,

Azlan Syah

Re: Skyline Advisor There was an issue with validating your login credentials against our backend database

$
0
0

The User ID with access has already explicitly added the ID NTLan***@levi.com in CSP. The account NTLan***@levi.com received the e-mail invitation, after login in with the invitation URL, they receive the message: Skyline Advisor There was an issue with validating your login credentials against our backend database. Please also send instructions to vcamposstove@vmware.com. Thank you.

Re: software-packages

$
0
0

Thanks for reply,

 

This will help.

 

Actually we are writing code to automate the deployment of VMWare vCloud NFV 3.1 with VIO 5.1. We are using pyVmomi sdk and Ansible. Our main focus would be to use Ansible VMware cloud modules. It seems Ansible do not have complete features w.r.t VMware automation. Only vSphere automation is supported as of now and that too only 95%. hence I decided to use pyVmomi wherever Ansible lags.

 

We also have to take care of updates and patches and I found this command "software-packages install –iso " but Ansible does not work on "appliancesh".  For other activities I have changed default shell to bash. For command "software-packages install" I wanted to run from bash shell and you helped.

 

BR//uday

Re: How to filter vm by datacenter name

$
0
0

Dear LucD

 

Please help me how to split this table,

sample i have vm who have a lot of ip, ip1,ip2 and gateway 1,gateway2.etc , can i split this ?

 

thank you so much

Re: Environment Overview widget selection of object  gone  after the refresh interval in Vrops Dashboard.

$
0
0
Current implementation doesn't keep selection, unfortunately I cannot suggest any wrokaround here.
Viewing all 252940 articles
Browse latest View live


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