11

Click here to load reader

Chef on AIX

Embed Size (px)

Citation preview

Page 1: Chef on AIX

Chef on AIXJulian Dunn – Product Manager, Chef Software, Inc.

Page 2: Chef on AIX

Agenda

• Motivations

• Technical challenges

• Platform quirks

• Community developments

• Test Kitchen support

• Resources / Questions

Page 3: Chef on AIX

Motivations behind the Chef Client port to AIX

• Many legacy deployments that

work fine – 1000’s of LPARs

not uncommon

• Automate & avoid drift – stop

using SMIT/manual

operations

• Abstract OS for easier porting

to other OSes (primarily

Linux)

Page 4: Chef on AIX

Technical Challenges

• Low/no familiarity with platform,

hardware architecture, setup

• XLC - proprietary compiler

• Can’t depend on GNU-isms – bootstrap

systems from scratch

• No real package manager

• Two init systems

• Virtualization features are sometimes

cool, sometimes not

Page 5: Chef on AIX

Platform quirks and specific features

• All core Chef resources work out of the box on AIX

• Special resources in core:

bff_package

service – need to specify whether Init or SRC, and some actions don’t work

• More specific AIX resources in aix library cookbook:

Manage inittab

Manage rc.tcpip services

Manage inted.conf services

Change device attributes

Change network tunables

And more…

Page 6: Chef on AIX

Community Developments

• Contributed many custom resources to aix cookbook

• Overhauled Ohai data in AIX

• Blog posts about how to patch AIX systems using Chef

Page 7: Chef on AIX

Knife and Test Kitchen support

• All internal projects at Chef for now

knife-lpar

kitchen-lpar

knife-wpar

kitchen-wpar

• Come see me if interested in working on the latter two

• Demo

Page 8: Chef on AIX

Future work

• Q1

Other POWER platform support – BE and LE Linux (Ubuntu and RHEL 7)

Chef Server on POWER

• Q2

Chef Client for Linux on System/z

• Run by Chef Partner Engineering department; contact [email protected] for

early betas

Page 9: Chef on AIX

Resources

• AIX Cookbook

https://supermarket.chef.io/cookbooks/aix

• Chef Automation using AIX – Benoît Creau

http://chmod666.org/wp-content/uploads/2015/11/aSM5157-AIXChefAutomation1.pptx

• IBM Power Development Program – short term LPAR rental

https://www-304.ibm.com/partnerworld/wps/servlet/ContentHandler/stg_com_sys_power-

development-platform

• SiteOx – longer-term AIX LPAR/WPAR/HMC rentals

http://www.siteox.com/

Page 10: Chef on AIX

Questions?

Page 11: Chef on AIX