| 1 |
- research ip= usage |
|---|
| 2 |
- get console server code -- conserver |
|---|
| 3 |
- wire up console server ports |
|---|
| 4 |
- set up console server |
|---|
| 5 |
- rebuild n2h22 |
|---|
| 6 |
- how to cut a new image/build new host if genotype != generic? just |
|---|
| 7 |
maintain multiple images -- at some point generic will give way to |
|---|
| 8 |
'xenhost' anyway |
|---|
| 9 |
- verify today's generic is a suitable ordered subset of xen |
|---|
| 10 |
- get more RAM |
|---|
| 11 |
- cut new image xenhost.2 from n2h51 |
|---|
| 12 |
- migrate xentest1 to other xenhost |
|---|
| 13 |
- mount /import/xen at boot |
|---|
| 14 |
- migrate to Xen 1.2 |
|---|
| 15 |
- set up vbd swap on xentest1 |
|---|
| 16 |
- rebase txenrc to 1.2 |
|---|
| 17 |
- move txenrc to nfs server |
|---|
| 18 |
- use real path for txen guest dir |
|---|
| 19 |
- kill hsp path component, drop an hsp file in users' dirs instead |
|---|
| 20 |
- instead of a 'restart' file, have a control file named 'run' |
|---|
| 21 |
- automate swap management |
|---|
| 22 |
- set up vbd swap on umltest1 |
|---|
| 23 |
- create ebond |
|---|
| 24 |
- implement auto(re)start |
|---|
| 25 |
- more RAM -- 2 x 256M (D45L) |
|---|
| 26 |
- test swap vbd expiration |
|---|
| 27 |
- write txenmon to discover, adopt, and monitor |
|---|
| 28 |
- report vd's to ./log/vbds, swap to ./log/swapvdid, clear it at restart |
|---|
| 29 |
- move all parms into an obj |
|---|
| 30 |
- get rid of make_domain globals, pass obj |
|---|
| 31 |
- build objs by scanning basedir for guests, 'host' files in guest dirs |
|---|
| 32 |
- iterate over objs while checking hosts, vd usage |
|---|
| 33 |
- catch all exceptions, log them, don't allow loop to die |
|---|
| 34 |
- test time handling -- can guests have different times? yep |
|---|
| 35 |
- move control files to ./ctl, status to ./log |
|---|
| 36 |
- replace txenrc with txenmon |
|---|
| 37 |
- restart ebond, umltest1 |
|---|
| 38 |
- redo baseline -- start with uml backing store README |
|---|
| 39 |
- remove 'Unmounting remote filesystems' from shutdown rc |
|---|
| 40 |
- remove 'Unmounting local filesystems' from shutdown rc |
|---|
| 41 |
- establish tcx server in xen |
|---|
| 42 |
- APT::Cache-Limit 16777216; |
|---|
| 43 |
- add card gateway to tcx |
|---|
| 44 |
- doublecheck w/ping before starting |
|---|
| 45 |
- daemonize txenmon, start from inittab |
|---|
| 46 |
- set up private ip on eth0, public on eth0:1 |
|---|
| 47 |
- reboot n2h64 to old kernel, fix grub-menugen |
|---|
| 48 |
- rebuild n2h32 to a stock kernel, no mosix, and try loop over AFS |
|---|
| 49 |
again |
|---|
| 50 |
- n2h32 clear -- reinstall, update makefile, and go |
|---|
| 51 |
- test loop dev raw i/o over afs -- HANG |
|---|
| 52 |
- strace -f -e trace=fsync -p $(pidof enbd-server) |
|---|
| 53 |
- ...make sure it's fsyncing every few seconds without the -y flag -- IS |
|---|
| 54 |
- get netengines building -- PXE, net, scsi |
|---|
| 55 |
- configure/test xen 2.0 |
|---|
| 56 |
- net 10.27.4 |
|---|
| 57 |
- install lantronix |
|---|
| 58 |
- reverse PXE logic |
|---|
| 59 |
- figure out why serial console isn't getting keystrokes |
|---|
| 60 |
- write script to grep most recent DHCPDISCOVER from syslog, append to |
|---|
| 61 |
dhcpd.conf, create symlinks in /tftpboot and |
|---|
| 62 |
/var/lib/systemimager/scripts |
|---|
| 63 |
- download xen 3.X |
|---|
| 64 |
- build xen 3.X vanilla (2.6.12) |
|---|
| 65 |
- fix isconf long-running exec bug |
|---|
| 66 |
- use subprocess.py or techniques |
|---|
| 67 |
- see http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/440554 |
|---|
| 68 |
- upgrade xen0-1 to isconf 4.2.8.210 |
|---|
| 69 |
|
|---|
| 70 |
- # on n4h9 |
|---|
| 71 |
- cd /var/is/fs/cache/t7a.org/volume/ |
|---|
| 72 |
- cp xen0-1/journal xen-3/journal |
|---|
| 73 |
- isconf migrate xen-3 |
|---|
| 74 |
|
|---|
| 75 |
- install 2.6 prereqs on n4h9: |
|---|
| 76 |
- apt-get update |
|---|
| 77 |
- e2fsprogs |
|---|
| 78 |
- isconf ci |
|---|
| 79 |
- sync to n4h7 and n4h8 |
|---|
| 80 |
- edit apt.conf: don't purge |
|---|
| 81 |
- update sources.list |
|---|
| 82 |
- apt-get update |
|---|
| 83 |
- apt |
|---|
| 84 |
- fix and install apt-tar 1.4 |
|---|
| 85 |
- libc6 testing |
|---|
| 86 |
- isconf ci |
|---|
| 87 |
- sync to n4h7 and n4h8 |
|---|
| 88 |
- dpkg -r udev |
|---|
| 89 |
- dpkg -P hotplug |
|---|
| 90 |
- upgrade to isconf 2.4.8.212 |
|---|
| 91 |
- isconf ci |
|---|
| 92 |
- sync to n4h7 and n4h8 |
|---|
| 93 |
- install -t testing udev module-init-tools |
|---|
| 94 |
- isconf ci |
|---|
| 95 |
- sync to n4h7 and n4h8 |
|---|
| 96 |
- initramfs-tools # not yaird |
|---|
| 97 |
- apt-get -s install linux-image-2.6.15-1-686 # to find more 2.6 prereqs |
|---|
| 98 |
|
|---|
| 99 |
- hg clone testing on n4h8 |
|---|
| 100 |
- hg clone unstable on n4h7 |
|---|
| 101 |
- make world on n4h8 |
|---|
| 102 |
- make world on n4h7 |
|---|
| 103 |
- migrate n4h6 to xen-3 |
|---|
| 104 |
|
|---|
| 105 |
- hg clone unstable on n4h7 |
|---|
| 106 |
- cut xen-3.1 image from n4h6 |
|---|
| 107 |
|
|---|
| 108 |
- re-image n4h9 |
|---|
| 109 |
- migrate n4h5 to xen-3 |
|---|
| 110 |
- hg clone testing on n4h6 |
|---|
| 111 |
- re-image n4h8 |
|---|
| 112 |
|
|---|
| 113 |
- n4h9: |
|---|
| 114 |
- install apt-tar 1.5 |
|---|
| 115 |
- install isconf 4.2.8.214 |
|---|
| 116 |
- isconf ci |
|---|
| 117 |
|
|---|
| 118 |
- n4h9: re-image |
|---|
| 119 |
- n4h5: re-image |
|---|
| 120 |
|
|---|
| 121 |
- n4h9: isconf -r up |
|---|
| 122 |
- n4h9: install isconf 4.2.8.216 |
|---|
| 123 |
- n4h9: isconf ci |
|---|
| 124 |
- n4h5: isconf -r up |
|---|
| 125 |
|
|---|
| 126 |
- n4h7: re-image |
|---|
| 127 |
|
|---|
| 128 |
|
|---|
| 129 |
- n4h6: |
|---|
| 130 |
- apt-get update |
|---|
| 131 |
- isconf -r up |
|---|
| 132 |
- cd /tmp |
|---|
| 133 |
- dpkg -r libterm-readline-perl |
|---|
| 134 |
- apt-tar install perl |
|---|
| 135 |
- manual install perl |
|---|
| 136 |
- apt-tar install debconf # use dialog |
|---|
| 137 |
- manual install debconf |
|---|
| 138 |
- dpkg -r tetex-bin |
|---|
| 139 |
- dpkg -r tetex-extra |
|---|
| 140 |
- dpkg -r libpaper1 |
|---|
| 141 |
- apt-tar install libpaper1 |
|---|
| 142 |
- manual install |
|---|
| 143 |
- apt-tar install tetex-bin |
|---|
| 144 |
- manual install tetex-bin |
|---|
| 145 |
- apt-tar install tetex-extra |
|---|
| 146 |
- manual install tetex-extra |
|---|
| 147 |
|
|---|
| 148 |
- n4h7: |
|---|
| 149 |
- isconf -r up |
|---|
| 150 |
- apt-get update |
|---|
| 151 |
- cd /tmp |
|---|
| 152 |
- isconf lock upgrade xen build env |
|---|
| 153 |
- isconf exec dpkg -r libterm-readline-perl |
|---|
| 154 |
- apt-tar install perl |
|---|
| 155 |
- /usr/src/bin/apt-tar-isconf install.perl |
|---|
| 156 |
- apt-tar install debconf # use dialog |
|---|
| 157 |
- /usr/src/bin/apt-tar-isconf install.debconf |
|---|
| 158 |
- isconf exec dpkg -r tetex-bin |
|---|
| 159 |
- isconf exec dpkg -r tetex-extra |
|---|
| 160 |
- isconf exec dpkg -r libpaper1 |
|---|
| 161 |
- isconf ci |
|---|
| 162 |
|
|---|
| 163 |
- n4h6: isconf -r up |
|---|
| 164 |
- n4h9: isconf -r up |
|---|
| 165 |
- n4h5: isconf -r up |
|---|
| 166 |
|
|---|
| 167 |
- n4h6: re-image, remove link |
|---|
| 168 |
- n4h7: re-image, remove link |
|---|
| 169 |
|
|---|
| 170 |
- n4h9: |
|---|
| 171 |
- apt-get update |
|---|
| 172 |
- cd /tmp |
|---|
| 173 |
- isconf lock upgrade xen build env |
|---|
| 174 |
- apt-get -s install libpaper1 |
|---|
| 175 |
- apt-tar install ucf |
|---|
| 176 |
- /usr/src/bin/apt-tar-isconf install.ucf |
|---|
| 177 |
- isconf ci |
|---|
| 178 |
- apt-tar install libpaper1 |
|---|
| 179 |
- isconf lock upgrade xen build env |
|---|
| 180 |
- /usr/src/bin/apt-tar-isconf install.libpaper1 |
|---|
| 181 |
- isconf ci |
|---|
| 182 |
- isconf lock upgrade xen build env |
|---|
| 183 |
- apt-tar install xlibs |
|---|
| 184 |
- /usr/src/bin/apt-tar-isconf install.xlibs |
|---|
| 185 |
- install apt-tar 1.7 |
|---|
| 186 |
- isconf ci |
|---|
| 187 |
- apt-get -s install tetex-bin |
|---|
| 188 |
- install apt-tar 1.8 |
|---|
| 189 |
- isconf ci |
|---|
| 190 |
- isconf lock upgrade xen build env |
|---|
| 191 |
- apt-tar install tetex-bin |
|---|
| 192 |
- /usr/src/bin/apt-tar-isconf install.tetex-bin |
|---|
| 193 |
- isconf ci |
|---|
| 194 |
- apt-tar install tetex-extra |
|---|
| 195 |
- /usr/src/bin/apt-tar-isconf install.tetex-extra |
|---|
| 196 |
|
|---|
| 197 |
- n4h5: cut new baseline |
|---|
| 198 |
|
|---|
| 199 |
- n4h8: |
|---|
| 200 |
- cd /usr/src |
|---|
| 201 |
- tar -xjvf linux-2.6.12.tar.bz2 |
|---|
| 202 |
- cd linux-2.6.12 |
|---|
| 203 |
- cp /boot/config-2.4.29-xen0 .config |
|---|
| 204 |
- make menuconfig # select nothing; just save |
|---|
| 205 |
- make |
|---|
| 206 |
- make install |
|---|
| 207 |
- /usr/src/bin/grub-menugen 2.4-xen0 > /boot/grub/menu.lst |
|---|
| 208 |
- # ready on console |
|---|
| 209 |
- reboot & exit |
|---|
| 210 |
- reboot into xen, make e100 a module |
|---|
| 211 |
- make |
|---|
| 212 |
- make install |
|---|
| 213 |
- cd .. |
|---|
| 214 |
- rsync -e ssh -avz linux-2.6.12 n4h9:/usr/src |
|---|
| 215 |
- rsync -e ssh -Pav linux-2.6.12.tar.bz2 n4h9:/usr/src |
|---|
| 216 |
|
|---|
| 217 |
|
|---|
| 218 |
- n4h8: re-image, remove link |
|---|
| 219 |
- n4h8: install isconf 4.2.8.218 |
|---|
| 220 |
|
|---|
| 221 |
- n4h9: |
|---|
| 222 |
- cd /usr/src |
|---|
| 223 |
- tar -xjvf linux-2.6.12.tar.bz2 |
|---|
| 224 |
- cd linux-2.6.12 |
|---|
| 225 |
- cp /boot/config-2.4.29-xen0 .config |
|---|
| 226 |
- make menuconfig # select nothing; just save |
|---|
| 227 |
- make |
|---|
| 228 |
- make install |
|---|
| 229 |
- /usr/src/bin/grub-menugen 2.4-xen0 > /boot/grub/menu.lst |
|---|
| 230 |
- reboot & exit |
|---|
| 231 |
- review migration howtos |
|---|
| 232 |
- cp /tmp/config-2.6.12-1-686-smp .config |
|---|
| 233 |
- make menuconfig |
|---|
| 234 |
- make |
|---|
| 235 |
|
|---|
| 236 |
- n4h7: |
|---|
| 237 |
- cd /usr/src |
|---|
| 238 |
- hg clone http://xenbits.xensource.com/xen-unstable.hg |
|---|
| 239 |
- cd xen-unstable.hg |
|---|
| 240 |
- make world |
|---|
| 241 |
- make install-xen install-kernels install-tools |
|---|
| 242 |
- cd dist |
|---|
| 243 |
- sh ./install.sh |
|---|
| 244 |
- scp n4h5:/boot/xen-2.0.gz /boot |
|---|
| 245 |
- /usr/src/bin/grub-menugen 2.6.12.6-xen0 > /boot/grub/menu.lst |
|---|
| 246 |
- reboot & exit |
|---|
| 247 |
- !!! it boots !!! |
|---|
| 248 |
- get boot messages, compare with n4h6 # n4h6 grant table message missing |
|---|
| 249 |
- apt-get update |
|---|
| 250 |
- apt-get install ssh # get rid of kerberized sshd |
|---|
| 251 |
- apt-get install portmap |
|---|
| 252 |
- apt-get install watchdog |
|---|
| 253 |
- !!! it hangs !!! ...right after grant table and NET: ... |
|---|
| 254 |
- nosmp acpi=off noapic |
|---|
| 255 |
- add to grub, reboot every 5 minutes |
|---|
| 256 |
- see if it's still running/rebooting in the morning |
|---|
| 257 |
- !!! (next morning) still running !!! |
|---|
| 258 |
- write bootpermute, run it for a while... okay, noapic is all we need |
|---|
| 259 |
|
|---|
| 260 |
- n4h8: |
|---|
| 261 |
- apt-get install linux-image-2.6.12-1-686-smp |
|---|
| 262 |
- apt-get install ssh # get rid of kerberized sshd |
|---|
| 263 |
- add grub entry; console=ttyS0,9600 |
|---|
| 264 |
- apt-get install portmap |
|---|
| 265 |
- apt-get install watchdog |
|---|
| 266 |
- get boot messages, compare with n4h6 |
|---|
| 267 |
|
|---|
| 268 |
- n4h6: |
|---|
| 269 |
- cd /usr/src |
|---|
| 270 |
- hg clone http://xenbits.xensource.com/xen-3.0-testing.hg |
|---|
| 271 |
- cd xen-3.0-testing.hg |
|---|
| 272 |
- make world |
|---|
| 273 |
- apt-get update |
|---|
| 274 |
- apt-get install gs-common |
|---|
| 275 |
- apt-get install transfig |
|---|
| 276 |
- make install-xen install-kernels install-tools |
|---|
| 277 |
- cd dist |
|---|
| 278 |
- sh ./install.sh |
|---|
| 279 |
- scp n4h5:/boot/xen-2.0.gz /boot |
|---|
| 280 |
- /usr/src/bin/grub-menugen 2.6.12.6-xen0 > /boot/grub/menu.lst |
|---|
| 281 |
- reboot & exit |
|---|
| 282 |
- cd /usr/src/xen-3.0-testing.hg |
|---|
| 283 |
- make KERNELS=linux-2.6-xen world |
|---|
| 284 |
- make install-xen install-kernels install-tools |
|---|
| 285 |
- cd dist |
|---|
| 286 |
- sh ./install.sh |
|---|
| 287 |
- /usr/src/bin/grub-menugen 2.6.12.6-xen0 > /boot/grub/menu.lst |
|---|
| 288 |
- vi /boot/grub/menu.lst # add noapic |
|---|
| 289 |
- vi /etc/securetty # add ttyS0 |
|---|
| 290 |
- reboot & exit |
|---|
| 291 |
- apt-get install ssh # get rid of kerberized sshd |
|---|
| 292 |
- apt-get install portmap |
|---|
| 293 |
- apt-get install watchdog |
|---|
| 294 |
- reboot & exit |
|---|
| 295 |
|
|---|
| 296 |
- n4h8: re-image, remove link |
|---|
| 297 |
- n4h9: re-image, remove link |
|---|
| 298 |
|
|---|
| 299 |
- n4h8: |
|---|
| 300 |
- cd /tmp |
|---|
| 301 |
- isconf -r up |
|---|
| 302 |
- apt-get update |
|---|
| 303 |
- isconf lock upgrade to xen 3.0/linux 2.6 |
|---|
| 304 |
- apt-tar install ssh # get rid of kerberized sshd |
|---|
| 305 |
- /usr/src/bin/apt-tar-isconf install.ssh |
|---|
| 306 |
- apt-tar install portmap |
|---|
| 307 |
- /usr/src/bin/apt-tar-isconf install.portmap |
|---|
| 308 |
- apt-tar install watchdog |
|---|
| 309 |
- /usr/src/bin/apt-tar-isconf install.watchdog |
|---|
| 310 |
- vi /etc/securetty # add ttyS0 |
|---|
| 311 |
- isconf snap /etc/securetty |
|---|
| 312 |
- vi /usr/src/bin/grub-menugen # noapic |
|---|
| 313 |
- isconf snap /usr/src/bin/grub-menugen |
|---|
| 314 |
- vi /etc/init.d/watchdog # start watchdog |
|---|
| 315 |
- isconf snap /etc/init.d/watchdog |
|---|
| 316 |
- isconf exec mv /lib/tls /lib/tls.disabled |
|---|
| 317 |
- reboot & exit |
|---|
| 318 |
- isconf ci |
|---|
| 319 |
- cd /usr/src |
|---|
| 320 |
- isconf up |
|---|
| 321 |
- make |
|---|
| 322 |
- fix docs build: |
|---|
| 323 |
- isconf lock fix xen docs build |
|---|
| 324 |
- debconf-get-selections | grep tetex > /tmp/tetex-bin-selections |
|---|
| 325 |
- isconf snap /tmp/tetex-bin-selections |
|---|
| 326 |
- isconf exec bash -c "debconf-set-selections < /tmp/tetex-bin-selections" |
|---|
| 327 |
- isconf exec dpkg-reconfigure -u tetex-bin |
|---|
| 328 |
- isconf ci |
|---|
| 329 |
- cd /usr/src |
|---|
| 330 |
- make -n dist |
|---|
| 331 |
- make dist # start 10:48 end 13:40 |
|---|
| 332 |
|
|---|
| 333 |
|
|---|
| 334 |
- n4h9: |
|---|
| 335 |
- cd /usr/src |
|---|
| 336 |
- hg clone http://xenbits.xensource.com/xen-3.0-testing.hg |
|---|
| 337 |
- mv xen-3.0-testing.hg xen-3.0-testing-8270.hg |
|---|
| 338 |
- tar -czvf xen-3.0-testing-8270.hg.tar.gz xen-3.0-testing-8270.hg |
|---|
| 339 |
- isconf lock upgrade to xen 3.0/linux 2.6 |
|---|
| 340 |
- isconf snap xen-3.0-testing-8270.hg.tar.gz |
|---|
| 341 |
- isconf ci |
|---|
| 342 |
- isconf lock upgrade to xen 3.0/linux 2.6 |
|---|
| 343 |
- isconf exec mv Makefile Makefile.pre-xen3 |
|---|
| 344 |
- isconf ci |
|---|
| 345 |
- vi Makefile # just a simple one, to build a single xen version |
|---|
| 346 |
- isconf snap Makefile |
|---|
| 347 |
- isconf ci |
|---|
| 348 |
- make |
|---|
| 349 |
- cd /usr/src |
|---|
| 350 |
- make -n dist |
|---|
| 351 |
- make dist # start 10:45 end 14:31 |
|---|
| 352 |
* make -n install # run manually, move initrd, fix grub and Makefile |
|---|
| 353 |
* make install |
|---|
| 354 |
|
|---|
| 355 |
|
|---|
| 356 |
|
|---|
| 357 |
=================== |
|---|
| 358 |
|
|---|
| 359 |
hmmm.... *-xen takes hours to build... *-xen0 seems to have everything |
|---|
| 360 |
we need except for aoe... why not just use xen0 and xenU? |
|---|
| 361 |
|
|---|
| 362 |
n4h6: build and install aoe, aoetools, and vblade |
|---|
| 363 |
cd /usr/src |
|---|
| 364 |
# aoe, aoetools |
|---|
| 365 |
wget http://www.coraid.com/support/linux/aoe6-20.tar.gz |
|---|
| 366 |
tar -xzvf aoe6-20.tar.gz |
|---|
| 367 |
cd aoe6-20 |
|---|
| 368 |
aoeopts=" |
|---|
| 369 |
KDIR=/usr/src/xen-3.0-testing.hg/linux-2.6.12-xen0 |
|---|
| 370 |
INSTDIR=/lib/modules/2.6.12.6-xen0/kernel/drivers/block/aoe |
|---|
| 371 |
N_DEV_SHELVES=15 |
|---|
| 372 |
AOE_PARTITIONS=1 |
|---|
| 373 |
" |
|---|
| 374 |
make $aoeopts |
|---|
| 375 |
# rm -rf /dev/etherd |
|---|
| 376 |
# find /lib/modules/`uname -r` -name aoe.ko -print0 | xargs -0 rm |
|---|
| 377 |
touch /etc/modprobe.conf |
|---|
| 378 |
make install $aoeopts |
|---|
| 379 |
grep major-152 /etc/modprobe.d/aliases || \ |
|---|
| 380 |
cat /etc/modprobe.conf >> /etc/modprobe.d/aliases |
|---|
| 381 |
rm /etc/modprobe.conf |
|---|
| 382 |
# vblade |
|---|
| 383 |
cd /usr/src |
|---|
| 384 |
wget \ |
|---|
| 385 |
http://easynews.dl.sourceforge.net/sourceforge/aoetools/vblade-10.tar.gz |
|---|
| 386 |
tar -xzvf vblade-10.tar.gz |
|---|
| 387 |
cd vblade-10 |
|---|
| 388 |
make |
|---|
| 389 |
|
|---|
| 390 |
./vblade 6 1 eth0 /dev/sdb |
|---|
| 391 |
|
|---|
| 392 |
|
|---|
| 393 |
n4h7: build and install aoe, aoetools, and vblade |
|---|
| 394 |
cd /usr/src |
|---|
| 395 |
# aoe, aoetools |
|---|
| 396 |
wget http://www.coraid.com/support/linux/aoe6-20.tar.gz |
|---|
| 397 |
tar -xzvf aoe6-20.tar.gz |
|---|
| 398 |
cd aoe6-20 |
|---|
| 399 |
aoeopts=" |
|---|
| 400 |
KDIR=/usr/src/xen-unstable.hg/linux-2.6.12-xen0 |
|---|
| 401 |
INSTDIR=/lib/modules/2.6.12.6-xen0/kernel/drivers/block/aoe |
|---|
| 402 |
N_DEV_SHELVES=15 |
|---|
| 403 |
AOE_PARTITIONS=1 |
|---|
| 404 |
" |
|---|
| 405 |
make $aoeopts |
|---|
| 406 |
# rm -rf /dev/etherd |
|---|
| 407 |
# find /lib/modules/`uname -r` -name aoe.ko -print0 | xargs -0 rm |
|---|
| 408 |
touch /etc/modprobe.conf |
|---|
| 409 |
make install $aoeopts |
|---|
| 410 |
grep major-152 /etc/modprobe.d/aliases || \ |
|---|
| 411 |
cat /etc/modprobe.conf >> /etc/modprobe.d/aliases |
|---|
| 412 |
rm /etc/modprobe.conf |
|---|
| 413 |
# vblade |
|---|
| 414 |
cd /usr/src |
|---|
| 415 |
wget \ |
|---|
| 416 |
http://easynews.dl.sourceforge.net/sourceforge/aoetools/vblade-10.tar.gz |
|---|
| 417 |
tar -xzvf vblade-10.tar.gz |
|---|
| 418 |
cd vblade-10 |
|---|
| 419 |
make |
|---|
| 420 |
mkfs -t ext3 /dev/etherd/e6.1 |
|---|
| 421 |
mkdir /mnt/e6.1 |
|---|
| 422 |
mount /dev/etherd/e6.1 /mnt/e6.1 |
|---|
| 423 |
cd /mnt/e6.1/ |
|---|
| 424 |
bonnie -u root |
|---|
| 425 |
XXX hangs |
|---|
| 426 |
cd /usr/src/vblade-10 |
|---|
| 427 |
make clean |
|---|
| 428 |
make ARCH=xen |
|---|
| 429 |
cd /usr/src/aoe6-20 |
|---|
| 430 |
make clean |
|---|
| 431 |
aoeopts=" |
|---|
| 432 |
KDIR=/usr/src/xen-unstable.hg/linux-2.6.12-xen0 |
|---|
| 433 |
INSTDIR=/lib/modules/2.6.12.6-xen0/kernel/drivers/block/aoe |
|---|
| 434 |
N_DEV_SHELVES=15 |
|---|
| 435 |
AOE_PARTITIONS=1 |
|---|
| 436 |
ARCH=xen |
|---|
| 437 |
" |
|---|
| 438 |
make $aoeopts |
|---|
| 439 |
XXX didn't add ARCH=xen... |
|---|
| 440 |
make -C /usr/src/xen-unstable.hg/linux-2.6.12-xen0 CONFIG_ATA_OVER_ETH=m EXTRA_CFLAGS="-DAOE_PARTITIONS=1" KDIR=/usr/src/xen-unstable.hg/linux-2.6.12-xen0 SUBDIRS="/usr/src/aoe6-20/linux/drivers/block/aoe" ARCH=xen modules |
|---|
| 441 |
rm -rf /dev/etherd |
|---|
| 442 |
find /lib/modules/`uname -r` -name aoe.ko -print0 | xargs -0 rm |
|---|
| 443 |
touch /etc/modprobe.conf |
|---|
| 444 |
make install $aoeopts |
|---|
| 445 |
XXX didn't add ARCH=xen... |
|---|
| 446 |
grep major-152 /etc/modprobe.d/aliases || \ |
|---|
| 447 |
cat /etc/modprobe.conf >> /etc/modprobe.d/aliases |
|---|
| 448 |
rm /etc/modprobe.conf |
|---|
| 449 |
|
|---|
| 450 |
|
|---|
| 451 |
|
|---|
| 452 |
|
|---|
| 453 |
cd /tmp |
|---|
| 454 |
bonnie -u root |
|---|
| 455 |
|
|---|
| 456 |
|
|---|
| 457 |
apt-get install lvm2 |
|---|
| 458 |
apt-get install ext2resize dmsetup |
|---|
| 459 |
|
|---|
| 460 |
|
|---|
| 461 |
|
|---|
| 462 |
spirit,2G,18760,84,24340,6,10165,2,19065,84,21853,2,84.3,0,16,2540,97,+++++,+++,+++++,+++,2635,99,+++++,+++,14219,99 |
|---|
| 463 |
|
|---|
| 464 |
n4h6:/usr/src/vblade-10# fsck /dev/sdb |
|---|
| 465 |
n4h6:/usr/src/vblade-10# mkdir /mnt/sdb |
|---|
| 466 |
n4h6:/usr/src/vblade-10# cd /mnt/sdb |
|---|
| 467 |
n4h6:/mnt/sdb# bonnie -u root |
|---|
| 468 |
n4h6,300M,7050,98,20745,24,10447,7,7053,97,22957,7,158.1,0,16,448,96,+++++,+++,+++++,+++,467,99,+++++,+++,1808,97 |
|---|
| 469 |
|
|---|
| 470 |
n4h7:/usr/src/vblade-10# ./vblade 7 1 eth0 /dev/sdb |
|---|
| 471 |
n4h6:~# modprobe aoe |
|---|
| 472 |
n4h6:~# mkfs -t ext3 /dev/etherd/e7.1 |
|---|
| 473 |
n4h6:~# mkdir /mnt/e7.1 |
|---|
| 474 |
n4h6:~# mount /dev/etherd/e7.1 /mnt/e7.1/ |
|---|
| 475 |
n4h6:~# cd /mnt/e7.1/ |
|---|
| 476 |
n4h6:/mnt/e7.1# bonnie -u root |
|---|
| 477 |
|
|---|
| 478 |
n4h6:/usr/src# wget \ |
|---|
| 479 |
http://lpk.com.price.ru/~lelik/AoE/vblade-kernel-0.3.3.tar.gz |
|---|
| 480 |
n4h6:/usr/src# tar -xzvf vblade-kernel-0.3.3.tar.gz |
|---|
| 481 |
n4h6:/usr/src# cd vblade-kernel-0.3.3/ |
|---|
| 482 |
n4h6:/usr/src/vblade-kernel-0.3.3# make |
|---|
| 483 |
n4h6:/usr/src/vblade-kernel-0.3.3# insmod vb.ko |
|---|
| 484 |
n4h6:/usr/src/vblade-kernel-0.3.3# echo sdb /dev/sdb > /sys/vblade/drives |
|---|
| 485 |
...vblade-kernel causes panic when loading aoe on same node... |
|---|
| 486 |
|
|---|
| 487 |
n4h6: cd /usr/src |
|---|
| 488 |
n4h6: tar -xjvf linux-2.6.11.tar.bz2 |
|---|
| 489 |
n4h6: cd linux-2.6.11 |
|---|
| 490 |
n4h6: make menuconfig # keep defaults |
|---|
| 491 |
n4h6:/usr/src/linux-2.6.11# make # start 19:02 end 19:25 |
|---|
| 492 |
n4h6:/usr/src/linux-2.6.11# make install |
|---|
| 493 |
n4h6:/usr/src/linux-2.6.11# make modules_install |
|---|
| 494 |
n4h6:/usr/src/linux-2.6.11# /usr/src/bin/grub-menugen > /boot/grub/menu.lst |
|---|
| 495 |
n4h6:/usr/src/linux-2.6.11# vi /boot/grub/menu.lst # add console=ttyS0,9600 |
|---|
| 496 |
n4h6:/usr/src/linux-2.6.11# reboot & exit |
|---|
| 497 |
|
|---|
| 498 |
|
|---|
| 499 |
n4h8:/tmp# uname -a |
|---|
| 500 |
Linux n4h8 2.4.29-xen0 #1 Tue Apr 5 16:52:46 PDT 2005 i686 GNU/Linux |
|---|
| 501 |
n4h8,300M,6510,93,19859,22,10641,10,6074,68,24280,10,166.0,1,16,455,85,+++++,+++,+++++,+++,470,94,+++++,+++,1707,91 |
|---|
| 502 |
|
|---|
| 503 |
|
|---|
| 504 |
n4h9:/usr/src# make |
|---|
| 505 |
n4h9:/usr/src# make install |
|---|
| 506 |
n4h9:/usr/src# reboot & exit |
|---|
| 507 |
|
|---|
| 508 |
n4h7:/usr/src/cluster# apt-get install libxml2-dev |
|---|
| 509 |
n4h7:/usr/src# cvs -d :pserver:cvs@sources.redhat.com:/cvs/cluster checkout -r STABLE cluster |
|---|
| 510 |
n4h7:/usr/src/cluster# cd cluster |
|---|
| 511 |
n4h7:/usr/src/cluster# ./configure --kernel_src=/usr/src/xen-unstable.hg/linux-2.6.12-xen0/ |
|---|
| 512 |
n4h7:/usr/src/cluster# make |
|---|
| 513 |
|
|---|
| 514 |
n4h6:/usr/src/vblade-10# make clean |
|---|
| 515 |
n4h6:/usr/src/vblade-10# make |
|---|
| 516 |
n4h6:/usr/src/vblade-10# ifconfig eth1 up |
|---|
| 517 |
n4h6:/usr/src/vblade-10# ./vblade 6 1 eth1 /dev/sdb |
|---|
| 518 |
|
|---|
| 519 |
n4h7:~# ifconfig eth1 up |
|---|
| 520 |
n4h7:~# modprobe aoe |
|---|
| 521 |
n4h7:~# aoe-stat |
|---|
| 522 |
n4h7:~# fsck /dev/etherd/e6.1 |
|---|
| 523 |
n4h7:~# mount /dev/etherd/e6.1 /mnt/e6.1 |
|---|
| 524 |
n4h7:~# bonnie -u root -d /mnt/e6.1 |
|---|
| 525 |
n4h7,300M,6070,98,9475,12,5098,6,5814,96,11470,6,770.5,1,16,490,99,+++++,+++,+++++,+++,497,98,+++++,+++,1841,94 |
|---|
| 526 |
|
|---|
| 527 |
|
|---|
| 528 |
n4h8:/usr/src# isconf up |
|---|
| 529 |
n4h8:/usr/src# make |
|---|
| 530 |
n4h8:/usr/src# isconf up |
|---|
| 531 |
n4h8:/usr/src# make install |
|---|
| 532 |
n4h8:/usr/src# reboot & exit |
|---|
| 533 |
|
|---|
| 534 |
n4h8:/usr/src# cd /usr/src |
|---|
| 535 |
n4h8:/usr/src# wget \ |
|---|
| 536 |
http://easynews.dl.sourceforge.net/sourceforge/aoetools/vblade-10.tar.gz |
|---|
| 537 |
n4h8:/usr/src# tar -xzvf vblade-10.tar.gz |
|---|
| 538 |
n4h8:/usr/src# cd vblade-10 |
|---|
| 539 |
n4h8:/usr/src/vblade-10# make |
|---|
| 540 |
n4h8:/usr/src/vblade-10# ./vblade 8 1 eth0 /dev/sdb |
|---|
| 541 |
n4h8:/usr/src# cd /usr/src |
|---|
| 542 |
n4h8:/usr/src# wget http://www.coraid.com/support/linux/aoe6-20.tar.gz |
|---|
| 543 |
n4h8:/usr/src# tar -xzvf aoe6-20.tar.gz |
|---|
| 544 |
n4h8:/usr/src# cd aoe6-20 |
|---|
| 545 |
n4h8:/usr/src/aoe6-20# aoeopts=" |
|---|
| 546 |
KDIR=/usr/src/xen-3.0-testing-8270.hg/linux-2.6.12-xen0 |
|---|
| 547 |
INSTDIR=/lib/modules/2.6.12.6-xen0/kernel/drivers/block/aoe |
|---|
| 548 |
N_DEV_SHELVES=15 |
|---|
| 549 |
AOE_PARTITIONS=1 |
|---|
| 550 |
" |
|---|
| 551 |
n4h8:/usr/src/aoe6-20# make $aoeopts |
|---|
| 552 |
n4h8:/usr/src/aoe6-20# rm -rf /dev/etherd |
|---|
| 553 |
n4h8:/usr/src/aoe6-20# find /lib/modules/2.6.12.6-xen0 -name aoe.ko |
|---|
| 554 |
-print0 | xargs -0 rm |
|---|
| 555 |
n4h8:/usr/src/aoe6-20# touch /etc/modprobe.conf |
|---|
| 556 |
n4h8:/usr/src/aoe6-20# make install $aoeopts |
|---|
| 557 |
n4h8:/usr/src/aoe6-20# grep major-152 /etc/modprobe.d/aliases || \ |
|---|
| 558 |
cat /etc/modprobe.conf >> /etc/modprobe.d/aliases |
|---|
| 559 |
n4h8:/usr/src/aoe6-20# rm /etc/modprobe.conf |
|---|
| 560 |
n4h8:/usr/src/aoe6-20# modprobe aoe |
|---|
| 561 |
|
|---|
| 562 |
|
|---|
| 563 |
n4h9:/usr/src# cd /usr/src |
|---|
| 564 |
n4h9:/usr/src# wget http://www.coraid.com/support/linux/aoe6-20.tar.gz |
|---|
| 565 |
n4h9:/usr/src# tar -xzvf aoe6-20.tar.gz |
|---|
| 566 |
n4h9:/usr/src# cd aoe6-20 |
|---|
| 567 |
n4h9:/usr/src/aoe6-20# aoeopts=" |
|---|
| 568 |
KDIR=/usr/src/xen-3.0-testing-8270.hg/linux-2.6.12-xen0 |
|---|
| 569 |
INSTDIR=/lib/modules/2.6.12.6-xen0/kernel/drivers/block/aoe |
|---|
| 570 |
N_DEV_SHELVES=15 |
|---|
| 571 |
AOE_PARTITIONS=1 |
|---|
| 572 |
" |
|---|
| 573 |
n4h9:/usr/src/aoe6-20# make $aoeopts |
|---|
| 574 |
n4h9:/usr/src/aoe6-20# find /lib/modules/2.6.12.6-xen0 -name aoe.ko -print0 | xargs -0 rm |
|---|
| 575 |
n4h9:/usr/src/aoe6-20# touch /etc/modprobe.conf |
|---|
| 576 |
n4h9:/usr/src/aoe6-20# make install $aoeopts |
|---|
| 577 |
n4h9:/usr/src/aoe6-20# grep major-152 /etc/modprobe.d/aliases || \ |
|---|
| 578 |
cat /etc/modprobe.conf >> /etc/modprobe.d/aliases |
|---|
| 579 |
n4h9:/usr/src/aoe6-20# rm /etc/modprobe.conf |
|---|
| 580 |
n4h9:/usr/src/aoe6-20# modprobe aoe |
|---|
| 581 |
n4h9:/usr/src/aoe6-20# mkfs /dev/etherd/e8.1 |
|---|
| 582 |
n4h9:/usr/src/aoe6-20# mkdir /mnt/e8.1 |
|---|
| 583 |
n4h9:/usr/src/aoe6-20# mount /dev/etherd/e8.1 /mnt/e8.1 |
|---|
| 584 |
n4h9:/usr/src/aoe6-20# bonnie -u root -d /mnt/e8.1 |
|---|
| 585 |
n4h9,300M,6045,97,19776,30,10169,12,6260,97,24690,11,167.1,0,16,556,99,+++++,+++,+++++,+++,565,99,+++++,+++,2278,96 |
|---|
| 586 |
|
|---|
| 587 |
n4h8:/usr/src/vblade-10# ./vblade 8 1 peth0 /dev/sdb |
|---|
| 588 |
|
|---|
| 589 |
n4h9:/usr/src# wget http://www.coraid.com/support/linux/aoe6-21.tar.gz |
|---|
| 590 |
n4h9:/usr/src# tar -xzvf aoe6-21.tar.gz |
|---|
| 591 |
n4h9:/usr/src# cd aoe6-21 |
|---|
| 592 |
n4h9:/usr/src/aoe6-21# aoeopts=" |
|---|
| 593 |
KDIR=/usr/src/xen-3.0-testing-8270.hg/linux-2.6.12-xen0 |
|---|
| 594 |
INSTDIR=/lib/modules/2.6.12.6-xen0/kernel/drivers/block/aoe |
|---|
| 595 |
N_DEV_SHELVES=15 |
|---|
| 596 |
AOE_PARTITIONS=1 |
|---|
| 597 |
" |
|---|
| 598 |
n4h9:/usr/src/aoe6-21# make $aoeopts |
|---|
| 599 |
n4h9:/usr/src/aoe6-21# find /lib/modules/2.6.12.6-xen0 -name aoe.ko -print0 | xargs -0 rm |
|---|
| 600 |
n4h9:/usr/src/aoe6-21# touch /etc/modprobe.conf |
|---|
| 601 |
n4h9:/usr/src/aoe6-21# make install $aoeopts |
|---|
| 602 |
n4h9:/usr/src/aoe6-21# grep major-152 /etc/modprobe.d/aliases || \ |
|---|
| 603 |
cat /etc/modprobe.conf >> /etc/modprobe.d/aliases |
|---|
| 604 |
n4h9:/usr/src/aoe6-21# rm /etc/modprobe.conf |
|---|
| 605 |
n4h9:/usr/src/aoe6-21# modprobe aoe |
|---|
| 606 |
n4h9:/usr/src/aoe6-21# mkfs /dev/etherd/e8.1 |
|---|
| 607 |
n4h9:/usr/src/aoe6-21# mkdir /mnt/e8.1 |
|---|
| 608 |
n4h9:/usr/src/aoe6-21# mount /dev/etherd/e8.1 /mnt/e8.1 |
|---|
| 609 |
n4h9:/usr/src/aoe6-21# bonnie -u root -d /mnt/e8.1 |
|---|
| 610 |
|
|---|
| 611 |
n4h9:~# apt-get install reiserfsprogs # using reiser didn't help |
|---|
| 612 |
|
|---|
| 613 |
n4h8:~# /usr/src/vblade-10/vblade 8 1 eth0 /dev/sdb |
|---|
| 614 |
n4h9:~# while true; do dd if=/dev/zero of=/dev/etherd/e8.1 bs=1M count=$i; dd if=/dev/etherd/e8.1 of=/dev/null bs=1M count=$i; i=$(( $i * 2 )); done |
|---|
| 615 |
|
|---|
| 616 |
hangs reading 215M |
|---|
| 617 |
|
|---|
| 618 |
reboot both n4h8 and n4h9, set dom0_mem=700000 |
|---|
| 619 |
|
|---|
| 620 |
n4h8:~# /usr/src/vblade-10/vblade 8 1 eth0 /dev/sdb |
|---|
| 621 |
n4h9:~# while true; do dd if=/dev/zero of=/dev/etherd/e8.1 bs=1M count=$i; dd if=/dev/etherd/e8.1 of=/dev/null bs=1M count=$i; i=$(( $i * 2 )); done |
|---|
| 622 |
|
|---|
| 623 |
works!!! finished 4G before I killed it |
|---|
| 624 |
ah -- ian blenke was using dom0_mem=256000 |
|---|
| 625 |
|
|---|
| 626 |
reboot n4h8 @ dom0_mem=786432 |
|---|
| 627 |
reboot n4h9 @ dom0_mem=65536 |
|---|
| 628 |
|
|---|
| 629 |
bonnie |
|---|
| 630 |
|
|---|
| 631 |
|
|---|
| 632 |
reboot n4h8 @ dom0_mem=262144 |
|---|
| 633 |
reboot n4h9 @ dom0_mem=65536 |
|---|
| 634 |
|
|---|
| 635 |
ok, finished 1G before I killed it |
|---|
| 636 |
but bonnie still hangs |
|---|
| 637 |
|
|---|
| 638 |
reboot n4h8 @ dom0_mem=524288 |
|---|
| 639 |
reboot n4h9 @ dom0_mem=65536 |
|---|
| 640 |
|
|---|
| 641 |
bonnie still hangs |
|---|
| 642 |
|
|---|
| 643 |
|
|---|
| 644 |
n4h8:/etc/rc2.d# mv S90xend xS90xend |
|---|
| 645 |
boot with dom0_mem=655360 |
|---|
| 646 |
|
|---|
| 647 |
|
|---|
| 648 |
/usr/src/vblade-10/vblade 8 1 eth0 /dev/sdb |
|---|
| 649 |
|
|---|
| 650 |
modprobe aoe |
|---|
| 651 |
i=1; while true; do dd if=/dev/zero of=/dev/etherd/e8.1 bs=1M count=$i; dd if=/dev/etherd/e8.1 of=/dev/null bs=1M count=$i; i=$(( $i * 2 )); done |
|---|
| 652 |
|
|---|
| 653 |
|
|---|
| 654 |
modprobe aoe |
|---|
| 655 |
sleep 1 |
|---|
| 656 |
fsck /dev/etherd/e8.1 |
|---|
| 657 |
mount /dev/etherd/e8.1 /mnt/e8.1 |
|---|
| 658 |
bonnie -u root -d /mnt/e8.1 |
|---|
| 659 |
|
|---|
| 660 |
|
|---|
| 661 |
modprobe aoe |
|---|
| 662 |
mkfs /dev/etherd/e8.1 |
|---|
| 663 |
mkdir -p /mnt/e8.1 |
|---|
| 664 |
mount /dev/etherd/e8.1 /mnt/e8.1 |
|---|
| 665 |
bonnie -u root -d /mnt/e8.1 |
|---|
| 666 |
|
|---|
| 667 |
|
|---|
| 668 |
|
|---|
| 669 |
|
|---|
| 670 |
|
|---|
| 671 |
|
|---|
| 672 |
|
|---|
| 673 |
********** |
|---|
| 674 |
|
|---|
| 675 |
depmod 2.6.12.6-xen |
|---|
| 676 |
mkinitrd -v -f --with=aic7xxx --with=sd_mod --with=scsi_mod initrd-2.6.12.6-xen.img 2.6.12.6-xen |
|---|
| 677 |
update grub |
|---|
| 678 |
|
|---|
| 679 |
|
|---|
| 680 |
upgrade XXXX to xen 3.X, test, isconf ci |
|---|
| 681 |
|
|---|
| 682 |
okay, there were two problems: |
|---|
| 683 |
grant table initialization missing in xen testing dmesg |
|---|
| 684 |
need noapic |
|---|
| 685 |
|
|---|
| 686 |
n4h6: re-image, remove link |
|---|
| 687 |
n4h7: re-image, remove link |
|---|
| 688 |
n4h8: re-image, remove link |
|---|
| 689 |
n4h9: re-image, remove link |
|---|
| 690 |
|
|---|
| 691 |
|
|---|
| 692 |
|
|---|
| 693 |
isconf up and apt-get update n4h5, cut new image |
|---|
| 694 |
add aoe |
|---|
| 695 |
add evms |
|---|
| 696 |
add heartbeat |
|---|
| 697 |
checkpoint image |
|---|
| 698 |
storage stress tests |
|---|
| 699 |
failover tests |
|---|
| 700 |
|
|---|
| 701 |
|
|---|
| 702 |
* try building xen with 2.6.14.6 |
|---|
| 703 |
* fallback to 2.6.14 |
|---|
| 704 |
* fallback to 2.6.12.6 |
|---|
| 705 |
|
|---|
| 706 |
|
|---|
| 707 |
|
|---|
| 708 |
figure out why can't log in via console getty |
|---|
| 709 |
get serial port working during install or shut it off in pxelinux.cfg |
|---|
| 710 |
fix krb fallthrough on console -- root broken, why does stevegt work? |
|---|
| 711 |
|
|---|
| 712 |
|
|---|
| 713 |
xenctl design -- see journal notes |
|---|
| 714 |
resolve whether xenctl is per-pod or global |
|---|
| 715 |
should xenctl head be dhcp, dns pri, and systemimager box as well? |
|---|
| 716 |
how about router too? |
|---|
| 717 |
|
|---|
| 718 |
xenctl implementation |
|---|
| 719 |
|
|---|
| 720 |
create dedicated dhcp, dns, and si server(s) for xen infra |
|---|
| 721 |
per pod? global? |
|---|
| 722 |
|
|---|
| 723 |
|
|---|
| 724 |
migrate pod1 to dedicated segment |
|---|
| 725 |
set up tftp server per pod |
|---|
| 726 |
|
|---|
| 727 |
|
|---|
| 728 |
move all xen guests to pod 1 |
|---|
| 729 |
|
|---|
| 730 |
migrate cdint.com |
|---|
| 731 |
migrate joycect.com |
|---|
| 732 |
migrate isconf.org |
|---|
| 733 |
|
|---|
| 734 |
get SSL cert |
|---|
| 735 |
|
|---|
| 736 |
monitoring |
|---|
| 737 |
ssh interface |
|---|
| 738 |
web page |
|---|
| 739 |
live |
|---|
| 740 |
google ads |
|---|
| 741 |
|
|---|
| 742 |
ads: |
|---|
| 743 |
google.com |
|---|
| 744 |
linux.org |
|---|
| 745 |
kuro5hin.org |
|---|
| 746 |
http://www.postgresql.org/sponsor.html |
|---|
| 747 |
http://www.oreillynet.com/pub/a/mediakit/adcontact.html |
|---|
| 748 |
http://phpnuke.org/modules.php?name=Advertising&op=pricing |
|---|
| 749 |
http://codewalkers.com/advertising.php |
|---|
| 750 |
http://lwn.net/op/FAQ.lwn#textads |
|---|
| 751 |
|
|---|