Skip to main content

Home/ Groups/ ProGauge SCADA
Kevin Mershon

FlakRat's Rat House: Fedora 16 Gnome Terminal Redraw Doesn't Always Completely Render - 0 views

  • export CLUTTER_DEBUG=disable-culling export CLUTTER_PAINT=disable-clipped-redraws:disable-culling
  •  
    Add these lines to your /etc/gdm/Xsession and ~/.bash_profile, then reboot.
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
Kevin Mershon

@blink4blog: Fedora 16 : Use XScreensaver Instead of GNOME Screensaver - 0 views

  • remove gnome-screensaver
  • ensure your desktop key to lock the desktop works with xscreensaver: $ sudo ln -s /usr/bin/xscreensaver-command /usr/bin/gnome-screensaver-command
Kevin Mershon

What is node.js? - 0 views

  • a crappier nginx with ten times the hype
Kevin Mershon

Tips for XenServer Stability - 0 views

  • There's a timeout parameter used by NTP that if things get out of sync by too much, it won't sync them at all.
  • The default is something low, I think just 128 msec, which is pretty small under some circumstances.
  • edit the /etc/sysconfig/ntpd on the control VM to sync hardware. Default is no. Once done, please cycle ntpd. You will see an extra line for hardware clock. If possible, all VMs and XenServer should use a local physical time server.
    • Kevin Mershon
       
      Changing the system clock settings does not seem to have had any effect on the server's behavior.
  • ...1 more annotation...
  • if you have 4 VCPUs assigned to a guest, the guest would need to wait until 4 cores (physical) are free before it can access the CPU directly
Kevin Mershon

How to remount root filesystem - 0 views

  • sudo mount -o remount,rw /
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

How to fix VM "pending" state on XenServer - 0 views

  • xe task-list to view the Pending tasks
  • xe task-cancel force=true uuid=<UUID> to cancel a specific task
Kevin Mershon

Disable kernel's irq balance feature - 0 views

  • Add 'noirqbalance' (w/o the quotes) to your kernel cmd-line.
  • kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/241459a4-d4b5-42cf-a30f-4c6bc0120d1d resume=/dev/sda5 ro vga=792 noirqbalance quiet
Kevin Mershon

Monit: Monitor SSHD Server and Auto Restart SSH If It Does Not Respond - 0 views

  • /etc/monit/monitrc
  • check process sshd with pidfile /var/run/sshd.pid start program "/etc/init.d/ssh start" stop program "/etc/init.d/ssh stop" if failed port 22 protocol ssh then restart
Kevin Mershon

Git - easy way pull latest of all submodules - 0 views

  • git submodule foreach git pull origin master
Kevin Mershon

Re: [monit] Monit 5.0.2 question - 0 views

  • The problem is that there is no reliable way how to get correct FQDN. There is unreliable interface getdomainname() which returns on many platforms empty string or often default domains like "localdomain", "mydomain" when no other specific domain was set during system installation. The getdomainname() takes the value on some platforms from sysctl, on other platforms from file in /etc/ and on other platforms it's completely ignored. The name service lookup is not reliable as well - it depends on how the name service was set (usually NSS switch uses local files first which often have the shortname in front of longname for the given IP address and thus return often shortname first).
  • set mailserver foo.bar.baz using hostname "my.monit.host"
Kevin Mershon

MySQL database on Linux Tutorial - 0 views

  • One may manually initialize the database with the command: /usr/bin/mysql_install_db Creates system tables in /var/lib/mysql/mysql/ Only execute the first time MySQL is installed. Databases located in: /var/lib/mysql/
Kevin Mershon

Gnome Shell Left-Handed Mouse Pointer - FedoraForum.org - 0 views

  • Create a directory called 'default' in ~/.icons then create a file called 'index.theme' with the following: [Index Theme] Name = Default Inherits = your-theme-name Where 'your-theme-name' is the name of the cursor theme you want to use (You'll have to change it if you change your cursor theme with gnome-tweak-tool again)
Kevin Mershon

[#GRAILS-3138] Use a separate sequence for each table - Grails JIRA - 0 views

  • define "id generator:'sequence', params:[sequence:'mydomain_id_sequence']" on each of your domain classes.
‹ Previous 21 - 40 Next › Last »
Showing 20 items per page