From Fedora Project Wiki

No edit summary
No edit summary
Line 15: Line 15:
* alternatively you can use prepared image available at [http://link]
* alternatively you can use prepared image available at [http://link]


== Text mode installation ==
=== <code>iSCSI target</code> setup ===
* Install Fedora using text mode (append text on kernel command line)
* Text mode installation will offer you possibility to continue installation remotely using VNC, please don't use it and continue in the text mode
* In the installer add new user john with admin rights
 
== Create multiple Volume Groups ==
{{admon/important|Multiple hard drives required|You need a machine with more than 4 disks}}
=== Action ===
* Start Fedora 19 installation in graphical mode (default)
* Use manual partitioning, choose LVM partitioning scheme
* Create four volume groups, one volume group per disk drive
* Create four mountpoints: /, /var, /tmp, /home and place each of them to separate volume group
* Place swap partition to the same volume group as /
 
iSCSI target is part of LVM VG
 
    Setup
 
    have virtual machine ready
 
    prepare iSCSI volume on physical machine, accessible from VM
 
    # tgtadm --lld iscsi --op new --mode target --tid=1 --targetname iqn.2009-02.com.example:for.all
 
    # tgtadm --lld iscsi --op new --mode logicalunit --tid 1 --lun 1 -b /dev/loop0
 
    # tgtadm --lld iscsi --op bind --mode target --tid 1 -I ALL
 
    can you include all steps with short explanation comments what it does
 
    Action
 
    Install Fedora to VM
 
    Use custom partitioning scheme, use LVM
 
    set up new LVM VG consisting of one PV from virtual machine + another PV from iSCSI on physical hosta
 
 
== CHAP authentication against iSCSI target ==
{{admon/note|CHAP|Challenge-Handshake Authentication Protocol (CHAP) authenticates a user or network host to an authenticating entity}}
{{admon/note|iSCSI target|Internet Small Computer System Interface, an Internet Protocol (IP)-based storage networking standard for linking data storage facilities. An iSCSI target is often a dedicated network-connected hard disk storage device, but may also be a general-purpose computer}}
=== Setup ===
* have virtual machine (VM) with at least one disk ready
* prepare iSCSI volume on another VM (called here <code>iscsi_target</code> VM) which is reachable from VM where the installation will be performed
* prepare iSCSI volume on another VM (called here <code>iscsi_target</code> VM) which is reachable from VM where the installation will be performed
{{admon/note|Note|Alternatively, you can use prepared images that can be downloaded from [http://link]}}  
{{admon/note|Note|Alternatively, you can use prepared images that can be downloaded from [http://link]}}  
<b> Preparation of <code>iscsi_target</code> VM </b>
<b> Setting up <code>iscsi_target</code> virtual machine </b>
{{admon/important|Packages needed|you need to have python-virtinst, libvirt, virt-manager and virt-viewer installed}}
{{admon/important|Packages needed|you need to have python-virtinst, libvirt, virt-manager and virt-viewer installed on your computer}}
 
     # virt-install -n iscsi-target -r 512 --arch x86_64 --import --os-type linux --os-variant rhel7 --disk /var/lib/libvirt/images/iscsi-target.img --serial pty --graphics spice
     # virt-install -n iscsi-target -r 512 --arch x86_64 --import --os-type linux --os-variant rhel7 --disk /var/lib/libvirt/images/iscsi-target.img --serial pty --graphics spice


Line 96: Line 54:
     # service tgtd start
     # service tgtd start


== Action ==
= Usability scenarios =
== Text mode installation ==
=== Setup ===
* power on <code>anaconda-usability</code> Virtual Machine
=== Action ===
* Install Fedora using text mode (append text on kernel command line)
* Text mode installation will offer you possibility to continue installation remotely using VNC, please don't use it and continue in the text mode
* In the installer add new user john with admin rights
* Finish the installation and reboot
 
== Create multiple Volume Groups ==
{{admon/important|Multiple hard drives required|You need a machine with 4 or more disks}}
=== Setup ===
* power on <code>anaconda-usability</code> Virtual Machine
=== Action ===
* Start Fedora 19 installation in graphical mode (default)
* Use manual partitioning, choose LVM partitioning scheme
* Create four volume groups, one volume group per disk drive
* Create four mountpoints: /, /var, /tmp, /home and place each of them to separate volume group
* Place swap partition to the same volume group as /
* Finish the installation and reboot
 
== iSCSI target is part of LVM VG ==
=== Setup ===
* have virtual machine (VM) with at least one disk ready
* power on prepared <code>iSCSI target</code> virtual machine
 
=== Action ===
Install Fedora to VM using graphical user interface. In the installer:
Install Fedora to VM using graphical user interface. In the installer:


* find Installation Destionation menu
* find Installation Destination menu
* search for iSCSI target and add it to the Advanced & Network disk section
* use custom partitioning scheme, use LVM
* Set up new LVM Volume Group that consists from at least one disk from Virtual Machine and at least one iSCSI target
* boot installed system


== CHAP authentication against iSCSI target ==
{{admon/note|CHAP|Challenge-Handshake Authentication Protocol (CHAP) authenticates a user or network host to an authenticating entity}}
{{admon/note|iSCSI target|Internet Small Computer System Interface, an Internet Protocol (IP)-based storage networking standard for linking data storage facilities. An iSCSI target is often a dedicated network-connected hard disk storage device, but may also be a general-purpose computer}}
=== Setup ===
* have virtual machine (VM) with at least one disk ready
* power on prepared <code>iSCSI target</code> virtual machine
== Action ==
Install Fedora to VM using graphical user interface. In the installer:
* find Installation Destination menu
* Search for iSCSI target and add it to the Advanced & Network disk section
* Search for iSCSI target and add it to the Advanced & Network disk section
{{admon/note|Note|If you use provided <code>iscsi-target</code> image, the IP address of iSCSI target is set to <code>192.168.100.100</code><br> Use CHAP authentication. Username/password is <code>consumer/Longsw0rd</code>}}
{{admon/note|Note|If you use provided <code>iscsi-target</code> image, the IP address of iSCSI target is set to <code>192.168.100.100</code><br> Use CHAP authentication. Username/password is <code>consumer/Longsw0rd</code>}}
* Select another non-iSCSI(local) disk
* Select another non-iSCSI(local) disk
* Continue with iSCSI disk + local disk selected
* Continue with iSCSI disk + local disk selected
* Place /boot on local disk, / on iSCSI target, do not use LVM
* Place /boot on local disk, / on iSCSI target, do not use LVM
* Finish the installation, reboot
* Finish the installation, reboot
* Set up new LVM Volume Group that consists from at least one disk from Virtual Machine and at least one iSCSI target
* boot installed system

Revision as of 08:05, 19 May 2013

General Instructions

  • follow steps in use cases
  • when you are busy then take use-case with the fewest attendee
  • fill the report in this form [1]
  • after the report from thus event are collected, QE team will work with UDX team on qualitative and quantitative analysis, share the results with developers and reports bugs/rfes in Bugzilla, in addition summary will be sent to all the contributors

Who's available

The following cast of characters will be available testing, workarounds, bug fixes, and general discussion ...


Initial setup

  • have a Fedora 19 Beta RC2 (virtual) machine owned by you, ISO image available at [2] or [3]
  • alternatively you can use prepared image available at [4]

iSCSI target setup

  • prepare iSCSI volume on another VM (called here iscsi_target VM) which is reachable from VM where the installation will be performed
Note.png
Note
Alternatively, you can use prepared images that can be downloaded from [5]

Setting up iscsi_target virtual machine

Important.png
Packages needed
you need to have python-virtinst, libvirt, virt-manager and virt-viewer installed on your computer
   # virt-install -n iscsi-target -r 512 --arch x86_64 --import --os-type linux --os-variant rhel7 --disk /var/lib/libvirt/images/iscsi-target.img --serial pty --graphics spice
  • root password is fedora
  • if you want to use serial console use this command: virsh --connect qemu:///system console anaconda-usability

On iscsi_target VM do

Important.png
Firewall settings
Ensure, port 3260 is available for incoming connection and there is no blocking firewall in the way between target and test machine.
  • install scsi-target-utils package and start tgtd service
   # yum install scsi-target-utils
  • create empty 4GB file
   # dd if=/dev/zero of=/root/iscsi-lun.img bs=1 count=0 seek=4G
  • add new iSCSI target, target ID 1 (tid=1)
   # tgtadm --lld iscsi --op new --mode target --tid=1 --targetname iqn.2009-02.com.example:auth.chap
  • Add a new iSCSI logical unit with lun=1 to specific target with tid=1.
   # tgtadm --lld iscsi --op new --mode logicalunit --tid 1 --lun 1 -b /dev/loop0
  • Add the address to the access lists of the target, allow connection from all initiators
   # tgtadm --lld iscsi --op bind --mode target --tid 1 -I ALL
  • Setup new user consumer with password Longsw0rd
   # tgtadm --lld iscsi --op new --mode account --user consumer --password Longsw0rd
  • Bind newly created user to iSCSI target with tid=1
   # tgtadm --lld iscsi --op bind --mode account --tid 1 --user consumer
Note.png
Note
If you use provided iSCSI-target image you can ommit all steps above but please continue with steps below.
IP address of iscsi_target is set to 192.168.100.100
  • attach iscsi-lun.img to /dev/loop0 and start tgtd
   # losetup /dev/loop0 /root/iscsi-lun.img
   # service tgtd start

Usability scenarios

Text mode installation

Setup

  • power on anaconda-usability Virtual Machine

Action

  • Install Fedora using text mode (append text on kernel command line)
  • Text mode installation will offer you possibility to continue installation remotely using VNC, please don't use it and continue in the text mode
  • In the installer add new user john with admin rights
  • Finish the installation and reboot

Create multiple Volume Groups

Important.png
Multiple hard drives required
You need a machine with 4 or more disks

Setup

  • power on anaconda-usability Virtual Machine

Action

  • Start Fedora 19 installation in graphical mode (default)
  • Use manual partitioning, choose LVM partitioning scheme
  • Create four volume groups, one volume group per disk drive
  • Create four mountpoints: /, /var, /tmp, /home and place each of them to separate volume group
  • Place swap partition to the same volume group as /
  • Finish the installation and reboot

iSCSI target is part of LVM VG

Setup

  • have virtual machine (VM) with at least one disk ready
  • power on prepared iSCSI target virtual machine

Action

Install Fedora to VM using graphical user interface. In the installer:

  • find Installation Destination menu
  • search for iSCSI target and add it to the Advanced & Network disk section
  • use custom partitioning scheme, use LVM
  • Set up new LVM Volume Group that consists from at least one disk from Virtual Machine and at least one iSCSI target
  • boot installed system

CHAP authentication against iSCSI target

Note.png
CHAP
Challenge-Handshake Authentication Protocol (CHAP) authenticates a user or network host to an authenticating entity
Note.png
iSCSI target
Internet Small Computer System Interface, an Internet Protocol (IP)-based storage networking standard for linking data storage facilities. An iSCSI target is often a dedicated network-connected hard disk storage device, but may also be a general-purpose computer

Setup

  • have virtual machine (VM) with at least one disk ready
  • power on prepared iSCSI target virtual machine

Action

Install Fedora to VM using graphical user interface. In the installer:

  • find Installation Destination menu
  • Search for iSCSI target and add it to the Advanced & Network disk section
Note.png
Note
If you use provided iscsi-target image, the IP address of iSCSI target is set to 192.168.100.100
Use CHAP authentication. Username/password is consumer/Longsw0rd
  • Select another non-iSCSI(local) disk
  • Continue with iSCSI disk + local disk selected
  • Place /boot on local disk, / on iSCSI target, do not use LVM
  • Finish the installation, reboot