RHEL / CentOS Install and inital configuration

1) Instal system with next parts:

Base server, NFS, iSCSI initiator, SMB, iscsi target (tgtd), infiniband support, ethtool, lm_sensors, freeipmi, ntfsprogs, kernel development, kernel sources, isc-bind, probably isc-dhcp, Desktop-Gnome

2) Configure /etc/fstab:

UUID=7246ce9c-298b-4eda-84cd-03a2b6b9146c /13Tb xfs defaults 1 2

2a) Mount 13Tb

3) Configure network interfaces

Configure IP addresses, MTU 9000 and routing (see /etc/sysconfig/network-scripts);

3a) Stop firewall:

service iptables stop

4) Configure tgtd with file /etc/tgt/targets.conf

default-driver iscsi
HeaderDigest CRC32C
<target iqn.2012.ru.knvr.storages:SAS-6G>
backing-store /dev/sda
MaxRecvDataSegmentLength 262144
MaxXmitDataSegmentLength 262144
MaxOutstandingR2T 16
ImmediateData Yes
FirstBurstLength 65536
MaxBurstLength 262144
MaxConnections 10

Try to make tgtd service active with service tgtd start, check on Mac

5) Compile acs_ame.ko from sources 3.0.7 using make command

(or read manual) in http://www2.accusys.com.tw/Download/Download.aspx?Dir=D%3a%5cDownload+%26+Upload%5cDownload%5cExaSAN%5cFor+DAS%5cA12S2-PS%5cUser+Manual%5cExaSAN_A12S2-PS_User_Guide_20130226_v1.5.pdf
Driver may be found in /13Tb/Svalka/Linux/Accusys_Maxtronic_307/ or downloaded from:
Unzip, cd to SourceCode dir, and run make
After compile acs_ame.ko, move it to /lib/modules/`uname -r`/kernel/drivers/scsi/acs_ame.ko
Then run

insmod /lib/modules/`uname -r`/kernel/drivers/scsi/acs_ame.ko

Then run:

cp /lib/modules/`uname -r`/modules.dep /lib/modules/`uname -r`/modules-bckup.dep
rmmod acs_ame.ko
modprobe acs_ame

If modprobe fails, check file:

grep acs_ame /lib/modules/`uname -r`/modules.dep

If acs_ame non present, add it manually:

cat >> /lib/modules/`uname -r`/modules.dep

Then load driver via

insmod /lib/modules/`uname -r`/kernel/drivers/scsi/acs_ame.ko; depmod; rmmod acs_ame; modprobe acs_ame

6) Check Accusys

dmesg | tail
If ACS Error: Get Bridge Base address error will be found, try to build driver from sources 2.2.2, located in /13Tb/Svalka/Linux/6xxxx_DR_Linux_2.2.2.zip

6a) Configure /etc/fstab

UUID=7246ce9c-298b-4eda-84cd-03a2b6b9146c	/13Tb	 	xfs	defaults	1 2
UUID=3ba27aca-f43c-4562-b72d-a6a950675ddc	/Incoming	xfs	defaults	1 2 
UUID=b992460e-eff6-4bda-b778-9a3f2eedbc67	/Decrypted	xfs	defaults	1 2 
UUID=e71c3ea1-48b6-469b-ba0d-91beecb99139	/mnt/RAID-5	xfs	defaults	1 2

6b) Build and install RaidGuard Server.

Write RaidGuard server init string to /etc/rc.local

cat >> /etc/rc.local

7) Disable SELinux

Disable SELinux by putting next strings in file /etc/sysconfig/selinux, then reboot

cat >> /etc/sysconfig/selinux

8) Install netatalk 2.2

Install netatalk 2.2 from /13Tb/Svalka/Linux/Installed_to_RHEL/netatalk-2.2.0-2.el6.x86_64.rpm
Configure netatalk 2.2

9) Install Paragon 8.5

Paragon 8.5 can be found in /13Tb/Svalka/Linux/Installed_to_RHEL/Paragon-147-FRE_InstallArchive_8.5.005.tbz

10) Configure /etc/exports like:


11) Configure SMB, as shown in

Move tdb to /var/db directory, according /etc/samba/smb.conf(commented)

To check SAMBA config, run
testparm -s -v To check SAMBA config file, run
testparm -s /etc/configfile
If testparam give an error, try to adjust number of opened files:

tail /etc/security/limits.conf
* - nofile 16384

To check SAMBA version and status, run
smbsatus Samba user can be added with copommand
smbpasswd -a new_user

12) Install MegaCli

13) Install 7za

14) Change SElinux to permissive

pico /etc/sysconfig/selinux
Change shared folders attributes to chcon -t samba_share_t /path, as mentioned in /etc/samba/smb.conf(default)

15) Enable services autostart

Services can be enabled using “chkconfig service_name on”

16) Enable log exports to external log server

21.27 in /etc/rsyslog.conf

17) After restart, check sharing capabilities

linux/rhel_centos_install_config.txt · Last modified: 2014/09/20 18:03 by rybario
About this template
CC Attribution-Share Alike 4.0 International
Powered by PHP Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 Valid HTML5