AddingMachineToCluster
HOWTO: add a machine to the cluster
- This small tutorial will list the steps to add a machine to the cluster
- The example given here is a dcache headnode in the shadow cluster running on a virtual machine
Quattor
- In quattor following templates need to be adapted
- /CBv6/cfg/clusters/iihe-glite-shadow/profiles/profile_dcache2-shadow.iihe.ac.be
- Define type of machine
- /CBv6/cfg/clusters/iihe-glite-shadow/private/dcache2-shadow.iihe.ac.be
- Placeholders for the machine keys
- /CBv6/cfg/sites/iihe-shadow/site/os_version_db.tpl
- Define OS version to install on the machine
escape("dcache2-shadow.iihe.ac.be"),"sl550-x86_64",
- /CBv6/cfg/sites/iihe-shadow/site/databases.tpl
- Add an IP address for the machine:
- Warning: Use nslookup and ping to see if this ip exists in the DNS and/if it is pingable
escape("dcache2-shadow.iihe.ac.be"),"193.190.YYY.XXX", escape("dcache2-shadow.wn.iihe.ac.be"),"192.168.YYY.XXX",
- Point the machine to the hardware
escape("dcache2-shadow.iihe.ac.be"),"hardware/machine/Virtual/virtual_kvm_dcache2-shadow",
- /CBv6/cfg/sites/ulb-vub/hardware/machine/Virtual/virtual_kvm_argus.tpl
- Change the name and add a unique MAC address (or the real MAC address in case of a physical machine)
- Then compile the templates in your local workspace
- If build successful, add/update the changes to the repository
Add the ip addresses of the machine to the DNS
- This should be done as explained here GridAdminSurvivalGuide#HowtoaddanewmachineintheDNS
Machine certificates
- This page explains howto request certificates for the machine UpdateCertificates
Setup virtual machine host
- To setup a virtual machine check here VirtWithKVM1