Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Create computer groups:
    • all vm host computers
    • all vm guest computers 
  • Map vm computer groups to management node group
  • Add VM host computer:
    • Manage Computers -> Edit Computer Information
      • Hosthame: localvmhost
      • IP Address: 127.0.0.2
      • State: maintenance
      • Owner: admin
      • Platform: i386
      • Schedule: VCL 24x7 
      • RAM: 1024
      • No Processors: 1
      • Processor Speed: 2000
      • Network Speed: 100 
      • Type: blade
      • Provisioning engine: xCAT 1.x
      • Computer Groups: all vm host computers
  • Add VM guest computer:
      • Hosthame: vmguest-1
      • IP Address: current public ip address used by Windows XP VM
      • State: available 
      • Owner: admin
      • Platform: i386
      • Schedule: VCL 24x7 
      • RAM: 1024
      • No Processors: 1
      • Processor Speed: 2000
      • Network Speed: 100 
      • Type: virtualmachine
      • Provisioning engine: VMWare Server Provisioning
      • Computer Groups: all vm guest computers
    • Configure the VM guest's MAC address in the computer table:
      • eth0: 00:50:56:06:FF:00
      • eth1: 00:50:56:06:FF:01
  • Change state of localvmhost to vmhostinuse
  • Assign vm guests to localvmhost
  • Create node in priviledge tree
    • Name: VM image access
    • Add resource groups:
      • all vm guest computers
      • all vm guest images

...

  • vi /etc/dhcpd.conf
    No Format
    ddns-update-style interim;
    ignore client-updates;
    
    shared-network eth0 {
           subnet 10.0.0.0 netmask 255.0.0.0 {
                    # no dhcp support available
                    # we are not authoritative for this network
                    not authoritative;
           }
           subnet 172.53.0.0 netmask 255.255.0.0 {
                    range 172.53.1.10 172.53.1.244;
                    authoritative;
                    max-lease-time                  43200;
                    min-lease-time                  43200;
                    default-lease-time              43200;
                    option routers                  172.53.0.1;
                    option subnet-mask              255.255.0.0;
                    option nis-domain               "NA";
                    option domain-name              "vcl.org";
                    option domain-name-servers      172.52.0.1;
                    option nis-servers      noip;
                    option time-offset              -5;
                    ignore unknown-clients;
    
                    host vmguest1vmguest-1 {
                            option host-name "vmguest1vmguest-1";
                            hardware ethernet 00:50:56:06:FF:00;
                            fixed-address 172.53.1.1;
                            option dhcp-server-identifier 172.53.0.1;
                    }
            }
    }
    
  • /sbin/service dhcpd start
  • /sbin/chkconfig --level 345 dhcpd on

...