Added quickstart file (#500759)

This commit is contained in:
Jan Zeleny 2009-06-09 08:49:52 +00:00
parent c30f31436b
commit 1b31d37da2
2 changed files with 33 additions and 2 deletions

View File

@ -1,12 +1,13 @@
Name: fcoe-utils
Version: 1.0.7
Release: 6%{?dist}
Release: 7%{?dist}
Summary: Fibre Channel over Ethernet utilities
Group: Applications/System
License: GPLv2
URL: http://www.open-fcoe.org
Source0: http://www.open-fcoe.org/openfc/downloads/%{name}-%{version}.tar.gz
Source1: quickstart.txt
Patch0: fcoe-utils-1.0.7-init.patch
Patch1: fcoe-utils-1.0.7-free.patch
Patch2: fcoe-utils-1.0.7-init-condrestart.patch
@ -43,6 +44,7 @@ make install DESTDIR=$RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_initrddir}
mv $RPM_BUILD_ROOT/etc/init.d/fcoe $RPM_BUILD_ROOT%{_initrddir}/fcoe
rm -rf $RPM_BUILD_ROOT/etc/init.d
install -m 644 %SOURCE1 quickstart.txt
%clean
@ -79,7 +81,7 @@ fi
%files
%defattr(-,root,root,-)
%doc README COPYING
%doc README COPYING quickstart.txt
%{_sbindir}/*
%{_mandir}/man8/*
%{_sysconfdir}/fcoe/scripts/fcoeplumb
@ -91,6 +93,9 @@ fi
%changelog
* Tue Jun 9 2009 Jan Zeleny <jzeleny@redhat.com> - 1.0.7-7
- added quickstart file to %doc (#500759)
* Thu May 14 2009 Jan Zeleny <jzeleny@redhat.com> - 1.0.7-6
- renamed init script to fcoe, changed lock filename to fcoe
(#497604)

26
quickstart.txt Normal file
View File

@ -0,0 +1,26 @@
Quick Start guide for Open-FCoE
===============================
1. Install fcoe-utils package. This should also install dcbd, libhbaapi and
libhbalinux as dependencies.
2. Rename /etc/fcoe/cfg-ethx so it corresponds with name of your network
interface (e.g. /etc/fcoe/cfg-eth0). Copy and rename this file accordingly
if you have more interfaces, which should be fcoe-enabled
3. Modify configuration files to enable FCoE. Set FCOE_ENABLE="yes" and
DCB_REQUIRED="yes".
3. Run 'chkconfig fcoe on' to start FCoE per run level. This will setup
FCoE to start on reboot.
4. Run 'chkconfig dcbd on' to start DCB per run level. This will setup DCB to
start on reboot.
5. Run 'service dcbd start' to start dcb.
6. Run 'dcbtool sc ethX dcb on; dcbtool sc ethX app:0 e:1;' for each fcoe-enabled
interface to setup dcb for fcoe.
7. Run 'service fcoe start' to start fcoe.