srajsenthil's Posts

Yes, with the same display name.
There are occasion where the duplicate vms are created with the same host name. To prevent and avoid this, we need to create a duplicate vms. Is there any easy way to do this by PowerCli or vijav... See more...
There are occasion where the duplicate vms are created with the same host name. To prevent and avoid this, we need to create a duplicate vms. Is there any easy way to do this by PowerCli or vijava or vSphere-client? Please let me know. Thank You, Senthil
Thanks LucD. Your response is appreciated. I will try this and update here.
Hello, there is a VM created from template based on say RHEL 5.0. Now the VM needs to be upgraded with RHEL 6.0 using another template. Is it possible to ugrade using PowerCLI or vijava? Please... See more...
Hello, there is a VM created from template based on say RHEL 5.0. Now the VM needs to be upgraded with RHEL 6.0 using another template. Is it possible to ugrade using PowerCLI or vijava? Please let me know. Regards, Senthil
The command error is thrown only for duplicates and for other vm it works. Is there anyway to address this? I checked the ip addresses, for one vm, it is has alpha-numeric character and the ot... See more...
The command error is thrown only for duplicates and for other vm it works. Is there anyway to address this? I checked the ip addresses, for one vm, it is has alpha-numeric character and the other ip address looks ok with standard format.
There are few vms in vcenter that has got duplicate vm names. In order investigate on these duplicates, I am trying to get all events from the time they were provisioned. From vSphere client, it... See more...
There are few vms in vcenter that has got duplicate vm names. In order investigate on these duplicates, I am trying to get all events from the time they were provisioned. From vSphere client, it shows quite many logs but I think they were not complete. In VM there are few file systems shows date much older(relatively speaking around a month old) that. When I ran simple command `Get-VIEvent -Entity <VM-NAME>`  getting error as below Get-VIEvent : 2/14/2017 11:17:24 AM    Get-VIEvent        Could not find VIObject with name At line:1 char:1 + Get-VIEvent -Entity <vm-name> + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     + CategoryInfo          : ObjectNotFound: (vm-name:String) [Get-VIEvent], VimException     + FullyQualifiedErrorId : Core_ObnSelector_SelectObjectByNameCore_ObjectNotFound,VMware.VimAutomation.ViCore.Cmdlets.   Commands.GetEvent Is there a way to get ALL events for the duplicate VMs? Thank you, Senthil
Thanks for the reply. Your solution did worked and marking it answered.
I have a host where the vm needs to be provisioned using a template. The issues are some that chosen templates may not always exist for that host. Is there a way to check before cloning, whether ... See more...
I have a host where the vm needs to be provisioned using a template. The issues are some that chosen templates may not always exist for that host. Is there a way to check before cloning, whether the chosen host has ability to use chosen template before starting cloning? Thanks
Hello, I am trying to get the events that are triggered by the vm. Using vsphere, Please see the attachment. I could connect to the server and get the attached events. The same events, I want t... See more...
Hello, I am trying to get the events that are triggered by the vm. Using vsphere, Please see the attachment. I could connect to the server and get the attached events. The same events, I want to retrieve it using preferably vijava or PowerCli. Let me know if you want more information.
yes, this command helps. Thanks.
Sorry if this has been already answered. I am trying to get the VM's event logs using vSpeher api. Could you someone tell or point me how to get it? Thanks, Senthil
Hello, there are some event logs under monitor showing the vm's history, like created date and user. If the vm gets migrated to another cluster, does these event logs are preserved and could see... See more...
Hello, there are some event logs under monitor showing the vm's history, like created date and user. If the vm gets migrated to another cluster, does these event logs are preserved and could see, the created date and the user? Thanks, Senthil
Thanks for the quick reply. We do have a home grown script that do much like invoke-scripts and planning to use that.
Hello, I am using PowerCli to find the vm os summary info. I could successfully get the VM's os name by running the command Get-VM | Sort | Get-View -Property @("Name", "Config.GuestFullName"... See more...
Hello, I am using PowerCli to find the vm os summary info. I could successfully get the VM's os name by running the command Get-VM | Sort | Get-View -Property @("Name", "Config.GuestFullName", "Guest.GuestFullName") | Select -Property Name, @{N="Configured OS";E={$_.Config.GuestFullName}},  @{N="Running OS";E={$_.Guest.GuestFullName}} | Format-Table -AutoSize It give me the OS name like Red Hat Enterprise Linux 5 (64-bit) and I need the kernel version too like Linux <HOST-NAME> 2.6.32-642.6.2.el6.x86_64 #1 SMP Mon Oct 24 10:22:33 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux Is there any way to get it through PowerCli or vsphere api? Please let me know. Thanks, Senthil