a free IP (Welcome ping !) • 3 - Foreman ◦ Go in Foreman and select a node ◦ Get the @MAC ◦ Create the node + put in build mode 12 • 4 - Puppet ◦ Reserve @Mac / DNS name in DHCP ◦ Commit + push ◦ Run the agent on every DHCP nodes • 2 - Puppet ◦ Reserve IP / DNS name in DNS ◦ Commit + push ◦ Run the agent on every DHCP nodes
- Foreman + SmartProxies • We ◦ 1 big zone file • Foreman Smart-proxy ◦ Dynamic updates = nsupdate ◦ Binary journal file + serial conflicts 18 • We ◦ Do nics bonding ◦ Need to register n@Macs <> 1 IP Pain points: DNS Pain points: DHCP
◦ Do not master Ruby ◦ Are not “a Tech company” ◦ Are not that big • Foreman & Smart-proxy ◦ Very complex code base ◦ Very complex UI ◦ Generic and have a lots (too many) of features 19 Pain points: Foreman
imposée • Système de hook / callback arbitraire sur les transitions d’état • Metadata key / value arbitraires associées à chaque assets • Web UI + API http + firehose 24
COLLINS_CONFIG=/home/xkrantz/Sources/github.schibsted.io/leboncoin/acdc/conf/collins.yaml Tasks: collins-shell asset <command> # Asset related commands collins-shell asset_type <command> # Asset Type related commands collins-shell console # drop into the interactive collins shell collins-shell help [TASK] # Describe available tasks or one specific task collins-shell ip_address <command> # IP address related commands collins-shell ipmi <command> # IPMI related commands collins-shell latest # check if there is a newer version of collins-shell collins-shell log MESSAGE # log a message on an asset collins-shell logs TAG # fetch logs for an asset specified by its tag. Use "all" for a... collins-shell power ACTION --reason=REASON --tag=TAG # perform power action (off, on, rebootSoft, rebootHard, etc) o... collins-shell power_status # check power status on an asset collins-shell provision <command> # Provisioning related commands collins-shell search_logs QUERY # search for asset logs collins-shell state <command> # State management related commands - use with care collins-shell tag <command> # Tag related commands collins-shell version # current version of collins-shell