public class HostPrms extends BasePrms
HostDescription.
The number of instances is gated by names. The remaining parameters
have the indicated default values. If fewer non-default values than names
are given for these parameters, the remaining instances will use the last
value in the list. See $JTESTS/hydra/hydra.txt for more details.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.Long |
antHomes
(String(s))
Path to Ant home directories.
|
static java.lang.String |
APPLE |
static java.lang.Long |
bootstrapPort
(int(s))
Port on which the
Bootstrapper was started on each host. |
static java.lang.Long |
extraTestDirs
(String(s))
Path to auxiliary test classes for each logical host, used by GemFire
add-ons such as GFMon.
|
static java.lang.Long |
gemfireHomes
(String(s))
Path to GemFire product directory for each logical host.
|
static java.lang.String |
HITACHI |
static java.lang.String |
HOST_NAME_PROPERTY |
static java.lang.Long |
hostNames
(String(s) or List of list of String(s))
Physical host names, if a simple list.
|
static java.lang.String |
IBM |
static java.lang.Long |
javaHomes
(String(s))
Path to Java home directories for each logical host.
|
static java.lang.Long |
javaVendors
(String(s))
Vendors used by the VMs specified in
javaHomes. |
static java.lang.Long |
jprobeHomes
(String(s))
Path to JProbe home directories for each logical host.
|
static java.lang.String |
JROCKIT |
static java.lang.Long |
names
(String(s))
Logical names of the host descriptions.
|
static java.lang.Long |
osTypes
(String(s))
O/S type for each logical host.
|
static java.lang.Long |
resourceDirBaseMapFileName
(String)
Absolute name of file containing a mapping of physical host names to
absolute base directories, as a list of properties.
|
static java.lang.Long |
resourceDirBases
(String(s))
Absolute base directories for managed resources that use them, for
example, gemfire system logs and statarchives.
|
static java.lang.String |
SUN |
static java.lang.Long |
testDirs
(String(s))
Path to test classes for each logical host.
|
static java.lang.Long |
userDirs
(String(s))
User directories.
|
| Constructor and Description |
|---|
HostPrms() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.SortedMap<java.lang.String,java.util.Vector<java.lang.String>> |
getHostNameMap() |
static java.lang.String |
getJavaVendor()
Returns the java vendor for this VM.
|
static java.lang.String |
getJavaVendor(int i)
Returns the i'th value for
javaVendors; Defaults to the
vendor in the invoking VM, which, during test configuration, is the
hydra master controller. |
static java.util.SortedMap |
getResourceDirBaseMap() |
static void |
main(java.lang.String[] args) |
dumpKeys, keyForName, nameForKey, setValues, tab, tasktabpublic static final java.lang.String HOST_NAME_PROPERTY
public static java.lang.Long names
public static java.lang.Long bootstrapPort
Bootstrapper was started on each host.
Defaults to BasePrms.NONE.
This parameter is used to bootstrap a hydra hostagent on a remote host.
The port must match the one used to start a Bootstrapper on
the remote host. A bootstrap port is required for remote hosts running
Windows, and for remote hosts running Unix when the hydra master is
on Windows. All other hostagent bootstrapping relies on ssh.
Bootstrapperpublic static java.lang.Long hostNames
#name prefix followed by a list of
physical host names to which logical host names with that prefix are
mapped round robin.
The local host can be specified as "localhost". Default is the master host.
public static java.lang.Long osTypes
HostHelper#OSType. Defaults to the O/S ltype of the hydra master.
This parameter must be configured appropriately in tests where at least one host uses a different O/S than the hydra master.
public static java.lang.Long gemfireHomes
public static java.lang.Long userDirs
public static java.lang.Long resourceDirBases
To move the remote directories back to the master user.dir after
the test, run using BatteryTest with
-DmoveRemoteDirs=true.
See also resourceDirBaseMapFileName.
public static java.lang.Long resourceDirBaseMapFileName
resourceDirBases. Defaults to null (no map file is used).public static java.lang.Long testDirs
public static java.lang.Long extraTestDirs
public static java.lang.Long javaHomes
public static java.lang.Long javaVendors
javaHomes. Default is
the vendor used by the hydra master controller VM. Valid values are
"Sun" (HotSpot), "IBM", "JRockit", "Apple", "Hitachi".public static final java.lang.String SUN
public static final java.lang.String IBM
public static final java.lang.String JROCKIT
public static final java.lang.String APPLE
public static final java.lang.String HITACHI
public static java.lang.Long jprobeHomes
public static java.lang.Long antHomes
public static java.util.SortedMap<java.lang.String,java.util.Vector<java.lang.String>> getHostNameMap()
public static java.util.SortedMap getResourceDirBaseMap()
public static java.lang.String getJavaVendor()
public static java.lang.String getJavaVendor(int i)
javaVendors; Defaults to the
vendor in the invoking VM, which, during test configuration, is the
hydra master controller.public static void main(java.lang.String[] args)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.