|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gridkit.vicluster.ViConfigurable.Delegate
org.gridkit.nanocloud.RemoteNode
public class RemoteNode
Config properties for remote nodes.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.gridkit.vicluster.ViConfigurable |
|---|
ViConfigurable.Delegate |
| Field Summary | |
|---|---|
static String |
ACCOUNT
Hint, which account to use |
static String |
HOST
Hint, where to execute process |
static String |
JAR_CACHE_PATH
Hint. |
static String |
PASSWORD
|
static ViConfExtender<RemoteNode> |
REMOTE
|
static String |
SSH_AUTH_METHODS
|
static String |
SSH_KEY_FILE
|
| Constructor Summary | |
|---|---|
protected |
RemoteNode(ViConfigurable target)
|
| Method Summary | |
|---|---|
static RemoteNode |
at(ViConfigurable target)
|
protected ViConfigurable |
getConfigurable()
|
RemoteNode |
setHostsConfigFile(String path)
|
RemoteNode |
setPassword(String password)
Deprecated. You should use hosts config file to store passwords |
RemoteNode |
setRemoteAccount(String account)
|
RemoteNode |
setRemoteBootstrapJavaExec(String jarCachePath)
This is command used to start tunneller. |
RemoteNode |
setRemoteHost(String host)
|
RemoteNode |
setRemoteJarCachePath(String jarCachePath)
|
RemoteNode |
setRemoteJavaExec(String javaExec)
|
RemoteNode |
setRemoteNodeType()
|
RemoteNode |
setSshPrivateKey(String path)
|
RemoteNode |
useSimpleRemoting()
|
| Methods inherited from class org.gridkit.vicluster.ViConfigurable.Delegate |
|---|
setConfigElement, setConfigElements, setProp, setProps, x |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static ViConfExtender<RemoteNode> REMOTE
public static String HOST
public static String ACCOUNT
public static String PASSWORD
public static String SSH_AUTH_METHODS
public static String SSH_KEY_FILE
public static String JAR_CACHE_PATH
| Constructor Detail |
|---|
protected RemoteNode(ViConfigurable target)
| Method Detail |
|---|
public static RemoteNode at(ViConfigurable target)
protected ViConfigurable getConfigurable()
getConfigurable in class ViConfigurable.Delegatepublic RemoteNode setRemoteNodeType()
public RemoteNode useSimpleRemoting()
public RemoteNode setRemoteHost(String host)
public RemoteNode setRemoteAccount(String account)
public RemoteNode setHostsConfigFile(String path)
public RemoteNode setSshPrivateKey(String path)
public RemoteNode setPassword(String password)
public RemoteNode setRemoteJavaExec(String javaExec)
public RemoteNode setRemoteBootstrapJavaExec(String jarCachePath)
This is command used to start tunneller. For some reason you may want to use different commands for tunneller and actual slave process.
E.g. if you want to use sudo for
If command is composite, you should use pipe character. E.g. sudo|java.
jarCachePath -
public RemoteNode setRemoteJarCachePath(String jarCachePath)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||