Jump to content

Vanit

Members
  • Posts

    16
  • Joined

  • Last visited

Reputation

0 Neutral

About Vanit

  1. 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...
  2. 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...
  3. 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.
  4. Hi All, I have a Ubuntu10.10 VM installed on ESXi 4.0 that monitors the UPS status.I have a script which is placed on sever.How do I go about getting this to run/call the script on the ESXi server when the UPS signals? In simple words, Can I call host script from guest and how? Many thanks,
  5. 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.
  6. 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.
  7. 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.
  8. 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?
  9. 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.
  10. 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.
  11. 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.
  12. 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.
  13. 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.
  14. 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).
  15. 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?
×
×
  • Create New...