diff options
author | Aaron LI <aly@aaronly.me> | 2017-06-14 23:22:43 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2017-06-14 23:22:43 +0800 |
commit | 06f2fe3bf2e1a764a866434af7035a84aecea53d (patch) | |
tree | e10259761920636bb2cef5c6dbf87b9a815a510e | |
parent | 408d9feb9936803b3b1e91abd9b8cf53e59dc579 (diff) | |
download | debian-hpc-06f2fe3bf2e1a764a866434af7035a84aecea53d.tar.bz2 |
Add basic group variables
-rw-r--r-- | group_vars/all | 10 | ||||
-rw-r--r-- | group_vars/master | 37 |
2 files changed, 47 insertions, 0 deletions
diff --git a/group_vars/all b/group_vars/all new file mode 100644 index 0000000..bed36a9 --- /dev/null +++ b/group_vars/all @@ -0,0 +1,10 @@ +--- +# Cluster name +# Also to be used as the hostname of the master node, +# and as the NIS domain name +cluster_name: xcluster + +# Number of cluster nodes (exclude the master node) +num_nodes: 3 + +# vim: set ft=yaml sw=2: diff --git a/group_vars/master b/group_vars/master new file mode 100644 index 0000000..d5084e5 --- /dev/null +++ b/group_vars/master @@ -0,0 +1,37 @@ +--- +# +# Variables for the master node only +# + +# +# WAN +# + +# Interface attached to the WAN +wan_if: eth1 + +# +# LAN for the cluster nodes +# + +# Interface attached to the cluster LAN +lan_if: eth0 +# LAN IP for the master +lan_ip: 192.168.1.254 + +lan_dhcp_begin: 192.168.1.1 +lan_dhcp_end: 192.168.1.200 +lan_netmask: 255.255.255.0 + +# +# Auto system installation for nodes +# + +tftp_root: /srv/tftp + +# Mirror from where to install packages +apt_mirror: ftp.sjtu.edu.cn +# Source for the security updates +apt_security_host: ftp.sjtu.edu.cn + +# vim: set ft=yaml sw=2: |