...
Code Block |
---|
java -jar server.jar foo
java - jar server.jar foo2
h2. |
Runtime
...
Cloning
...
For
...
high-density
...
clustered
...
topologies
...
such
...
as
...
cloud
...
environments,
...
Fabric3
...
provides
...
the
...
ability
...
to
...
clone
...
runtimes.
...
This
...
allows
...
new
...
instances
...
to
...
be
...
spawned
...
from
...
a
...
configuration
...
template
...
using
...
a
...
single
...
command
...
without
...
the
...
need
...
for
...
manual
...
setup.
...
The
...
following
...
command
...
clones
...
a
...
runtime
...
image
...
and
...
launches
...
the
...
cloned
...
instance:
Code Block |
---|
java |
...
-jar server.jar clone:template runtime2 |
...
Code Block |
---|
h2. Configuring the Domain Name If more than one domain is run on the same physical network, it is necessary to create unique domain names. The domain name is configured using the domain attribute of the <runtime> element: {code:xml} |
Configuring the Domain Name
If more than one domain is run on the same physical network, it is necessary to create unique domain names. The domain name is configured using the domain attribute of the <runtime> element:
Code Block | ||||
---|---|---|---|---|
| ||||
<config> <runtime domain="mydomain"/> </config> |
...