Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-23-2006, 12:17 PM
mvermeulen mvermeulen is online now
Registered User
 
Join Date: 07-15-2003
Posts: 56
Send a message via Yahoo to mvermeulen
VMWare Step Problems

I have been able to download the VmCom Scripting API and install on the system I am running VBP. Do you have any examples that I could use in setting up the action for specific Operations?

I have tried to test the Report and Reset operations but am not receiving any of the response I would have expected.

If I insert the VMware Host computer name in the "Computer" field and hit refresh it tells me "Not Connected."

Upon filling in the blanks with information I would expect to be accurate, I certainly am not getting the Virtual Server to restart.

Help! ... Thanks
Reply With Quote
  #2  
Old 06-23-2006, 03:23 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
The Refresh button on the VMWare Server action doesn't actually involve VMWare at all, it just uses the NetServerEnum API [1] to get a list of servers. You can also manually enter the computer name in the Computer field.

The attached sample worked in my tests w/ the VMWare Server RC (v1.0.0 build-24927) on the server, and the VmCom lib (from the same installer) and VBP 6.1 on the client computer (of course, specifying valid server, user, password, and .vmx filename values). Be aware that firewalls or other networking software can block communications if not configured to allow it. Also, the Machine field must be the full drive+path+filename to a .vmx file (relative to the server) or a regex that matches the full filenames of the machine(s) to be manipulated.
http://www.visualbuild.com/Manual/vmwareserver.htm

[1] http://msdn.microsoft.com/library/de...serverenum.asp
Attached Files
File Type: bld vmware.bld (816 Bytes, 1471 views)
Reply With Quote
  #3  
Old 06-26-2006, 01:01 PM
mvermeulen mvermeulen is online now
Registered User
 
Join Date: 07-15-2003
Posts: 56
Send a message via Yahoo to mvermeulen
That did the trick. I did not have the complete path to the virtual server file. (i.e. /home/vmware/SERVERNAME/SERVERNAME.vmx)

As a follow up question, do any of the actions allow you to deal with a virtual in "undoable" mode? If you wish to commit, discard or otherwise?

Thanks much....
Reply With Quote
  #4  
Old 06-27-2006, 07:06 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
The VmCom lib does not expose snapshot functionality (if that's what you're referring to by undoable mode). You can configure the VM to revert to snapshot when powering off.
Reply With Quote
  #5  
Old 06-27-2006, 07:21 AM
mvermeulen mvermeulen is online now
Registered User
 
Join Date: 07-15-2003
Posts: 56
Send a message via Yahoo to mvermeulen
Thanks for the reply. I believe in this circumstance I might then have to come up with another option. If I understand you right, two modes of operation are supported through the current actions, persistent (saves all changes) and non-persistent (discards all changes).

The "undoable" mode needs a response as to whether the changes should be saved to the drive or not. Don't know enough about the VcCom capabilities to know if more can be done. Currently, we are using the VmPerlAPI and just wanted to see if there was another option exposed directly via VBP.

Thanks for your help....
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 08:26 PM.


Copyright © 1999-2023 Kinook Software, Inc.