User`s guide

Chapter VII. iSCSI PDU Offload Target
Chelsio T5/T4 Unified Wire For Linux Page 105
A sample iSCSI configuration file will be installed in /etc/chelsio-iscsi/chiscsi.conf. This
file should be edited using a standard text editor and customized to fit your environment.
2. Set iSCSI service to automatically start at bootup
The chelsio-target service scripts are installed to /etc/init.d and the parameters for the
script are installed at /etc/sysconfig/chiscsi. The script is installed as a system service.
To auto-start the iSCSI target service at a certain runlevel, e.g. runlevel 3, chkconfig can be
used on Red Hat and Novell / SuSE based systems as follows:
[root@host]# chkconfig -level 3 chelsio-target on
The chelsio-target service scripts do basic checks before starting the iSCSI target service,
loads the kernel module, and starts all the targets configured by default. It can also be used to
stop the targets, and restart/reload configuration.
Note
i. While using rpm-tar-ball for installation
a. Uninstallation will result into chiscsi.conf file renamed into
chiscsi.conf.rpmsave, but if again uninstallation is done then it will
lead to overwriting of the old chiscsi.rpmsave file.
b. Its advised to take a backup of chiscsi.conf file before you do an
uninstallation and installation of new/same unified wire package. As
re-installing/upgrading unified-wire package may lead to loss of
chiscsi.conf file.
ii. Installation/uninstallation using source-tar-ball will neither remove the conf
file nor rename it. It will always be intact. However it’s recommended to
always take a backup of your configuration file for both methods of
installation.
Note
For the script to execute properly, make sure the following flag is set on all
kernel.org kernels.
# CONFIG_MODULE_FORCE_LOAD=y