LoginSignup
2
0

More than 5 years have passed since last update.

Chef ClientをAIXに導入する

Last updated at Posted at 2018-05-15

IBM AIX 7.1 に Chef Client 14.1 をインストールします。

解決したい課題

Chef社が提供している自動化フレームワークChefは、IBMのAIXにも対応しています。
意外と?聞かれることが多かったので、AIXへのChef Client導入手順をまとめておきます。

導入

ダウンロードしてきた AIX向けChefClientを適当なディレクトリに配置してください。
その後、以下で導入ができます。最低限の導入はこれでOKです。

# whoami
root
# ls -l chef-14.1.1-1.powerpc.bff
-rw-------    1 324863AA staff     121929216 May 15 14:17 chef-14.1.1-1.powerpc.bff

# installp -aXY -d ./chef-14.1.1-1.powerpc.bff chef
+-----------------------------------------------------------------------------+
                    Pre-installation Verification...
+-----------------------------------------------------------------------------+
Verifying selections...done
Verifying requisites...done
Results...

SUCCESSES
---------
  Filesets listed in this section passed pre-installation verification
  and will be installed.

  Selected Filesets
  -----------------
  chef 14.1.1.1                               # The full stack of chef

  << End of Success Section >>

+-----------------------------------------------------------------------------+
                   BUILDDATE Verification ...
+-----------------------------------------------------------------------------+
Verifying build dates...done
FILESET STATISTICS
------------------
    1  Selected to be installed, of which:
        1  Passed pre-installation verification
  ----
    1  Total to be installed

+-----------------------------------------------------------------------------+
                         Installing Software...
+-----------------------------------------------------------------------------+

installp:  APPLYING software for:
        chef 14.1.1.1

Restoring files, please wait.
10044 files restored.
Thank you for installing Chef!



Finished processing all filesets.  (Total time:  2 mins 47 secs).

+-----------------------------------------------------------------------------+
                                Summaries:
+-----------------------------------------------------------------------------+

Installation Summary
--------------------
Name                        Level           Part        Event       Result
-------------------------------------------------------------------------------
chef                        14.1.1.1        USR         APPLY       SUCCESS
chef                        14.1.1.1        ROOT        APPLY       SUCCESS
#

# which chef-client
/usr/bin/chef-client
# chef-client --version
[2018-05-15T14:34:39+09:00] WARN: Please install an English UTF-8 locale for Chef to use, falling back to C locale and disabling UTF-8 support.
Chef: 14.1.1
# which knife
/usr/bin/knife

その他注意点など

アンインストールしたい時も installpコマンドを使います。

# installp -u chef

Chef Clientのダウンロード先はこちら
Chef Download

Chef Clientのシステム要件はこちら
System Requirements / chef-client

AIXでChefを実行する上での考慮点はこちら
Run on IBM AIX
そもそもここに普通に導入コマンド載ってます。
また、こちらにも掲載されていますが、環境によっては"Increase system process limits"や"Install the UTF-8 character set" の作業が必要になりますので、参照してみてください。

参考

Introduction to CHEF on AIX

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0