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 Long |
antHomes
(String(s))
Path to Ant home directories.
|
static String |
APPLE |
static Long |
bootstrapPort
(int(s))
Port on which the
Bootstrapper was started on each host. |
static Long |
extraTestDirs
(String(s))
Path to auxiliary test classes for each logical host, used by GemFire
add-ons such as GFMon.
|
static Long |
gemfireHomes
(String(s))
Path to GemFire product directory for each logical host.
|
static String |
HITACHI |
static String |
HOST_NAME_PROPERTY |
static Long |
hostNames
(String(s) or List of list of String(s))
Physical host names, if a simple list.
|
static String |
IBM |
static Long |
javaHomes
(String(s))
Path to Java home directories for each logical host.
|
static Long |
javaVendors
(String(s))
Vendors used by the VMs specified in
javaHomes. |
static Long |
jprobeHomes
(String(s))
Path to JProbe home directories for each logical host.
|
static String |
JROCKIT |
static Long |
names
(String(s))
Logical names of the host descriptions.
|
static Long |
osTypes
(String(s))
O/S type for each logical host.
|
static Long |
resourceDirBaseMapFileName
(String)
Absolute name of file containing a mapping of physical host names to
absolute base directories, as a list of properties.
|
static Long |
resourceDirBases
(String(s))
Absolute base directories for managed resources that use them, for
example, gemfire system logs and statarchives.
|
static String |
SUN |
static Long |
testDirs
(String(s))
Path to test classes for each logical host.
|
static Long |
userDirs
(String(s))
User directories.
|
| Constructor and Description |
|---|
HostPrms() |
| Modifier and Type | Method and Description |
|---|---|
static SortedMap<String,Vector<String>> |
getHostNameMap() |
static String |
getJavaVendor()
Returns the java vendor for this VM.
|
static 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 SortedMap |
getResourceDirBaseMap() |
static void |
main(String[] args) |
dumpKeys, keyForName, nameForKey, setValues, tab, tasktabpublic static final String HOST_NAME_PROPERTY
public static Long names
public static 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 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 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 Long gemfireHomes
public static Long userDirs
public static 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 Long resourceDirBaseMapFileName
resourceDirBases. Defaults to null (no map file is used).public static Long testDirs
public static Long extraTestDirs
public static Long javaHomes
public static 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 String SUN
public static final String IBM
public static final String JROCKIT
public static final String APPLE
public static final String HITACHI
public static Long jprobeHomes
public static Long antHomes
public static SortedMap getResourceDirBaseMap()
public static String getJavaVendor()
public static 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(String[] args)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.