12 replies [Last post]
raju2210 (Offline)
Eucalyptus on Solaris
Posted: Wed, 03/03/2010 - 04:47

Hi All,

Has anyone tried putting Eucalyptus on sprac based machine? is it possible to do that? any documentation on the same.

Thanks & Regards,
Raj

graziano (Offline)
Hello, we have not heard of
Posted: Wed, 03/03/2010 - 10:52

Hello,

we have not heard of it, but let us know if you find more information. Does kvm or xen works on sparc?

cheers
graziano

john21 (Offline)
LDoms Usage
Posted: Wed, 03/03/2010 - 20:49

You can use LDOM virtualization on Sparc and install Libvert provided by Sun (common interface) and then integrate this libvert with eucalyptus to manage the cloud. It will work!

Cheers
John

graziano (Offline)
Hello John, it looks like you
Posted: Mon, 03/08/2010 - 10:07

Hello John,

it looks like you got some experience: do you care about creating a wiki page explaining what to do? It may help other users.

thanks!
graziano

mrhearn (Offline)
Did you manage.....
Posted: Thu, 04/08/2010 - 05:29

John/Graziano
Did you ever manage to create the wiki / notes / HowTo's on the subject of Eucalyptus supporting solaris based hypervisors beyond xen - (ldom's, virtualbox) ?

Cheers!!

vivekjuneja (Offline)
Eucalyptus on Solaris
Posted: Thu, 04/08/2010 - 05:56

Hi John,

We have documented the How-To's for setting up Eucalyptus on Ldoms, using the Sun Libvirt library.
I will be able to share with you all very soon.

Thanks,
Vivek Juneja

iytechem (Offline)
Hi Vivek, I just want to
Posted: Sat, 04/17/2010 - 00:24

Hi Vivek,

I just want to remind you if it is ready can you post the documentation for "How-To's for setting up Eucalyptus on Ldoms, using the Sun Libvirt library".

Thanks,
Goekhan AKSAKALLI

vivekjuneja (Offline)
I am adding the Euc on Solaris Wiki this weekend
Posted: Mon, 04/19/2010 - 22:01

Hi all,

Sorry for the late reply. I am adding the Eucalyptus on Solaris (SPARC) wiki this weekend.

Thanks,
Vivek

mrhearn (Offline)
Ready?
Posted: Sat, 05/01/2010 - 09:05

Hey, Vivekuneja!
Did you ever create the ldoms on eucalyptus wiki? I 'm dead curious about such possibilities.

Cheers!!!

iytechem (Offline)
Hi Vivek, Please Inform us
Posted: Wed, 06/02/2010 - 07:57

Hi Vivek,

Please Inform us about getting Eucalyptus working on SPARC. I don't want to spend many hours if it is not possible.

Thanks

vivekjuneja (Offline)
Hi guys
Posted: Wed, 06/02/2010 - 08:24

Hi All,

I will gradually update this reply with more information. To give a gist, I was able to port Eucalyptus-CC, NC, Cloud services and other dependent services on Solaris / SPARC. My main intention was to enable Eucalyptus talk to the Sun LDoms using the Sun Libvirt library. My first step was to have install Eucalyptus from Source (the version i used is 1.5.1).
I faced lot of issues with compilation problems for many dependencies like Apache Axis 2/C, Rampart etc. I had progressively fixed all of them, and was able to compile the Eucalyptus services. The only challenge is the Sun Libvirt is the libvirt implementation of an old version of the same library (0.3.2), which causes Eucalyptus to fail for some requests. To solve that, I had to disable those calls, and rely on the API implementation that worked for Sub Libvirt.

In the end, I was able to run the service Eucalyptus- CC, NC, Cloud. I used a Ubuntu Debian SPARC Image to run it on the Eucalyptus Cloud.

More on this in the days to come. I will add more details on compilation procedure, issues to resolve, and strategy used to run.

Thanks,
Vivek Juneja

graziano (Offline)
Hello, thanks for the
Posted: Wed, 06/02/2010 - 14:51

Hello,

thanks for the updates! This is pretty cool! If you feel like, you can also create a wiki page to document the steps.

cheers
graziano

iytechem (Offline)
Thanks
Posted: Wed, 06/30/2010 - 08:31

Hi Vivek,

Thanks for the updates.I am very excited.

Our system:
Server:Sparc Enterprise T5240
OS :Solaris 10 10/09

I followed the tutorial http://open.eucalyptus.com/wiki/installing-eucalyptus-source-16 .

* First I Installed some packages like openssl, Apache 2, Apache ant, Curl and their dependencies.

*However when I try to build Axis2c after configuring with CFLAGS="-w" ./configure --prefix=${AXIS2C_HOME} --with-apache2=$APACHE_INCLUDES --with-apr=$APR_INCLUDES --enable-multi-thread=no

While building the axis2c I got the error message by using the header files of apache-2.2.15 :
_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -w -D_LARGEFILE64_SOURCE -ansi -Wall -Werror -Wno-implicit-function-declaration -g -D_GNU_SOURCE -DAXIS2_GUTHTHILA_ENABLED -MT mod_axis2.lo -MD -MP -MF .deps/mod_axis2.Tpo -c mod_axis2.c -fPIC -DPIC -o .libs/mod_axis2.o
In file included from /usr/include/sys/stream.h:22,
from /usr/include/netinet/in.h:66,
from /usr/local/apache2/include/apr_network_io.h:31,
from /usr/local/apache2/include/httpd.h:53,
from mod_axis2.c:19:
/usr/include/sys/vnode.h:578: error: syntax error before "uio_t"
/usr/include/sys/vnode.h:580: error: syntax error before "uio_t"
/usr/include/sys/vnode.h:598: error: syntax error before "uio_t"
/usr/include/sys/vnode.h:600: error: syntax error before "uio_t"
In file included from /usr/local/apache2/include/apr_network_io.h:31,
from /usr/local/apache2/include/httpd.h:53,
from mod_axis2.c:19:
/usr/include/netinet/in.h:977: error: field `gr_group' has incomplete type
/usr/include/netinet/in.h:986: error: field `gsr_group' has incomplete type
/usr/include/netinet/in.h:987: error: field `gsr_source' has incomplete type
/usr/include/netinet/in.h:995: error: field `gf_group' has incomplete type
/usr/include/netinet/in.h:998: error: field `gf_slist' has incomplete type
In file included from /usr/local/apache2/include/httpd.h:53,
from mod_axis2.c:19:
/usr/local/apache2/include/apr_network_io.h:246: error: field `sas' has incomplete type
make[7]: *** [mod_axis2.lo] Error 1

http://wikis.sun.com/display/BigAdmin/Creating+an+experimental+cloud+on+...
they suggested to remove -ansi at all configuration files so I removed them manually from 15 configuration files but still the same error message appeared.

*Tried to build with headers of apache-2.0.59 than I got the error message
_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -w -D_LARGEFILE64_SOURCE -Wall -Werror -Wno-implicit-function-declaration -g -D_GNU_SOURCE -DAXIS2_GUTHTHILA_ENABLED -MT mod_axis2.lo -MD -MP -MF .deps/mod_axis2.Tpo -c mod_axis2.c -fPIC -DPIC -o .libs/mod_axis2.o
In file included from /usr/local/apache2/include/httpd.h:39,
from mod_axis2.c:19:
/usr/local/apache2/include/apr_network_io.h:215: error: field `sin6' has incomplete type
make[7]: *** [mod_axis2.lo] Error 1
make[7]: Leaving directory `/home/eucalyptus/eucalyptus-src-deps/axis2c-src-1.6.0/src/core/transport/http/server/apache2'
make[6]: *** [all-recursive] Error 1

Programatically commented ip6 usage at usr/local/apache2/include/apr_network_io.h:214
#if APR_HAVE_IPV6
/** IPv6 sockaddr structure */
/** changed by geokhan
struct sockaddr_in6 sin6;
*/
#endif

so build complete but.When I try to run Axis2c I got Segmentation fault.
* Tried to build rampart but the following error message appeared through the make :
gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I ../../../../util/include -I ../../../../include -I ../../../../axiom/include -I/usr/local/ssl//include -I/opt/eucalyptus/eucalyptus-1.6.2/packages/axis2c-1.6.0/include/axis2-1.6.0 -D_XOPEN_SOURCE=600 -std=c99 -DEXTENSIONS -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -g3 -ansi -Wall -Werror -ggdb -Wno-implicit-function-declaration -MT token_encrypted_data.lo -MD -MP -MF .deps/token_encrypted_data.Tpo -c token_encrypted_data.c -fPIC -DPIC -o .libs/token_encrypted_data.o
In file included from /usr/include/sys/int_types.h:34,
from /usr/include/sys/stdint.h:17,
from /usr/include/stdint.h:17,
from /opt/eucalyptus/eucalyptus-1.6.2/packages/axis2c-1.6.0/include/axis2-1.6.0/axutil_utils_defines.h:25,
from /opt/eucalyptus/eucalyptus-1.6.2/packages/axis2c-1.6.0/include/axis2-1.6.0/axutil_allocator.h:26,
from /opt/eucalyptus/eucalyptus-1.6.2/packages/axis2c-1.6.0/include/axis2-1.6.0/axis2_util.h:22,
from ../../../include/oxs_tokens.h:21,
from token_encrypted_data.c:18:
/usr/include/sys/feature_tests.h:336:2: #error "Compiler or options invalid; UNIX 03 and POSIX.1-2001 applications require the use of c99"

Did you have similiar problems?it will be very cool if you post a wiki about your experience.

Best Wishes,
Goekhan Aksakalli