Friday, August 21, 2009

How to get Xen instance IP from outside..

I prepared a script to get IP from Xen instance..

1) Put detIP.sh to Xen box

2) Usage: ./detIP.sh myVm 2> /dev/null


You should return by the IP of myVm instance..

detIP.sh
========




Hope this would be helpful ...

Monday, July 27, 2009

How to configure CAS with LDAP

The configuration is quite trivial.. still i wrote down:
1. install openldap and add some users:
ldapadd -x -D cn=admin,dc=demo,dc=cloudtronics,dc=com -W -f test.ldif
where test.ldif,


Now how to search, from application.. In tomcat web use deployerConfigContext.xml: