Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: fix probs found in install of new AIX machine #461

Closed
wants to merge 9 commits into from
Closed
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion setup/aix61/ansible-playbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
tags: jenkins

- name: Jenkins | Copy S20jenkins
copy: src=./resources/S20jenkins dest=/etc/rc.d/rc2.d
copy: src=./resources/S20jenkins dest=/etc/rc.d/rc2.d mode=755

This comment was marked as off-topic.

tags: jenkins

- name: Jenkins | Copy certs required to access jenkins/git
Expand Down
125 changes: 99 additions & 26 deletions setup/aix61/manualBootstrap.txt
Original file line number Diff line number Diff line change
@@ -1,24 +1,60 @@
ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/wget/wget-1.9.1-3.aix6.1.ppc.rpm
rpm -i wget-1.9.1-3.aix6.1.ppc.rpm
ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/unzip/unzip-5.51-2.aix6.1.ppc.rpm
rpm -i unzip-5.51-2.aix6.1.ppc.rpm
NOTE: dependencies on AIX seem to make it hard to get the order correct
so the scripts install-xxx.sh currently need to be run more than
once and after some small number of runs (2-3) all of the required
modules will be installed.


1) increase the size of the /opt filesystem
chfs -a size=+1300000 /opt

2) Install required packages

ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/curl/curl-7.44.0-2.aix6.1.ppc.rpm
rpm -e git (if necessary)
rpm -e curl (if necessary)
rpm -ivh curl-7.44.0-2.aix6.1.ppc.rpm

ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/unzip/unzip-6.0-3.aix6.1.ppc.rpm
rpm -i unzip-6.0-3.aix6.1.ppc.rpm

http://www.bullfreeware.com/affichage.php?id=2378 - gcc-c++ + all dependencies
gcc-c++-4.8.5-1.aix6.1.ppc.rpm-with-deps.zip
unzip gcc-c++-4.8.5-1.aix6.1.ppc.rpm-with-deps.zip
sh install-gcc-rpm.sh

http://www.bullfreeware.com/affichage.php?id=2080 - git + all dependencies
git-1.8.3.1-3.aix6.1.ppc.rpm-with-deps.zip
unzip git-1.8.3.1-3.aix6.1.ppc.rpm-with-deps.zip
sh install-git-tools-rpm.sh
curl --insecure https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/git/git-2.8.1-1.aix6.1.ppc.rpm >git-2.8.1-1.aix6.1.ppc.rpm
rpm -ivh git-2.8.1-1.aix6.1.ppc.rpm

Update openssl and openssh

get OpenSSH_6.0.0.6202.tar.Z and openssl-1.0.2.800.tar.Z from:
https://www-01.ibm.com/marketing/iwm/iwm/web/reg/pick.do?source=aixbp&lang=en_US
copy into directory fixup
cd fixup
uncompress OpenSSH_6.0.0.6202.tar.Z
uncompress openssl-1.0.2.800.tar.Z
tar -xvf OpenSSH_6.0.0.6202.tar.Z
tar -xvf openssl-1.0.2.800.tar.Z
copy contents of OpenSSH_6.0.0.6202 openssl-1.0.2.800 to fixup dir.
inutoc .

emgr -r -L IV80743m9a (if necessary)
emgr -r -L IV83169m9a (if necessary)

installp -Y -qaXgd . openssl openssh

curl --insecure https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/gettext/gettext-
0.19.7-1.aix6.1.ppc.rpm >gettext-0.19.7-1.aix6.1.ppc.rpm
rpm -e gettext
rpm -hUv gettext-0.19.7-1.aix6.1.ppc.rpm


Java7r1_64.jre.7.1.0.200.tar.gz
gunzip Java7r1_64.jre.7.1.0.200.tar.gz
tar -xvf Java7r1_64.jre.7.1.0.200.tar
installp -agXYd . Java71_64.jre 2>&1 | tee installp.log

wget http://www.oss4aix.org/download/everything/RPMS/make-3.82-1.aix5.3.ppc.rpm
curl --insecure http://www.oss4aix.org/download/everything/RPMS/make-3.82-1.aix5.3.ppc.rpm -O

This comment was marked as off-topic.

This comment was marked as off-topic.

rpm -i make-3.82-1.aix5.3.ppc.rpm

http://www.bullfreeware.com/affichage.php?id=1458# - libtool and all dependencies
Expand All @@ -28,24 +64,29 @@ http://www.bullfreeware.com/affichage.php?id=2048
m4-1.4.17-1.aix6.1.ppc.rpm
sh install-libtool-rpm.sh

4) install ccache
# install ccache based on these instructions ./setup/ansible-tasks/ccache.yaml
# we should update that script so that it can be used on AIX as well
# also currently requires the fix outlined here: https://bugzilla.samba.org/show_bug.cgi?id=11519
# to be applied manually before the compile
cd /tmp
wget http://samba.org/ftp/ccache/ccache-3.2.4.tar.gz
gunzip ccache-3.2.4.tar.gz
tar -xvf ccache-3.2.4.tar.gz
cd ccache-3.2.4
# install on the new linux machines did not seem to work so use cp and chmod instead
mkdir tmp
cd tmp
curl --insecure https://www.samba.org/ftp/ccache/ccache-3.2.7.tar.gz -O
gunzip ccache-3.2.7.tar.gz
tar -xvf ccache-3.2.7.tar
cd ccache-3.2.7
./configure
gmake
install -c -m 755 ccache /usr/lib
ln -s /usr/lib/ccache/cc /usr/lib/ccache
ln -s /usr/lib/ccache/g++ /usr/lib/ccache
ln -s /usr/lib/ccache/gcc /usr/lib/ccache
rm ccache-3.2.4.tar
rm -rf ccache-3.2.4

# install svn, only needed for v8 testing
mkdir /opt/freeware/bin/ccache
cp ccache /opt/freeware/bin/ccache/
chmod 755 /opt/freeware/bin/ccache/ccache

ln -s /opt/freeware/bin/ccache/ccache /opt/freeware/bin/ccache/cc
ln -s /opt/freeware/bin/ccache/ccache /opt/freeware/bin/ccache/g++
ln -s /opt/freeware/bin/ccache/ccache /opt/freeware/bin/ccache/gcc
cd ../..
rm -rf tmp

5) install svn, only needed for v8 testing
http://www.bullfreeware.com/affichage.php?id=1810#
subversion-1.8.0-1.aix6.1.ppc.rpm-with-deps.zip
unzip subversion-1.8.0-1.aix6.1.ppc.rpm-with-deps.zip
Expand All @@ -59,13 +100,45 @@ sh install-subversion-rpm.sh
mount = true
vol = /aha

and then:

mkdir /aha

then either reboot or run

mount /aha

6) run ansible script to complete base configuration

7) edit /etc/inetd.conf
and comment out default inbound services such as TELNET, FTP, RLOGIN, TALK etc. and then
reload the configuration with

refresh -s inetd

The only remaining services should be:

daytime stream tcp nowait root internal
time stream tcp nowait root internal
daytime dgram udp wait root internal
time dgram udp wait root internal
caa_cfg stream tcp6 nowait root /usr/sbin/clusterconf clusterconf >>/var/adm/ras/clusterconf.log 2>&1
wsmserver stream tcp nowait root /usr/websm/bin/wsmserver wsmserver -start
xmquery dgram udp6 wait root /usr/bin/xmtopas xmtopas -p3





8) NO LONGER REQUIRED ON OSUOSL MACHINES - SKIP - setup bare git repo with the following:

su - iojs
mkdir git
git clone --mirror -c http.sslVerify=false https://github.com/nodejs/node.git git/io.js.reference


Apply this APAR depending on your OS level http://www-01.ibm.com/support/docview.wss?uid=isg1IV46651
In particular on the default siteox install it required:
9) NO LONGER REQUIRED ON OSUOSL MACHINES - SKIP Apply this APAR depending on your OS level http://www-01.ibm.com/support/docview.wss?uid=isg1IV46651
9n particular on the default siteox install it required:
bos.net.tcp.client 6.1.8.17 # TCP/IP Client Support
It does have a number of dependencies so we needed the full set of downloads for TL 8 to be able
to install.
3 changes: 1 addition & 2 deletions setup/aix61/resources/S20jenkins
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ case "$1" in
start )
su - {{user}} -c 'ulimit -c 0; \
export jenkins_log_file="/home/{{user}}/jenkins_console.log"
export LIBPATH=/opt/freeware/lib:$LIBPATH; \
export PATH=/usr/lib/ccache:/usr/java71_64/jre/bin:$PATH; \
export PATH=/opt/freeware/bin/ccache:/usr/java71_64/jre/bin:$PATH; \
export HOME=/home/{{user}}; \
export NODE_TEST_DIR=$HOME/tmp; \
export NODE_COMMON_PIPE="$HOME/test.pipe"; \
Expand Down