===== I have moved on! =====

Please join me at Virtually Lost in the search to find Nirvana using virtualization technologies.

Monday, May 7, 2007

Installing the 3.2 XenEnterprise Admin Console on OSX

So, Enterprise 3.2 came out at the beginning of the month, and it mentions that a new way of using fonts is included in the console, so I have to upgrade if I actually want to see the text console for my Linux VMs. The thing is that some additional tweaking is necessary. Here are my upgraded instructions, but these only apply to version 3.2 of the console:


Here are the steps to get your XenEnterprise Administrative Console running on OSX 10.4.9:


  • You need to install Java version 6, so get your Apple Developper Account (here to get one), and navigate their site:

    developer.apple.com -> Login -> Downloads -> Java -> Java SE 6.0 Release 1 DP6 (Disk Image)


    The file you need to get is called javase6release1dp6.dmg
    The release notes are here

  • Install Java SE 6.0 on your OSX

  • From the XenEnterprise Linux Clients CD, transfer the files /client-install/xenserver-client-3.2.0-2004.noarch.rpm and xenserver-client-jars-3.2.0-2004.noarch.rpm to a Linux box.

  • On the Linux box, run rpm2targz on both those files, this will create .tar.gz archives of these .rpm files.

  • Transfer those two .tar.gz files to your Mac

  • On the Mac:

    cd /

    sudo tar -xzvf ~user/xenserver-client-3.2.0-2004.noarch.tar.gz

    sudo tar -xzvf ~user/xenserver-client-jars-3.2.0-2004.noarch.tar.gz

    cd /opt/xensource/xenserver-client/bin


  • Edit the file xenserver-client.sh and change:

    ${BASEDIR}/jre/bin/java \

    to

    /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands/java \
    -XX:+UseTLAB \


  • Start the ./xenserver-client.sh script.


3 comments:

Unknown said...

Where do I transfer the 2 files too? What folder?

Unknown said...

OK, I got a bit farther. I have it installed correctly I think but now when I try and run the script, I get the following:

Java HotSpot(TM) Client VM warning: Untested: Atomic::add_ptr - void in /SourceCache/HotSpot16/HotSpot16-17/src/os_cpu/macosx_i486/vm/atomic_macosx_i486.inline.hpp: 53

Java HotSpot(TM) Client VM warning: Untested: Atomic::add_ptr - void in /SourceCache/HotSpot16/HotSpot16-17/src/os_cpu/macosx_i486/vm/atomic_macosx_i486.inline.hpp: 53

./xenserver-client.sh: line 23: 662 Trace/BPT trap /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands/java -XX:+UseTLAB -Xincgc -Xms32m -Xmx1024m -Djavax.net.ssl.trustStore=client.ks -Djavax.net.ssl.trustStoreType=JCEKS -DLOGDIR=$HOME/.xensource/log -Dlog4j.configuration=file:///$HOME/.xensource/log4j.properties -Dlog4j.configuration.global=file:///$BASEDIR/runtime/log4j.properties -Dclient.properties=file://$HOME/.xensource/client.properties -Ddefault.layout=file://$HOME/.xensource/default2004.layout -Drdesktop=$HOME/.xensource/rdesktop -Drdesktop.global=$BASEDIR/runtime/rdesktop -DcheckForUpdatesURI=http://www.xensource.com/updates -DCPU_WEIGHT_NORMAL=256 -DCPU_WEIGHT_LOW=128 -DCPU_WEIGHT_HIGH=512 -jar ${BASEDIR}/runtime/xenserver-client.jar


Does anyone know if there is a way to fix this?

Unknown said...

same problem here;