| Line |  | 
|---|
| 1 | Installing a Scripts guest on a Xen host | 
|---|
| 2 | ---------------------------------------- | 
|---|
| 3 |  | 
|---|
| 4 | You need to create the volumes to use: | 
|---|
| 5 |  | 
|---|
| 6 | lvcreate -n $MACHINE-root --size 50.00G $HOST | 
|---|
| 7 | lvcreate -n $MACHINE-swap --size 10.00G $HOST | 
|---|
| 8 |  | 
|---|
| 9 | Make sure that the console has an entry for this host: | 
|---|
| 10 |  | 
|---|
| 11 | vim /etc/conserver/conserver.cf | 
|---|
| 12 |  | 
|---|
| 13 | If it doesn't, add: | 
|---|
| 14 |  | 
|---|
| 15 | console $MACHINE { | 
|---|
| 16 | master $HOST; | 
|---|
| 17 | include xen; | 
|---|
| 18 | } | 
|---|
| 19 |  | 
|---|
| 20 | We use Kickstart to to initial Fedora configuration.  Installing a new | 
|---|
| 21 | vanilla machine is as easy as: | 
|---|
| 22 |  | 
|---|
| 23 | xm create scripts-server machine_name=$MACHINE install=fXX && console $MACHINE | 
|---|
| 24 |  | 
|---|
| 25 | The only prompt (near the beginning of the install process) should be | 
|---|
| 26 | for the root password, and at the end, when it asks you to reboot. | 
|---|
| 27 | Say yes, and the machine will power down, and then restart without | 
|---|
| 28 | the install parameter: | 
|---|
| 29 |  | 
|---|
| 30 | xm create scripts-server machine_name=$MACHINE && console $MACHINE | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.