Here is an article on clustering in GlassFish 3.1 which explains how to
create multiple instances. The commands are the same for both Linux and
Windows.
http://glassfish.java.net/public/clustering31.html
There are references to additional documentation at the end of the article.
Tom