N1 Provisioning Server 3.1, Blades Edition, Release Notes

ProcedureTo Install Linux on the Selected Resource Pool Server

Steps
  1. Configure the DHCP settings on the Kickstart server.

    For complete instructions, see Section 4.3.1,”Configuring the DHCP Server“ of Sun FireTM B100x and B200x Server Blade Installation and Setup Guide.

    The following sample dhcpd.conf file illustrates a working configuration.

    authoritative;
    default-lease-time 691200;
    max-lease-time 691200;
    
    subnet 10.5.140.0 netmask 255.255.255.0 {
             not authoritative;
    }
    
    shared-network image-copy-subnets {
            subnet 10.40.40.0 netmask 255.255.255.0 {
            option subnet-mask 255.255.255.0;
            filename "/as-2.1/sun/pxelinux.bin";
            next-server 10.40.40.1;
            range 10.40.40.10 10.40.40.20;                
            }
    }
  2. Move the resource pool server to the Kickstart VLAN.

    Because the Kickstart server is on a separate VLAN and is not a part of the image VLAN, the resource pool server is moved to the Kickstart VLAN. To move the resource pool server to the Kickstart VLAN, type the following commands on the Provisioning Server machine:


    # vlanconfig -a vlanid interface device-id
    # vlanconfig -n vlanid interface device-id
    

    Where:

    For example:


    bash-2.03# vlanconfig -a 3 eth0 50105
    bash-2.03# vlanconfig -n 3 eth0 50105
    
  3. Boot the resource pool server through the network in the Kickstart VLAN.

    On the shelf system controller, type the following commands:


    sc>bootmode bootscript="boot net:dhcp" device-id
    sc>reset -y device-id
    

    In the following example, the device-id is s5:


    sc>bootmode bootscript="boot net:dhcp" s5
    S5: Boot script set.
    sc>reset -y s5
    Reset of S5 successful

    The resource pool server will be installed with the Linux Kickstart image setup on the Kickstart server. Log on to the console of the resource pool server to monitor the progress of the installation.

  4. Customize the Linux installation, if needed.

    At the end of the install, you will be prompted at the console to press Enter. After the resource pool server boots from the newly installed Linux, you might want to customize other information, such as changing the root password or installing RPMs that you might have missed.

  5. Halt the resource pool server.

    On the newly installed Linux machine, type the following command:


    [root@linux-client root]# /sbin/shutdown -h now
    
  6. Move resource pool server back to image VLAN.

    Move the resource pool server back to the image VLAN so that software packages like the N1 Provisioning Server agent can be installed. The resource pool server is removed from membership in the Kickstart VLAN.


    # vlanconfig -n 8 interface device-id
    # vlanconfig -r vlanid interface device-id
    

    Where:


    bash-2.03# vlanconfig -n 8 eth0 50105
    bash-2.03# vlanconfig -r 3 eth0 50105
    
  7. To continue, follow the instructions in To Prepare a Disk for Snapshot.