Vanit
Members-
Posts
16 -
Joined
-
Last visited
Content Type
Forums
News
20th
EduGeek EDIT Conference
Blogs
Everything posted by Vanit
-
mhundley,thanks for reply. Yes, I am collecting & storing these information in txt file and from there, I am trying to read all information from each server from that txt file to perform specific task. Please suggest me how can I read it from txt file? thanks in advance...
-
Dear All, I want to write a Windows powershell script which will read the variable from a text file, sothat I can use it further process. for example, I have text file demo.txt and the contents of it is-- Server=xx.xx.xx.xx user=root Server=xx.xx.xx.xx user=root1 Now, I have demo.ps1 script and I want to read server and user names separately to perform the specific task for each server- connect server Server -username user but when I am trying it with Get-Content, it is reading the whole line,not a single variable. foreach( $Server in Get-Content C:\Scripts\demo.txt) { connect server $Server -username $user } Please provide me your valuable suggestions. Thanks in Advance...
-
How to call host script or cammand from guest
Vanit replied to Vanit's topic in Thin Client and Virtual Machines
yes, I have.I am able to do it using SSH. Now I want to do it from script placed on guest and when I will execute guest script, it will automatically call host script and perform the specific task. -
Hi All, I have installed ESXi 4.0 server and created guests vm on it and Ubuntu 10.10 is one of them. I installed vSphere CLI on it. I was able to execute script with expected output but now, when I am trying to do the same,getting following error- Any suggestions would be appreciated.
-
Hi All, I have installed vSphere Command Line Interface 4.1 on guest OS (fedora 12) but when I am trying to execute any script,getting the following error- Any suggestions would be appreciated.
-
Hi all, 1) I want to install vSphere CLI 4.1 on fedora 12 and when I am trying to install it,I am getting following message during installation-- I already have perl v5.10 version installed on it. and after uninstalling perl, when I am trying to install CLI getting the follwing message-- please help me and tell me how could I resolve it.
-
script to shutdown guest & host ESXi
Vanit replied to Vanit's topic in Thin Client and Virtual Machines
Thanks a lot for support....As per your suggestion, I reinstall it and now I am able to execute most of the scripts. but this is useful for shutting down ESXi server from guest VM which is not my requirement. My requirement is to shutdown all guest from ESXi server and then server itself.so how can I make it? -
script to shutdown guest & host ESXi
Vanit replied to Vanit's topic in Thin Client and Virtual Machines
vSphere CLI installer installs both the vSphere CLI and vSphere SDK for Perl. So I dont think to install active perl externally. When I am typing the following command- and when I am trying to execute other commands like- C:\Program Files\VMware\VMware vSphere CLI\bin>esxcfg-nas.pl --server ESXi server address here --list it is working fine and I am also able to see this file in bin directory but I didn't found vicfg-hostops.pl file anywhere in the directory. Please let me know what is going wrong here and how to resolve it. -
script to shutdown guest & host ESXi
Vanit replied to Vanit's topic in Thin Client and Virtual Machines
I installed vmware vSphare CLI on guest VM(Windows7) and when I am trying to run-- getting the following error-- 'vicfg-hostops.pl' is not recognized as is not recognized as an internal or external command,operable program or batch file. -
script to shutdown guest & host ESXi
Vanit replied to Vanit's topic in Thin Client and Virtual Machines
OK.. Now If I want to monitor the UPS via ESXi server and when power goes off or any event occers then it should do the following things- i) shutdown all vm running on ESXi server. ii) shutdown ESXi host also. How can I achieve it. -
Localzuk is right. App uses GUI for installation and it is also GUI based.Actually our app is multiOS app and most of OS are GUI based. so we developed GUI based app. Now we have to install in on headless server. So my question is how can I install my app on headless server.
-
script to shutdown guest & host ESXi
Vanit replied to Vanit's topic in Thin Client and Virtual Machines
Thanks for reply. I have developed it with vMA and able to shutdown as required but now I want to do the same with other option.So please provide me other options which can perform the same task. I will appreciate if you can provide me the script also. -
Hi All, I developed one software which uses GUI(java swings) to install it.Now I want to install it on headless Linux(VMware vMA). How can I install GUI application on vMA(headless os).
-
script to shutdown guest & host ESXi
Vanit replied to Vanit's topic in Thin Client and Virtual Machines
I am newbie in VMware and we need not to use vSphere Command-Line Interface or vMA. Is there any way that I can fire it from ESXi server? -
Hi All, I installed UPS monitoring application on one guest vm and now I want to shutdown all virtual machines and then host when power goes off or any specific event occurs. I installed VMware ESXi 4.0 server as host and different guest VM(Linux,Windows,Unix) on host.Now I want to shutdown all virtual machines which are running on server and then ESXi host. So how can I do it. Thanks in advance.
