- Our standard bootstrap procedure doesn't work (not that I think many folks on AIX will use it). A couple problems:
- Omnitruck doesn't understand BFFs and has invalid syntax for uname: chef/omnitruck#72
- Bootstrap SSH fails with
SSH debug returns "cipher_init: EVP_CipherInit: set key failed for aes128-cbc(when running in -VV) -- it will also fail to negotiate other cipher suites like 3des-cbc- Only fix I've found so far is to
installp -u security.pkcs11. The one suggested by IBM does not work: http://www-01.ibm.com/support/docview.wss?uid=isg3T1019142 - Maybe there's a patch for this. My LPAR is 7100-02-04-1341 which isn't the latest SP.
security.pkcs11is safe to remove as it has to do with hardware encryption devices (a rare use case). Customers can contact IBM if they have a hardware crypto device and need this package
- Only fix I've found so far is to
- Bootstrap assumes bash is available on the system so you get something like `k
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/ruby | |
| require 'fog' | |
| require 'json' | |
| require 'open-uri' | |
| module AWSAdvent | |
| class Demo | |
| attr_reader :instance, :compute, :server |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --------------------------------------------------------------------------- | |
| LABEL: CORE_DUMP | |
| IDENTIFIER: A924A5FC | |
| Date/Time: Tue Dec 2 16:17:18 CST 2014 | |
| Sequence Number: 1229 | |
| Machine Id: 00F905A14C00 | |
| Node Id: l5a1vp050_pub | |
| Class: S | |
| Type: PERM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # cat /etc/security/limits | |
| * | |
| * Sizes are in multiples of 512 byte blocks, CPU time is in seconds | |
| * | |
| * fsize - soft file size in blocks | |
| * core - soft core file size in blocks | |
| * cpu - soft per process CPU time limit in seconds | |
| * data - soft data segment size in blocks | |
| * stack - soft stack segment size in blocks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| sudo yum -y install git | |
| sudo yum -y install gcc gcc-c++ patch | |
| wget -O /tmp/ruby-install-v0.4.3.tar.gz https://codeload.github.com/postmodern/ruby-install/tar.gz/v0.4.3 | |
| cd /tmp && tar zxvf ruby-install-v0.4.3.tar.gz | |
| sudo yum remove libyaml # cloud-init on IBM PDP conflicts, but we don't care if that's removed now | |
| cd ruby-install-0.4.3 | |
| sudo make install | |
| sudo /usr/local/bin/ruby-install ruby 2.1.2 # TODO: put flags from https://github.com/opscode-cookbooks/omnibus/blob/master/libraries/ruby_install.rb#L53-L59 in here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'chef/log' | |
| require 'pry' | |
| module ChefSoftware | |
| class CookbookVersionsHandler < Chef::Handler | |
| def report | |
| Chef::Log.info('Pausing in handler to run pry; type "exit" to leave pry') | |
| binding.pry | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -module(christmas_handler). | |
| -behaviour(cowboy_http_handler). | |
| -export([init/3]). | |
| -export([handle/2]). | |
| -export([terminate/3]). | |
| -record(state, {}). | |
| init(_, Req, _Opts) -> |
Chef Client 12 uses the UTF-8 locale. By default, BOS doesn't include it so Chef will throw warnings. Here's how you install it.
You need at least the AIX media (first disc), or copy all the files in /installp/ppc/*EN_US* somewhere on your LPAR. Let's say it's /tmp/rte
It's recommended that you use smit to install this charset so any WPARs you have also get the charset applied.
From a root shell type:
` $ smit lang
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Starting Chef Client, version 12.2.0.dev.0 | |
| resolving cookbooks for run list: ["chef-client::config", "chef-client::service", "chef-client::delete_validation"] | |
| Synchronizing Cookbooks: | |
| - cron | |
| - chef-client | |
| - logrotate | |
| - windows | |
| - chef_handler | |
| Compiling Cookbooks... | |
| Converging 12 resources |