Re: [Users] how to create a debug envinonment ?

2013-02-27 Thread Juan Hernandez

On 02/27/2013 10:52 AM, bigclouds wrote:

both engine and vdms.



For the engine you can do a regular installation and then add the 
following to /etc/sysconfig/ovirt-engine:


ENGINE_DEBUG_ADDRESS=you_ip:your_port

Then restart the engine. That will start the Java virtual machine with 
support for remote debugging. Make sure that the firewall lets you 
connect to that address and port. Then you will be able to connect with 
your favorite Java debugger (Eclipse, for example) and set breakpoints, 
run step by step etc.


--
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 
3ºD, 28016 Madrid, Spain

Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] how to create a debug envinonment ?

2013-02-27 Thread bigclouds

thanks,i know a little more. but i do not understand fully.  distrubute 
filesystem  is more understandable.
specially,,for SAN(iscsi,fc)  it is hard to share luns between nodes(not 
reliable), even use LVM,CLVM.


would you explain it ( SAN case)?and it is hard to connect 'local directory' 
with distrbuted repo.


thanks.








At 2013-02-27 17:57:11,Juan Hernandez jhern...@redhat.com wrote:
On 02/27/2013 10:52 AM, bigclouds wrote:
 both engine and vdms.


For the engine you can do a regular installation and then add the 
following to /etc/sysconfig/ovirt-engine:

ENGINE_DEBUG_ADDRESS=you_ip:your_port

Then restart the engine. That will start the Java virtual machine with 
support for remote debugging. Make sure that the firewall lets you 
connect to that address and port. Then you will be able to connect with 
your favorite Java debugger (Eclipse, for example) and set breakpoints, 
run step by step etc.

-- 
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users