Added quickstart file (#500759)
This commit is contained in:
parent
c30f31436b
commit
1b31d37da2
@ -1,12 +1,13 @@
|
|||||||
Name: fcoe-utils
|
Name: fcoe-utils
|
||||||
Version: 1.0.7
|
Version: 1.0.7
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: Fibre Channel over Ethernet utilities
|
Summary: Fibre Channel over Ethernet utilities
|
||||||
|
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://www.open-fcoe.org
|
URL: http://www.open-fcoe.org
|
||||||
Source0: http://www.open-fcoe.org/openfc/downloads/%{name}-%{version}.tar.gz
|
Source0: http://www.open-fcoe.org/openfc/downloads/%{name}-%{version}.tar.gz
|
||||||
|
Source1: quickstart.txt
|
||||||
Patch0: fcoe-utils-1.0.7-init.patch
|
Patch0: fcoe-utils-1.0.7-init.patch
|
||||||
Patch1: fcoe-utils-1.0.7-free.patch
|
Patch1: fcoe-utils-1.0.7-free.patch
|
||||||
Patch2: fcoe-utils-1.0.7-init-condrestart.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}
|
mkdir -p $RPM_BUILD_ROOT%{_initrddir}
|
||||||
mv $RPM_BUILD_ROOT/etc/init.d/fcoe $RPM_BUILD_ROOT%{_initrddir}/fcoe
|
mv $RPM_BUILD_ROOT/etc/init.d/fcoe $RPM_BUILD_ROOT%{_initrddir}/fcoe
|
||||||
rm -rf $RPM_BUILD_ROOT/etc/init.d
|
rm -rf $RPM_BUILD_ROOT/etc/init.d
|
||||||
|
install -m 644 %SOURCE1 quickstart.txt
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -79,7 +81,7 @@ fi
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README COPYING
|
%doc README COPYING quickstart.txt
|
||||||
%{_sbindir}/*
|
%{_sbindir}/*
|
||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
%{_sysconfdir}/fcoe/scripts/fcoeplumb
|
%{_sysconfdir}/fcoe/scripts/fcoeplumb
|
||||||
@ -91,6 +93,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu May 14 2009 Jan Zeleny <jzeleny@redhat.com> - 1.0.7-6
|
||||||
- renamed init script to fcoe, changed lock filename to fcoe
|
- renamed init script to fcoe, changed lock filename to fcoe
|
||||||
(#497604)
|
(#497604)
|
||||||
|
26
quickstart.txt
Normal file
26
quickstart.txt
Normal 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.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user