From Fedora Project Wiki

Line 1: Line 1:
== Initial setup ==
== Initial setup ==
# Prepare installation media available at {URL} according to instructions {URL}
* Prepare installation media available at {URL} according to instructions {URL}
# Optionally install virtualization support in Fedora:
* Optionally install virtualization support in Fedora:
<pre>
<pre>
# yum -y install @virtualization
# yum -y install @virtualization
# service libvirtd start
# service libvirtd start
</pre>
* To start virtual machine you can use this command:
<pre>
# virt-install --accelerate -n test-machine101 -r 1024 -f /var/lib/libvirt/images/test-machine101.img -s 21 -c Fedora.iso
</pre>
*You can destroy virtual machine right after execution of a test case with these commands:
<pre>
# virsh destroy test-machine101
# virsh undefine --remove-all-storage test-machine101
</pre>
</pre>



Revision as of 14:16, 16 May 2013

Initial setup

  • Prepare installation media available at {URL} according to instructions {URL}
  • Optionally install virtualization support in Fedora:
# yum -y install @virtualization
# service libvirtd start
  • To start virtual machine you can use this command:
# virt-install --accelerate -n test-machine101 -r 1024 -f /var/lib/libvirt/images/test-machine101.img -s 21 -c Fedora.iso
  • You can destroy virtual machine right after execution of a test case with these commands:
# virsh destroy test-machine101
# virsh undefine --remove-all-storage test-machine101

Installation on bios/firmware RAID

Setup

  1. You need a machine with bios/firmware RAID supported by dmraid or MD. Linux MD driver supports Intel Matrix RAID technology, dmraid supports following products:
    • asr  : Adaptec HostRAID ASR (0,1,10)
    • ddf1  : SNIA DDF1 (0,1,4,5,linear)
    • hpt37x  : Highpoint HPT37X (S,0,1,10,01)
    • hpt45x  : Highpoint HPT45X (S,0,1,10)
    • isw  : Intel Software RAID (0,1,5,01)
    • jmicron : JMicron ATARAID (S,0,1)
    • lsi  : LSI Logic MegaRAID (0,1,10)
    • nvidia  : NVidia RAID (S,0,1,10,5)
    • pdc  : Promise FastTrack (S,0,1,10)
    • sil  : Silicon Image(tm) Medley(tm) (0,1,10)
    • via  : VIA Software RAID (S,0,1,10)
    • dos  : DOS partitions on SW RAIDs
  2. you need multiple hard drives connected to controller supporting RAID setup,
  3. setup arbitary RAID level in your firmware.

Action

  1. Boot the installation media on prepared machine,
  2. finish the installation by choosing default options.

Expected Results

  1. Installation starts up properly,
  2. RAID device is recognized and used,
  3. system is installed without issue, it boots up,
  4. system is installed on RAID and not underlying devices.

Cleanup

N/A

Installation on iSCSI

  1. Run any test case from QA:ISCSI_Installation_Test_plan

Default LVM with encryption

Setup

  1. Start installation from prepared media,
    • for testing in virtual machine do:
# virt-install --accelerate -n test-machine101 -r 1024 -f /var/lib/libvirt/images/test-machine101.img -s 21 -c Fedora.iso

Action

  1. In INSTALLATION DESTINATION choose default layout with LVM,
  2. select encryption and put passphrase,
  3. complete the installation.

Expected Results

  1. Default partitioning layout is created,
  2. partitions are encrypted,
  3. installer asks for passphrase,
  4. system requests passphrase during boot,
  5. systems starts without issue with passphrase.

Cleanup

  1. To destroy virtual machine run:
# virsh destroy test-machine101
# virsh undefine --remove-all-storage test-machine101

Reuse /home on LVM

Setup

  1. Do an installation with separate /home partition placed on LVM logical volume.

Action

  1. Start installation on same machine,

Expected Results

Cleanup

Reuse /home

Setup

Action

Expected Results

Cleanup

More disks

Setup

Action

Expected Results

Cleanup

Separate / /boot /usr /home /var swap, encrypt / /home swap

Setup

Action

Expected Results

Cleanup

Reuse existing VG

Setup

Action

Expected Results

Cleanup

LVM on top of RAID

Setup

Action

Expected Results

Cleanup

Reuse encrypted partitions

Setup

Action

Expected Results

Cleanup

Search for specific device

Setup

Action

Expected Results

Cleanup

Select all disks

Setup

Action

Expected Results

Cleanup

Create multiple VGs

Setup

Action

Expected Results

Cleanup