


IoT Working Bench – Where the ideas materialize.

Unzip it and make sure it belongs to the glassfish user ! ( chown glassfish:glassfish -R * in the glassfish v3 folder) install Glassfish: Download from (for example wget ) install JDK: enable the canonical partners entry in / etc/apt/sources.list (something like deb lucid partner)
#Artist glassfish install
install ssh server (Ubuntu): sudo apt-get install openssh-server Reminder: Run glassfish under a separate user.

Please check if this server is running, that the host and port are correct, and that this server is configured to allow remote access. It is crucial to this, otherwise you will bounce at the second node while creating the second instance with an error:įailed to rendezvous with DAS on n1:4848. asadmin enable-secure-admin and restart the domain asadmin start-domain domain1įrom the bin folder execute. We will stick to it for this tutorial and keep the default user admin (without password) user.įrom the bin folder execute.
#Artist glassfish zip file
The default domain in the Glassfish zip file is domain1. Start DAS domain (Domain Administration Server).I installed 2 Ubuntu 10.04 LTS server running in Virtualbox ( link), added the last JDK and the Glassfish zip ( link).Ĭall them n1 and n2 and make sure they can connect to each other. At least 3 GB RAM is required for a decent performance of 2 servers as virtual guests.All steps can be done with console only (using asadmin command), but here the web console is used as far as possible.This tutorial only gets you going, there is lots of information to read up and it takes more time to harden and tune your cluster setup !.For Windows the same steps in Glassfish apply, only the location and syntax might differ slightly.īut the installation of SSH for Windows server differs and is not part of this tutorial. Ubuntu Linux is used for both host and guest server systems.Look for the Netbeans basic tutorials (without DB access) if you dont have one. A simple webapp (hello-world level) to do a test deployment.Basic understanding of the terminology node, instance, cluster (see reference 3.).Specifically because the admin console uses SSH to control the remote instance. I recommend running as user “glassfish” not as root.The guest running node2 must run a SSH server.Alternatively you could use 2 EC2 instances. I recommend using 2 server running as Virtualbox or VMWare guests.
