samojitd's Posts

Hi Rubeck, I am very new with VMware, can you please elaborate your question. I mean the issue (which am facing) depends on the transport mode. Thanks, Samojit Das
Hello Techies, We have a situation where Orphaned snapshots files are left behind post backup. And due to this, the storage is getting filled and we are experiencing low throughput. Backup ... See more...
Hello Techies, We have a situation where Orphaned snapshots files are left behind post backup. And due to this, the storage is getting filled and we are experiencing low throughput. Backup Solution is from Commvault. I know we can clean up the snapshot files manually every time but am looking for a solution to stop this permanently OR, is there not a way to keep it from happening Let me your thoughts. Thanks in advance.
Hello techies, After integrating VIC 1.5.3 with vCenter, I'm unable to see the Virtual Container Hosts option. Please check the attached screen shot for reference. Thanks, Samojit Das
Hello, The issues has been resolved, thanks for your insight. Thanks, Samojit Das
Hello asajm, the provided link refers to embedded PSC not external configured PSC ... if you have any information wrt to the configuration of the xternal PSC do let me know. Thanks in advan... See more...
Hello asajm, the provided link refers to embedded PSC not external configured PSC ... if you have any information wrt to the configuration of the xternal PSC do let me know. Thanks in advance, Samojit
Hello Techies, Not sure if this is the correct place to post my concern. I'm trying to register my VIC (1.5.3) appliance to vCenter but its trowing error "Installation failed. Failed to reg... See more...
Hello Techies, Not sure if this is the correct place to post my concern. I'm trying to register my VIC (1.5.3) appliance to vCenter but its trowing error "Installation failed. Failed to register with PSC. Please check the PSC settings provided and try again." Attaching the error screen shot. The PSC is external not embedded with vCenter. Any leads will be really helpful. Thanks, Samojit Das
Let me try that LucD ... will update you
Yes I will be executing the scripts from my Win 7 VDI. And the target VM's are RHEL OS. And before I use the script to remove the Hardware application using script I will install the VMtools in... See more...
Yes I will be executing the scripts from my Win 7 VDI. And the target VM's are RHEL OS. And before I use the script to remove the Hardware application using script I will install the VMtools in the target RHEL VM's. Scenario is we will be migrating 100+ RHEL Linux Physical servers to vSphere infra... and during the post migration I will installing the VM tools first then I need to remove the H/W application from all the servers since I dont want to do this task manually I was thinking if I can get some scripts to automate it. Thanks, Samojit
Hi Lucd, RHEL 5,6,7 and for powershell version please check the attached file
Hello Team, Looking for PowerCLI/Powershell scripts to uninstall Hardware related applications (during Post migration) from Linux VM's hosted in vSphere Infra. The application will be like:... See more...
Hello Team, Looking for PowerCLI/Powershell scripts to uninstall Hardware related applications (during Post migration) from Linux VM's hosted in vSphere Infra. The application will be like: - 1> hpsmh-7.6.0-11 2> hponcfg-4.1.0-0 etc... Thanks, Samojit
please refer the screen shot
Hello All, How to permanently integrate or import all the Vmware PowerCLI modules in Windows Powershell. Thanks in advance, Samojit
Not getting the desired output.          Name IP Address Primary DNS Secondary DNS Primary WINS Secondary WINS Gateway Subnet Mask RHEL7_SAMOJIT 192.168.10.66 RHEL6_... See more...
Not getting the desired output.          Name IP Address Primary DNS Secondary DNS Primary WINS Secondary WINS Gateway Subnet Mask RHEL7_SAMOJIT 192.168.10.66 RHEL6_Samojit 192.168.10.61 WIN2K8_Samojit 192.168.10.247, 192.168.10.242 192.168.10.50 192.168.10.255 192.168.10.254
Currently this is how am trying to extract the details Currently this what I'm trying Import-csv E:\Samojit_Data_backup_27Dec2017\D\Scripts\Server_List.csv | foreach { $server = $_.Serve... See more...
Currently this is how am trying to extract the details Currently this what I'm trying Import-csv E:\Samojit_Data_backup_27Dec2017\D\Scripts\Server_List.csv | foreach { $server = $_.ServerName foreach ($servers in $server) { Get-VM -Name $servers | Select Name, @{N="IP Address";E={[string]::Join(", ", @( $_.guest.IPAddress | where {($_.Split(".")).length -eq 4}))}}, @{Name="Primary DNS";E={$_.ExtensionData.Guest.net.dnsconfig.IpAddress[0]}}, @{Name="Secondary DNS";E={$_.ExtensionData.Guest.net.Exportdnsconfig.IpAddress[1]}}, @{Name="Primary WINS";E={$_.ExtensionData.Guest.net.netbiosconfig.primarywins}}, @{Name="Secondary WINS";E={$_.ExtensionData.Guest.net.netbiosconfig.SecondaryWINS}}, @{N='Gateway';E={[string]::Join(',',($vm.ExtensionData.Guest.IpStack.IpRouteConfig.IpRoute | %{if($_.Gateway.IpAddress){$_.Gateway.IpAddress}}))}} | Export-CSV -path E:\Samojit_Data_backup_27Dec2017\D\Scripts\VM_List_Target.csv -NoTypeInformation -UseCulture  -Append }
Do you mean at the OS level then its like Front LAN (Prod) & backup lan (backup) in windows. and if Linux/ Unix then with eth0(Prod) & eth1 (backup). From vCenter level we can determine using... See more...
Do you mean at the OS level then its like Front LAN (Prod) & backup lan (backup) in windows. and if Linux/ Unix then with eth0(Prod) & eth1 (backup). From vCenter level we can determine using the IP range like for Prod it will be X.X.X.X & backup will be y.y.y.y
Hello LucD, Sorry for the confusion. Yes VM tools are Running and Current. The OS which are configured are from Win2K to Win2K12 and RHEL 4 to 7. Yes 2 NIC's mapped to different subnets alo... See more...
Hello LucD, Sorry for the confusion. Yes VM tools are Running and Current. The OS which are configured are from Win2K to Win2K12 and RHEL 4 to 7. Yes 2 NIC's mapped to different subnets along with different IP,Subnet,gateway,DNS & WINS servers. Let me know if you have any other concerns. Thanks, Samojit Das
Hello Techies, Need your help in extracting the below information in CSV file for the both Windows & Linux VM's. 1> IP Address 2> Subnet Mask 3> Gateway 4> DNS (Primary & Secondary) 5> WI... See more...
Hello Techies, Need your help in extracting the below information in CSV file for the both Windows & Linux VM's. 1> IP Address 2> Subnet Mask 3> Gateway 4> DNS (Primary & Secondary) 5> WINS (Primary & Secondary) I'm looking for output something like this Server Name Production IP Production Subnet Production Gateway Production DNS1 Production DNS2 Production WINS1 Production WINS2 Backup IP Backup Subnet Backup Gateway Backup DNS1 Backup DNS2 Backup WINS1 Backup WINS2 Win2K12 RHEL6 RHEL7 Thanks in advance, Samojit Das
Error --- 'Get-WmiObject' is not recognized as an internal or external command,operable program or batch file. is the current IP Address Changing IP to 'Get-WmiObject' is not recognized as an in... See more...
Error --- 'Get-WmiObject' is not recognized as an internal or external command,operable program or batch file. is the current IP Address Changing IP to 'Get-WmiObject' is not recognized as an internal or external command,operable program or batch file. Working on WIN2K_SAMOJIT The interface name is 'Get-WmiObject' is not recognized as an internal or external command,operable program or batch file. Changing IP Address of WIN2K_SAMOJIT interface 'Get-WmiObject' is not recognized as an internal or external command,operable program or batch file. from 'Get-WmiObject' is not recognized as a n internal or external command,operable program or batch file. to 'Get-WmiObject' is not recognized as an internal or external command,operable program or batch file. Script That I'm trying is $VMs = (get-vm | where {$_.Name -match $computer -and $_.PowerState -eq "PoweredOn"}).Name foreach ($vm in $VMs) {   if ($os -match "Microsoft Windows Server 2000" ) {      #PowerShell used by Invoke-VMScript to retrieve current IP Addres    $ipscript = '(Get-WmiObject Win32_NetworkAdapterConfiguration | where-object {$_.IPAddress -match "' + $origIp + '" -and $_.AddressFamily -eq "IPv4"})'    $currentIp = invoke-vmscript -ScriptText $ipscript -ScriptType Bat -VM $vm -GuestUser $UserName -GuestPassword $Password    $currentIp = $currentIp -replace "`t|`n|`r",""    write-host "$currentIp is the current IP Address"    #Adjust Original IP to Replacement IP    $changeIp = $currentIp.replace("$origIp", "$Ip")    $changeIp = $changeIp -replace "`t|`n|`r",""    Write-Host "Changing IP to $changeIp"          Write-Host "Working on $vm"       #Get the Interface Name (Alias)    $aliasscript = '(Get-WmiObject Win32_NetworkAdapterConfiguration| where-object {$_.IPAddress -match "' + $origIp + '" -and $_.AddressFamily -eq "IPv4"})'    $getIntAlias = invoke-vmscript -ScriptText $aliasscript -ScriptType Bat -VM $vm -GuestUser $UserName -GuestPassword $Password    $getIntAlias = $getIntAlias -replace "`t|`n|`r",""    write-host "The interface name is $getIntAlias"    #Change the IP Address    $changingIp = "c:\windows\system32\netsh.exe interface ip set address ""Local Area Connection"" static $IP $SM $GW 1"    Write-host "Changing IP Address of $vm interface $getIntAlias from $currentIp to $changeIp"    $setIp = invoke-vmscript -ScriptText $changingIp -ScriptType bat -VM $vm -GuestUser $UserName -GuestPassword $Password   } } }
Hello LucD, So what I have understood is at vCenter level we dont have any scripts. Either we can manually install the VMware Tools or using PSSession (for Windows) and SSH (for Linux). Kin... See more...
Hello LucD, So what I have understood is at vCenter level we dont have any scripts. Either we can manually install the VMware Tools or using PSSession (for Windows) and SSH (for Linux). Kindly correct me if am wrong. Thanks, Samojit Das
Hello All Techies, Is their any way to update the IP, Subnet Mask,Gateway, DNS (Primary & Secondary) & WINS (Primary & Secondary). Using invoke-script & input file (as CSV). Any leads will ... See more...
Hello All Techies, Is their any way to update the IP, Subnet Mask,Gateway, DNS (Primary & Secondary) & WINS (Primary & Secondary). Using invoke-script & input file (as CSV). Any leads will be very helpful. Thanks, Samojit Das