summaryrefslogtreecommitdiff
path: root/templates-cfg
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-12-17 14:46:33 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2007-12-17 14:46:33 -0800
commit41aac6942e89fa24b938ec188a0933e52acff623 (patch)
tree0a7a4046dd0bede6fd1a7fc8c8082a068cc6fbe3 /templates-cfg
downloadvyatta-cluster-41aac6942e89fa24b938ec188a0933e52acff623.tar.gz
vyatta-cluster-41aac6942e89fa24b938ec188a0933e52acff623.zip
migrate clustering from fairfield to glendaleupstream
Diffstat (limited to 'templates-cfg')
-rw-r--r--templates-cfg/cluster/dead-interval/node.def3
-rw-r--r--templates-cfg/cluster/group/node.def3
-rw-r--r--templates-cfg/cluster/group/node.tag/auto-failback/node.def3
-rw-r--r--templates-cfg/cluster/group/node.tag/monitor/node.def3
-rw-r--r--templates-cfg/cluster/group/node.tag/primary/node.def2
-rw-r--r--templates-cfg/cluster/group/node.tag/secondary/node.def3
-rw-r--r--templates-cfg/cluster/group/node.tag/service/node.def3
-rw-r--r--templates-cfg/cluster/interface/node.def3
-rw-r--r--templates-cfg/cluster/keepalive-interval/node.def3
-rw-r--r--templates-cfg/cluster/node.def2
-rw-r--r--templates-cfg/cluster/pre-shared-secret/node.def2
11 files changed, 30 insertions, 0 deletions
diff --git a/templates-cfg/cluster/dead-interval/node.def b/templates-cfg/cluster/dead-interval/node.def
new file mode 100644
index 0000000..edf946f
--- /dev/null
+++ b/templates-cfg/cluster/dead-interval/node.def
@@ -0,0 +1,3 @@
+type: u32
+help: "How long until a node is considered dead after missing heartbeats (seconds)"
+default: 20
diff --git a/templates-cfg/cluster/group/node.def b/templates-cfg/cluster/group/node.def
new file mode 100644
index 0000000..641c8a7
--- /dev/null
+++ b/templates-cfg/cluster/group/node.def
@@ -0,0 +1,3 @@
+tag:
+type: txt
+help: "Name of resource group for clustering"
diff --git a/templates-cfg/cluster/group/node.tag/auto-failback/node.def b/templates-cfg/cluster/group/node.tag/auto-failback/node.def
new file mode 100644
index 0000000..7dac862
--- /dev/null
+++ b/templates-cfg/cluster/group/node.tag/auto-failback/node.def
@@ -0,0 +1,3 @@
+type: bool
+default: false
+help: "Fail back to primary node if it recovers from failure"
diff --git a/templates-cfg/cluster/group/node.tag/monitor/node.def b/templates-cfg/cluster/group/node.tag/monitor/node.def
new file mode 100644
index 0000000..fdf9437
--- /dev/null
+++ b/templates-cfg/cluster/group/node.tag/monitor/node.def
@@ -0,0 +1,3 @@
+multi:
+type: ipv4
+help: "IP address(es) for monitoring connectivity"
diff --git a/templates-cfg/cluster/group/node.tag/primary/node.def b/templates-cfg/cluster/group/node.tag/primary/node.def
new file mode 100644
index 0000000..707bea9
--- /dev/null
+++ b/templates-cfg/cluster/group/node.tag/primary/node.def
@@ -0,0 +1,2 @@
+type: txt
+help: "Host name of the primary node"
diff --git a/templates-cfg/cluster/group/node.tag/secondary/node.def b/templates-cfg/cluster/group/node.tag/secondary/node.def
new file mode 100644
index 0000000..63793ee
--- /dev/null
+++ b/templates-cfg/cluster/group/node.tag/secondary/node.def
@@ -0,0 +1,3 @@
+multi:
+type: txt
+help: "Host name(s) of the secondary node(s)"
diff --git a/templates-cfg/cluster/group/node.tag/service/node.def b/templates-cfg/cluster/group/node.tag/service/node.def
new file mode 100644
index 0000000..839c702
--- /dev/null
+++ b/templates-cfg/cluster/group/node.tag/service/node.def
@@ -0,0 +1,3 @@
+multi:
+type: txt
+help: "IP address(es) or service name(s) in this resource group"
diff --git a/templates-cfg/cluster/interface/node.def b/templates-cfg/cluster/interface/node.def
new file mode 100644
index 0000000..448ed6a
--- /dev/null
+++ b/templates-cfg/cluster/interface/node.def
@@ -0,0 +1,3 @@
+multi:
+type: txt
+help: "Interface(s) for sending/receiving heartbeat packets"
diff --git a/templates-cfg/cluster/keepalive-interval/node.def b/templates-cfg/cluster/keepalive-interval/node.def
new file mode 100644
index 0000000..525dbce
--- /dev/null
+++ b/templates-cfg/cluster/keepalive-interval/node.def
@@ -0,0 +1,3 @@
+type: u32
+help: "Time interval between heartbeat packets (seconds)"
+default: 5
diff --git a/templates-cfg/cluster/node.def b/templates-cfg/cluster/node.def
new file mode 100644
index 0000000..b2cacb1
--- /dev/null
+++ b/templates-cfg/cluster/node.def
@@ -0,0 +1,2 @@
+help: "Configure clustering"
+end: "sudo /opt/vyatta/sbin/vyatta-update-cluster.pl"
diff --git a/templates-cfg/cluster/pre-shared-secret/node.def b/templates-cfg/cluster/pre-shared-secret/node.def
new file mode 100644
index 0000000..a70da79
--- /dev/null
+++ b/templates-cfg/cluster/pre-shared-secret/node.def
@@ -0,0 +1,2 @@
+type: txt
+help: "Pre-shared secret for authentication between cluster nodes"