Skip to content

Instantly share code, notes, and snippets.

@loinguyenduc101
Last active February 20, 2017 04:06
Show Gist options
  • Save loinguyenduc101/f539373c6a1739ba1d0d13364dd25b3e to your computer and use it in GitHub Desktop.
Save loinguyenduc101/f539373c6a1739ba1d0d13364dd25b3e to your computer and use it in GitHub Desktop.
install IIB V10
-------------------------------- install IBM Integration Bus
For Linux or UNIX systems:
- Security requirements:
+ single-user installation: thực hiện cài đặt trên home directory của user và chỉ user đó có quyền quản trị IIB
+ shared(multiple users) installation: dùng root hoặc super user đề cài(do write vào /var....), group mqbrkrs sẽ được tạo --> all user thuộc mqbrkrs sẽ có quyền quản trị IIB
ref:
https://www.ibm.com/support/knowledgecenter/en/SSMKHH_10.0.0/com.ibm.etools.mft.doc/bh26031_.htm
có thể convert từ single-user installation sang shared installaion
https://www.ibm.com/support/knowledgecenter/en/SSMKHH_10.0.0/com.ibm.etools.mft.doc/bh25994_.htm?view=kc
- Configuring temporary space on distributed systems:
+ least 50 MB of space per integration server
+ the TMPDIR directory is typically /tmp; on Windows computers, it is c:\temp.
- Checking the kernel configuration on Linux and UNIX systems
-------- shared installation steps
$$$$$$$$$$$$$ 1. login as root or super user: user có quyền write trên /var directory.
$$$$$$$$$$$$ 2. unzip và move tới thư mục sẽ cài đặt IIB:
#cd /opt/ibm
#tar -xzvf iib-10.0.0.n.tar.gz --exclude iib-10.0.0.n/tools
note :
+ tham số "--exclude iib-10.0.0.n/tools" sẽ loại bỏ việc cài đặt toolkit --> thường dùng loại bỏ toolkit cho production
+ /opt/ibm/iib-10.0.0.n là thư mục cài đặt IIB = install_dir
$$$$$$$$$$$$$ 3. accept license: chuyển đến install_dir và run commands
#cd install_dir
#./iib make registry global accept license
#./iib make registry global accept license silently
sau khi accept license thì thư mục /var/mqsi sẽ được tạo chứa các configuration files
group mqbrkrs sẽ được tạo nếu chưa tồn tại
$$$$$$$$$$$ 4. add user quản trị IIB vào group mqbrkrs.
do quá trình cài đặt không tự động add user vào group mqbrkrs do vậy ta phải manual add user quản trị IIB vào group mqbrkrs
eg:
create user
#useradd iib
#passwd iib
add iibadmin vào group mqbrkrs:
#usermod -a -G mqbrkrs iib
or
#useradd -G mqbrkrs iib
$$$$$$$$$$ 5 : Verifying the installation
#./iib verify all
note: group mqbrkrs sẽ được tạo nếu chưa tồn tại
thông tin IIB đã cài đặt
# ./iib version
Version: '10.0.0.3'
Product: 'IBM Integration Bus'
Build Number: '116'
IE02 level: 'ie02-L20140415-1143'
IB Level: 'ib1000-L151118.116_P'
Server level: 'S1000-L151118.10058'
Toolkit level:'20151113-1154'
nếu cài toolkit
#./iib toolkit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment