This is an old revision of the document!
fsi deploy server
Following steps are for the installation of the first deploy server. If you need more, e.g. a standby server, you can use fsi to install this server.
Requirements
Server or VM with Linux CentOS or RedHat 7: For further information, please use this websites:
Disable SELinux and in RH7 the firewalld service
Installation CentOS 7
We have created an unatteded ISO with auto kickstart for CentOS. The local CentOS repository files (see below) can also be downloaded from our project servers - please feel free to ask us for help.
Use unattended server ISO, this includes a kickstart config file for base configuration of the fsi deploy server
if there is no direct internet connection, use our tar files for base and updates centos repo. Copy the files to /opt/tmp:
if /opt/tmp not exists, create dir: mkdir -p /opt/tmp
download following files to /opt/tmp
Latest base tar: co79-x86_64-base-20210618.tar.gz
Latest base sha256sum file: co79-x86_64-base-20210618.tar.gz.sha256
Latest patch tar: co79-x86_64-updates-20240227.tar
Latest patch sha256 sum file: co79-x86_64-updates-20240227.sha256
Unpack tar files
create repo dir, cmd: mkdir /opt/local/repos/centos/7.9/
create symlink, cmd: cd /opt/local/repos/centos/
and ln -s 7.9 7
unpack tar file, cmd: tar -C /opt/local/repos/centos/7 -xvzf /opt/tmp/co79-x86_64-base-20210618.tar.gz
create updates repo dir, cmd: mkdir -p /opt/local/repos/centos/7/updates/x86_64
unpack tar file, cmd: tar -C /opt/local/repos/centos/7/updates/x86_64 -xvf /opt/tmp/co79-x86_64-updates-20240227.tar
If createrepo is not installed, install it.
Create updates repository control files
Check if centos base and updates repo sections exist in /etc/yum.repos.d/centos.repo - if not add following content
---- centos.repo ----
[centos]
name=centos local file directory mirror -$releasever - Base
baseurl=file:///opt/local/repos/centos/$releasever/os/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-$releasever
[updates]
name=centos local file directory mirror -$releasever – Updates
baseurl=file:///opt/local/repos/centos/$releasever/updates/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-$releasever
---------------------
run yum update cmd: yum -y update
delete new CentOS-* files in /etc/yum.repos.d
Installation fsi
There are two ways to install fsi on linux:
use fsiinst tar + script
manual way
Check first if the CentOS repository is available - if not copy a mirror to the local server system.
1. fsiinst
-
login to the fsi server and check sha256sum of the tar file
sha256sum -c fsiinst_<distribution>_<version>_osv<os version>.tar.sha256
unpack with
tar -C /opt -xvf fsiinst_<distribution>_<version>_osv<os version>.tar
-
run installation with
/opt/install/fsiinst -a -c <configfile>
If there is a new update you can install it with the single rpm or just download a new distribution file and restart the fsiinst script.
2. manual
Create the fsi repository with all needed rpm and for RedHat a second repository with the additional rpms. We also create a special 3rd party repository you can use for all dependent applications, libraries and tools or you configure the epel, openfusion, remi and repoforge repository.
If you need a dhcp server in the server management network, please install dhcpd. Please add:
Install tftpd and change the server_args in the tftp config file with the new path -s /opt/fsi/pxe
Now you can install fsi with yum install fsiportal* fsi-*
or start with yum install fsiportal*
and than name the fsi install packages you need for your server installations yum install fsi-xen620
Install postgresql and pgbouncer
Create symlinks for all repositorys in /opt/fsi/repos
Create rzenv.xml (maybe from scratch or use the rzenv.xml_example in /opt/fsi/portal/etc).
Finally create a symlink /opt/fsi/backup to a backup lun, share or local to backup and save your fsi configurations.
Finish
If you need a dns server, install named.
-