Provisioning RHEL using NFS


Contributor content

This topic was created by a BMC Contributor and has not been approved. More information.

This page is a review of the steps required to configure Red Hat Enterprise Linux (RHEL) provisioning using NFS (without IIS, DHCP, PXE and TFTP).

Installing the NFS Server

  1. Click Add Role.
    worddav6851e67f207288b624f0aff5fdd9b068.png
  2. Click Next.
    worddavbc2e49bb261ae2d4ed6f5e718163c676.png
  3. Select File Service, and then click Next.
    worddav287d40dba958627b23fef8c08691bbab.png
  4. Select Services for NFS and then click Next.
    worddavb856bc0da0bdf0838c4e5594465072fe.png
  5. Click Install.
    worddavefd79b4426a659328e5ae4335682c87f.png
    The NFS Server is installed.
    worddav7c2ae0974144a8227d9fa3b11abc9a0e.png
  6. Click Close.
    worddave4b696b36008bccc8d9596c642848938.png
  7. Verify that the NFS Server is installed.
    worddav6cfe860a650a96cd8d96e17b2389eb45.png
  8. Copy RHEL5.x DVD dump in C:\share\RHES5.
    worddav9db9fcd4ad01b91c1cefff52a2c00466.png

Sharing the DataStore

  1. Right-click the share folder and select Properties.
    worddav28eb107566a2538adc46933209082430.png
  2. Click Manage NFS Sharing on the NFS Sharing tab.
    worddav55b3d9de637ccbf99d72ab3242cb4882.png
  3. Select Options as in the image (right side) and then click Permissions.
    worddav32dcbd24a27482511fd9610d154987b4.png
  4. Set Type of Access = Read-Only.
    Allow root access.
    worddavfed16add25ba4f23390c7e7a5250a481.png
  5. Verify that the share folder is shared using NFS from Server Manager.
    worddav40a60af967cd898be83fec2a52e9a9ef.png

Adding the PXE DataStore instance

  1. Through the TrueSight Server Automation Console, select Configuration > Property Dictionary View.
    worddav4243493519982e069488cbbe9c915134.png
  2. Open the Pxe DataStore property class. On the Instance tab, click Add (+ sign in green).
    worddav4bac66a13fae8dbecf85ac41bb094368.png
  3. Type a name for the instance and specify values for all underlined properties in the following image.
    worddava20eaad0670e4ccef89b00e2c5680cc1.png
  4. Click Finish.
    worddav975e58bfca962338555977023a45370c.png

Creating a system package

  1. Right-click the Depot folder and select New > System Package.
    worddavfc9159cf10016059c976dcefa9c294fd.png
  2. Type a name for the system package and specify where to save it in the Depot folder.
    Set the System Package Type to RedHat AS 5.0 (as we are provisioning RHEL 5.3).
    worddavb04cecfdd53313b9487d5918b2be00aa.png
  3. Click Next.
    worddav55b8cbb1ccdcaf34a15bfb8389e7e037.png
  4. Click Finish.
    worddav82133e114505f3af089af143267858cb.png
  5. Set Partitions Setting under Disk Partition Tab.
    worddav5a39e35de96d61c223af61770506dddc.png
  6. Type Computer Name, Password, Kickstart Network Device and Boot Kernel Parameters.
    worddave8984bd3a6a890e6471ed9315dd2eca6.png
  7. Set Time Zone.
    worddavb70537a969ea011db902cf5a67c7f479.png
  8. Specify Packages to install.
    worddav688368f589f1e9eef47a65ca50bf5f31.png
  9. Set IP Address setting for the machine to be provisioned.
    worddav51c974d434f64fb9c7e0eb990bc0f52c.png
  10. Customize Kickstart File to specify NFS Server and Directory
    worddavcdd1e3b372ec7e6982ace47377570efd.png
  11. Type IP Address of Application Server.
    worddav3465227cc302515bbc128df459a0b628.png
  12. Save and close the System Package.

Adding a device

  1. Right Click Devices Group – Add Device
    worddavf20325181504dbed0b5f213b292c1314.png|
  2. Enter the following settings:
    • Type MAC Address
    • Boot Image File = Skip Linux Pre-Install
    • Provisioning Method = PXE
      worddav2cf75b89d34631a018c999a5b49223b2.png
  3. Click Next.
  4. Click Finish.
    worddav53cc6cc55d46f261e48731764d7ee9ca.png

Creating a Provisioning Job

  1. Right-click the Device that you created in the previous task and select Provision > RedHat.
    worddav7ecc4c2bc4e663d56429bc1c8859502e.png
  2. Type the Name and Set Job Folder, and then click Next.
    worddavbe0ec843e740c9e7f21893ef90bcc510.png
  3. Specify the path to System Package that we created above. Also, specify the DATA_STORE that we created above from the Property Dictionary.
    worddaved8c019d5ddb8489858804f5acaa08da.png
  4. Accept the default settings and step through the next few wizard pages, by clicking Next.
    worddav60328a197e806e7389fabc3aa7115a37.png
    worddav88d4554d66880b3af4f6f150031bbd7c.png
    worddavc560f14c7ff6d8c17276698a191f3144.png
    worddavd6e9ae4b757597ad311a1a053be0d7e0.png
  5. Select the Execute Job Now check box, and then click Next.
    worddavf89320a86d292508a6270084aaea02b1.png
  6. Click Next on the Properties page.
    worddav551bc289a34495e16d51317fee2d807c.png
  7. Click Finish.
    worddav5777fa84485ee97585c9d77fa81a3e8f.png

    The Job Executes.
    worddav0d45ff71c8e66d6402c7a180583113d1.png
    The job creates a file with Device (MAC Address) Name, which is a Kickstart file, that will be used for provisioning.
    worddavf4429d7ac19ca73db0f92d89a497c13d.png|

Installing Bare Metal

  1. Boot a bare metal (New Machine) with RHEL DVD or burn boot.iso file in CD and boot from it.

    Type following (shown in the image left) at Boot Prompt and Press Enter

    Where
    10.98.241.196 = NFS Server (which is our Application Server)10.98.241.196:/share/00-50-56-88-38-E6 = Kickstart location

    10.98.241.146 = IP Address for the New Machine255.255.255.0 = Subnet Mask for the New Machine10.98.241.1 = Gateway Address for the New Machine
    worddav21feac73386afeadaf41e98fb6072ede.png

    Installation starts.
    worddav854d626aa9bacf7bd1fc9619cea31812.png
    worddave74d2aa2701da1a2551f055e27ffe770.png
  2. After installation completes, verify the IP Address setting by running the ifconfig command.
    worddav407f62904d442a7abb7564c2c66f938f.png

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*