From: Robinson, G. <gar...@sa...> - 2007-08-30 08:13:32
|
Hi all,=20 =20 Could someone please point me in the direction where i could learn about setting up an HTTP Server to serve classes to SmartFrog to avoid daemon restarts when new jar files are created/old jars updated.=20 (It is mentioned on the pdf SmartFrog tutorial, on page 4 that this is described in the SmartFrog Reference Manual but i cant seem to find any information). =20 Thanks, =20 Gary :) ________________________________ From: Guijarro, Julio [mailto:jul...@hp...]=20 Sent: 22 August 2007 11:12 To: Robinson, Gary; sma...@li... Subject: RE: [Smartfrog-support] Virtual Machines and SmartFrog Glad to here that. =20 Regards, =20 Julio G =20 ________________________________ From: Robinson, Gary [mailto:gar...@sa...]=20 Sent: 22 August 2007 11:07 To: Guijarro, Julio; sma...@li... Subject: RE: [Smartfrog-support] Virtual Machines and SmartFrog =20 Hi Julio =20 Brilliant advice. Now working :). Thank-you very much.=20 =20 Gary =20 ________________________________ From: Guijarro, Julio [mailto:jul...@hp...]=20 Sent: 22 August 2007 10:32 To: Robinson, Gary; sma...@li... Subject: RE: [Smartfrog-support] Virtual Machines and SmartFrog Yes, I thought that vmware would always use a fixed subnet for VMNet8. In you case, you either modify the gateway or modify the host table to use: 192.168.116.xxx addresses. =20 Also in the host os (it will have multiple nics) set the environment variable (before starting the daemon): SFSERVERHOSTNAME=3D"sfdemohost".=20 =20 This will tell the RMI server to use the right hostname for the RMI stubs. =20 Julio =20 =20 ________________________________ From: Robinson, Gary [mailto:gar...@sa...]=20 Sent: 22 August 2007 10:05 To: Guijarro, Julio; sma...@li... Subject: RE: [Smartfrog-support] Virtual Machines and SmartFrog =20 Hi Julio,=20 =20 In VMWare Server, my vmnet host , VMNet8, has a gateway mask of 192.168.116.2, are you sure that i do not to change this if i want to assign IPs on a different subnet, ie 192.168.182...? Gary =20 ________________________________ From: Guijarro, Julio [mailto:jul...@hp...]=20 Sent: 22 August 2007 09:51 To: Robinson, Gary; sma...@li... Subject: RE: [Smartfrog-support] Virtual Machines and SmartFrog Hi Gary, =20 I don't know what guest os you are using but what you need to do is not use DHCP and using the configuration tools for your OS, set networking with the ip and and then reboot. In this way you will always be able to locate the machines by name or ip. =20 If you make sfdemohost 127.0.0.1 then when you copy this to all the guest hosts none of them won't be able to locate back the server code in your laptop because all of them will try to locate themselves. =20 No, you don't need to disable your Ethernet adapter for this to work. =20 You don't need to modify the gateway.=20 =20 Julio =20 ________________________________ From: Robinson, Gary [mailto:gar...@sa...]=20 Sent: 22 August 2007 09:36 To: Guijarro, Julio; sma...@li... Subject: RE: [Smartfrog-support] Virtual Machines and SmartFrog =20 Hi Julio, =20 How do I set the ip/name in every vm os according to the table? Do i set my adapter up for DHCP or how can i explicity set ip addresses? What should my Gateway ip address be set as? As for "sfdemohost" should it not just be my local address, ie 127.0.0.1? Do i need to disable my physical ethernet adapter for this to work? =20 Kind Regards, =20 Gary =20 ________________________________ From: Guijarro, Julio [mailto:jul...@hp...]=20 Sent: 21 August 2007 18:17 To: Robinson, Gary; sma...@li... Subject: RE: [Smartfrog-support] Virtual Machines and SmartFrog Hi Gary, =20 I don't have/use vmware server but I use vmware workstation and this is what I do to make sure that the vms can locate each other: =20 1. Configure VMWare - Set up VMWare networking to use *only* the NAT/DHCP service (VMNet8) disable the other network services =20 2. Configure windows/linux networking (in host and vms)=20 =20 - Set ip/name in every vm os according to the table bellow. =20 - Add the following to the Windows HOSTS file (c:\windows\system32\drivers\etc\hosts) - Add the following to the linux HOSTS file (\etc\hosts) =20 =20 Example: 192.168.182.1 sfdemohost =20 192.168.182.100 sfdemo00 192.168.182.101 sfdemo01 192.168.182.102 sfdemo02 192.168.182.103 sfdemo03 192.168.182.104 sfdemo04 192.168.182.105 sfdemo05 192.168.182.106 sfdemo06 =20 =20 Once you have finished test with nslookup to see is all the machines can reach the others.=20 =20 Then everything should work. =20 Please, let me know if this works for you on VMWServer or if you need more detailed instructions. =20 Regards, =20 Julio Guijarro =20 =20 ________________________________ From: sma...@li... [mailto:sma...@li...] On Behalf Of Robinson, Gary Sent: 17 August 2007 14:57 To: sma...@li... Subject: [Smartfrog-support] Virtual Machines and SmartFrog =20 Hey guys,=20 I am using VMWare Server, and I am not allowed to use bridged networking mode (for virtual machines) in my network. How can I set up VMWare Server so that I can deploy component descriptions to a sfDaemon running on a virtual machine, from a physical machine? I have tried using NAT but when I try deployment it either fails, or deploys to my physical machine (if its running sfDaemon).=20 Kind Regards,=20 Gary=20 |