Skip to main content

Home/ ProGauge SCADA/ Group items tagged drive

Rss Feed Group items tagged

Kevin Mershon

Installing XenServer Tools on Ubuntu 10.04 - 0 views

  • Create a VM from the Other install media template
  • Attach the Ubuntu 10.04 ISO to the DVD drive of the VM
  • Start the VM
  • ...19 more annotations...
  • At the disk partitioning stage make sure to replace Ext4 with Ext3, or create a specific boot partition with Ext3
  • Select at least the OpenSSH server package to be able to log in to the VM remotely
  • Finish installation and boot the VM
  • Connect to the VM using SSH
  • sudo cp /etc/init/tty1.conf /etc/init/hvc0.conf sudo vi /etc/init/hvc0.conf
  • Replace all occurrences of tty1 with hvc0
  • Read /boot/grub/grub.cfg
  • Copy the contents of menuentry near the bottom to a temporary text file, to be used as input for the makepv.sh script that we will use later on menuentry 'Ubuntu, with Linux 2.6.32-21-server' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,1)' search --no-floppy --fs-uuid --set 02899ea9-1876-4e7b-8ef8-2b09b598cedb linux /boot/vmlinuz-2.6.32-21-server root=UUID=02899ea9-1876-4e7b-8ef8-2b09b598cedb ro quiet initrd /boot/initrd.img-2.6.32-21-server }
  • Make special note of /boot/vmlinuz…, root=UUID=… and /boot/initrd.img…
  • Shutdown the VM
  • Connect to the XenServer host with SSH
  • Run the makepv.sh script, replacing my-vm-name with the actual name of your VM
  • Boot the VM and log in with SSH
  • In XenCenter, attach xs-tools.iso to the DVD drive of the VM
  • sudo mount /dev/cdrom1 /mnt sudo dpkg -i /mnt/Linux/xe-guest-utilities_5.5.0-466_amd64.deb sudo umount /mnt
  • In XenCenter, detach xs-tools.iso from the DVD drive of the VM (this ensures that XenServer does not complain about too many bootable devices)
  • Reboot the VM and log in with SSH
  • sudo update-rc.d -f xe-linux-distribution remove sudo update-rc.d xe-linux-distribution defaults
  • Reboot the VM for the last time
Kevin Mershon

Mapping Objects to Relational Databases: O/R Mapping In Detail - 0 views

  • One table per class Easy to understand because of the one-to-one mapping.  Supports polymorphism very well as you merely have records in the appropriate tables for each type.  Very easy to modify superclasses and add new subclasses as you merely need to modify/add one table. Data size grows in direct proportion to growth in the number of objects.   There are many tables in the database, one for every class (plus tables to maintain relationships).  Potentially takes longer to read and write data using this technique because you need to access multiple tables.  This problem can be alleviated if you organize your database intelligently by putting each table within a class hierarchy on different physical disk-drive platters (this assumes that the disk-drive heads all operate independently).  Ad-hoc reporting on your database is difficult, unless you add views to simulate the desired tables. When there is significant overlap between types or when changing types is common.
    • Kevin Mershon
       
      This is how the Prime schema currently works, and likely how it should stay.
Kevin Mershon

openSUSE:SUSE Studio Disc Image Howtos - openSUSE - 0 views

  • sudo dd if=/home/suse/myappliance.raw of=/dev/sdb bs=4k conv=fdatasync
1 - 3 of 3
Showing 20 items per page