Last change
on this file since 2016 was
2015,
checked in by ezyang, 13 years ago
|
Create AFS cache partitions for new servers.
|
File size:
948 bytes
|
Rev | Line | |
---|
[1612] | 1 | Installing a Scripts guest on a Xen host |
---|
| 2 | ---------------------------------------- |
---|
| 3 | |
---|
[1698] | 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 |
---|
[2015] | 8 | lvcreate -n $MACHINE-cache --size 11.00G $HOST |
---|
[1698] | 9 | |
---|
[1980] | 10 | Make sure that the console has an entry for this host: |
---|
| 11 | |
---|
| 12 | vim /etc/conserver/conserver.cf |
---|
| 13 | |
---|
| 14 | If it doesn't, add: |
---|
| 15 | |
---|
| 16 | console $MACHINE { |
---|
| 17 | master $HOST; |
---|
| 18 | include xen; |
---|
| 19 | } |
---|
| 20 | |
---|
[1693] | 21 | We use Kickstart to to initial Fedora configuration. Installing a new |
---|
| 22 | vanilla machine is as easy as: |
---|
[1612] | 23 | |
---|
[1693] | 24 | xm create scripts-server machine_name=$MACHINE install=fXX && console $MACHINE |
---|
[1612] | 25 | |
---|
[1693] | 26 | The only prompt (near the beginning of the install process) should be |
---|
| 27 | for the root password, and at the end, when it asks you to reboot. |
---|
| 28 | Say yes, and the machine will power down, and then restart without |
---|
| 29 | the install parameter: |
---|
[1612] | 30 | |
---|
[1693] | 31 | xm create scripts-server machine_name=$MACHINE && console $MACHINE |
---|
Note: See
TracBrowser
for help on using the repository browser.