Previous Topic: Red Hat Enterprise Linux 6.3 i386Next Topic: Red Hat Enterprise Linux 5.8 i386


Red Hat Enterprise Linux 6.3 x86_64

You can install this distro into your appliance.

Note: We recommend creating a separate partition for /usr volume to allow you to move the volume later. This allows you to create a volume that is read-only and shared between appliance instances as well as conserve disc space. You must verify that the distro that you are installing supports the separation. If you create multiple partitions and do not separate later, some filesystem counters will not report correctly.

Follow these steps:

  1. Upload the installation DVD to the /vol/_impex/ directory.
  2. Open the grid shell and initialize the installation with the following command:
    util iso2class app_name=RHEL63_x64 install_size=5G console_type=graphic iso_volume1=rhel-server-6.3-x86_64-dvd.iso os=linux-64 virt_mode=xen_hvm,vmware cpu=0.5 mem=1.5G bw=1M
    

    The following prompt appears:

    When you have finished installing from iso_volume1 and are ready to reboot so that remaining volume(s) become available, press [Enter]
    
  3. Access the AppLogic GUI, select the RHEL63_x64 application, and click the Login (graphic) icon.

    The Red Hat installation wizard displays a series of screens for you to select your preferences.

  4. For some screens, you can make your own choices or accept default values, but for the following screens, select the following values:
    1. Welcome to Red Hat Enterprise Linux 6.3: select Install or upgrade an existing system.
    2. Disc Found: select Skip.
    3. What type of devices will your installation involve: select Basic Storage Devices, and click Next.
    4. Storage Device Warning: Click Yes, discard any data to confirm the volume overwrite, and continue through the wizard.
    5. Which type of installation would you like: select Create Custom Layout, and click Next.

      A screen appears to create and set up the partitions.

    6. Click Create to open the Create Storage dialog, select Standard Partition, then click Create to open the Add Partition dialog, and create the root partition with the following values:
      • Mount Point: /
      • File System Type: ext3
      • Size (MB): 2000
      • Additional Size Options: Fixed size
      • Click Force to be a primary partition.
    7. Click OK, and then click Create to open the Create Storage dialog, select Standard Partition, then click Create to open the Add Partition dialog, and create the /usr partition with the following values:
      • Mount Point: /usr
      • File System Type: ext3
      • Additional Size Options: Fill to maximum allowable size
      • Click Force to be a primary partition.
    8. Click OK to close the dialog, review your setup, and click Next to continue through the wizard.
    9. Partitioning Warnings: click Yes to ignore the swap partition warning.
    10. Format Warnings: click Format.
    11. Writing storage configuration to disk dialog, click Write changes to disk.

      The next screen in the wizard appears.

    12. Click Next to continue through the wizard, and select Virtualization Host at the next screen.
    13. Click Next to continue through the wizard, and click Reboot at the last screen.

      Your system reboots.

  5. Complete the installation:
    1. Return to the grid shell.

      The following prompt still appears:

      When you have finished installing from iso_volume1 and are ready to reboot so that remaining volume(s) become available, press [Enter]
      
    2. Press Enter, Y, Enter.

      The following prompt appears:

      When you have finished with the installation, press [Enter] to continue
      
    3. Press Enter, Y, Enter.

      A prompt appears to specify whether to install msi/APK.

    4. Press 2, Enter to select NOT to install the msi/APK.

      A prompt appears to specify whether to call hvm2pv now.

    5. Press 2, Enter to select NOT to call hvm2pv now.

      You now should have a Red Hat Enterprise Linux (RHEL) 6.3 application named RHEL63_x64 running.

    6. Enter the following command to stop the application:
      app stop RHEL63_x64
      
    7. Specify the device schema:
      • Open the application GUI, right-click on the singleton, and select Modify Boundary.
      • On the General tab, in the Virtualization section, click Advanced, select IDE and /dev/hdX, and click OK.
      • On the Volumes tab, select the consecutive hd* (hda,hdb,hdc...) devices for all volumes (where hda is the boot volume), click OK, and save the application.
    8. Enter the following command to call the hvm2pv utility:
      util hvm2pv name=RHEL63_x64:main.iso2class
      

      The following prompt appears:

      Is the pre-requisite software installed?
      
    9. Press Y, Enter.

      An OS confirmation prompt appears.

    10. Before you respond to the confirmation prompt, you must extract the following packages from the RHEL: installation DVD, located in the /Packages directory of installation DVD, to install the missing i686 libraries that the APK requires:
      • glibc-2.12-1.80.el6.i686.rpm
      • nss-softokn-freebl-3.12.9-11.el6.i686.rpm
    11. Upload these packages to the Sys_Filer_RHEL63_x64-class-ISO2CLASS-boot application running on the grid, in the following locations:
      • scp -i /path/to/your/ssh.key glibc-2.12-1.80.el6.i686.rpm root@your_grid_controller:/app/Sys_Filer_RHEL63_x64-class-ISO2CLASS-boot/mon/mnt/vol/par1/tmp/
      • scp -i /path/to/your/ssh.key nss-softokn-freebl-3.12.9-11.el6.i686.rpm root@your_grid_controller:/app/Sys_Filer_RHEL63_x64-class-ISO2CLASS-boot/mon/mnt/vol/par1/tmp/
    12. Open another grid shell, and execute the following commands in it:
      app login Sys_Filer_RHEL63_x64-class-ISO2CLASS-boot
      chroot par1 rpm -U  /tmp/glibc-2.12-1.80.el6.i686.rpm /tmp/nss-softokn-freebl-3.12.9-11.el6.i686.rpm
      exit
      
    13. Close the grid shell you just opened.

      You are returned to the OS confirmation prompt.

    14. Press Y, Enter to confirm the RHEL OS and 64-bit architecture.

      A prompt appears to set up a new root password.

    15. Press N, Enter to NOT set up a password.

      Note: If you change the root password at this point, you will not be able to log into your appliance due to SELinux policies. You can set up a new password later.

      A prompt appears to press any key when ready.

    16. Press Enter to boot the appliance in PV and HVM modes.

      A prompt appears to delete the original boot volume.

    17. Press Y, Enter to perform the cleanup.

    You now have the managed RHEL 6.3 x64 appliance capable of booting in HVM and PV modes.

  6. To enable the text consoles in HVM and PV modes, execute the following commands on the appliance:
    [ -z "`grep ttyS0 /etc/securetty`" ] && echo 'ttyS0' >> /etc/securetty
    cat > /etc/init/ttyS0.conf <<END
    stop on runlevel [S016]
    start on runlevel [23]
    respawn
    exec agetty -h -L -w /dev/ttyS0 115200 vt102
    END