Posts By :

Roderick Derks

HP-UX Job Queues (Load Average) 150 150 Roderick Derks

HP-UX Job Queues (Load Average)

Job Queues 

The job queue monitor checks the average number of processes that have been waiting for CPU and performing disk I/O over the last 1, 5, or 15 minutes. A value of 4 in /system/jobQueue5Min means that at the time of polling there was an average of 4 jobs in the queue over the last 5 minutes.

The MIB variables computerSystemAvgJobs1, computerSystemAvgJobs5, and computerSystemAvgJobs15 from the hp-unix MIB provides the resource value to the monitor.

To verify the load averages on the system, use the uptime (1) command.

Table 7-3 Interpreting Job Queues

Resource Name

Value Range

Interpretation

/system/jobQueue1Min

integer

average number of jobs in the queue in the last minute

/system/jobQueue5Min

integer

average number of jobs in the queue in the last 5 minutes

/system/jobQueue15Min

integer

average number of jobs in the queue in the last 15 minutes

 

The minimum polling interval is 30 seconds. Unless your system load tends to fluctuate wildly and need load-balancing attention frequently, set a polling interval greater than or equal to the job queue interval: 1, 5, and 15 minutes, respectively.

 

Table 7-5 Examples of System Resource Requests

To be alerted when…

Resources to monitor Monitoring Parameters

Notify

Value

Option

fewer than 5 users are on the node, for running backups

/system/numUsers

when value is

<

5

 

more than 20 users are on the node, for load balancing, and when value returns to below 20 users

/system/numUsers

when value is

>

20

RETURN

system load is high

/system/
jobQueue1Min

when value is

>

7

INITIAL

/system/
jobQueue5Min

when value is

>

4

INITIAL

/system/
jobQueue15Min

when value is

>

3

INITIAL

file systems are running out of space

/system/filesystem/availMb for:
/home
/opt
/root
/stand
/tmp
/usr
/var

when value is

<

50

INITIAL

VMware: Install VMware tools on FC6 guest 150 150 Roderick Derks

VMware: Install VMware tools on FC6 guest

Here is your guide for installing vmware tools on you linux host. I used Fedora Core 6 on the host. Other linux distributions may have different install methodes.

When the VMware tools are installed the VMware server software is able to communicate with the guest. You're able to stop the server from the hosts commandline so you can script complete server backups. And when you shut down the host, the guest os can be shut down first in a correct way. If you have X-Windows installed (or when you are running Windows) you'll see that the performance of the graphics are also much better.

read more

VMware server on a Fedora Core 6 host 150 150 Roderick Derks

VMware server on a Fedora Core 6 host

Installing VMWare server on a Fedora Core 6 host is a pretty simple procedure. There is one bug though. Follow the guidelines and you'll get there. No sweat. Virtualisation will give you a lot of fun. It's my favorite software.. except for Space Invaders. 

read more

NFS setup 150 150 Roderick Derks

NFS setup

Let's setup NFS!
read more

Linux: howto mount iso files 150 150 Roderick Derks

Linux: howto mount iso files

# mkdir /mnt/iso
# mount -o loop -t iso9660 FC3-i386-disc1.iso /mnt/iso

Joomla: howto setup SEO/SEF 150 150 Roderick Derks

Joomla: howto setup SEO/SEF

Using the Artio JoomSEF module I changed my URL's so that the human species can understand them. And also Google likes these much more.

It took a while to get things working, but I finally did it. And so I deserved my beer for today.

read more

Debian Linux: kernel update 150 150 Roderick Derks

Debian Linux: kernel update

First login to your Debian machine on the command line as root. Install the prerequisites that we need to compile the new kernel:
#apt-get install kernel-package ncurses-dev fakeroot wget bzip2

Then go to /usr/src:
#cd /usr/src

Then get the latest Linux kernel source (or the kernel source you need) from    http://www.kernel.org/pub/linux/kernel/v2.6/
#wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.17.13.tar.bz2

Unpack the kernel sources:
#tar xjf linux-2.6.17.13.tar.bz2
#cd linux-2.6.17.13/

It is normally a good idea to take the configuration of your existing  kernel 2.6 as a starting point for the configuration of your new kernel. Usually the current kernel configuration is saved in a file under /boot, e.g. /boot/config-2.6.12. We will load this configuration and then do the changes we desire

#make menuconfig

Select Load an Alternate Configuration File and enter the location of the configuration file of your current kernel.

The configuration of your current kernel will be loaded, and you can now browse through the menu and change the configuration to suit your needs. When you are finished, save your new kernel configuration

Then run the following commands (please note that make dep is not needed any more for kernel 2.6):
#make-kpkg clean
#fakeroot make-kpkg –revision=custom.1.0 kernel_image

If the compilation stops with an error, run
#make clean

and then re-run the previous commands starting with
#make menuconfig

Change the kernel configuration where the error occurs. If no error occurs you will find the new kernel as a Debian package called kernel-image-2.6.17.13_custom.1.0_i386.deb under /usr/src.
#cd ../

Now you have to install some packages that are needed by kernel 2.6. Add the following line to /etc/apt/sources.list:

deb http://www.backports.org/debian/ sarge-backports main contrib
Then run:
#apt-get update
#apt-get install module-init-tools initrd-tools procps

If you are asked the following question:

"If you really want to remove modutils type 'yes':"

type yes.

It might also be necessary to update packages like bind9, quota, etc. – depending on your configuration. If you have problems with your existing packages try to get the appropriate package from www.backports.org.

Install your new kernel:
#dpkg -i kernel-image-2.6.17.13_custom.1.0_i386.deb

Create a ramdisk of your new kernel (otherwise your system will most likely not boot):

#cd /boot/
#mkinitrd -o /boot/initrd.img-2.6.17.13 2.6.17.13

We are almost finished now. We now have to edit the bootmanager.

LILO:
Edit the image=/vmlinuz stanza of your /etc/lilo.conf and add the line initrd=/boot/initrd.img-2.6.14.5:
# Boot up Linux by default.
#
default=Linux

image=/vmlinuz
label=Linux
read-only
initrd=/boot/initrd.img-2.6.17.13
# restricted
# alias=1

Run
#lilo
to update your boot loader and reboot your machine:
#shutdown -r now

GRUB:
#vi /boot/grub/menu.list
default        5
timeout        5
color cyan/blue white/blue

title        Debian GNU/Linux, kernel 2.6.17.13
root        (hd0,2)
kernel        /boot/vmlinuz-2.6.17.13 root=/dev/hda3 ro
initrd        /boot/initrd.img-2.6.17.13
savedefault
boot

title        Debian GNU/Linux, kernel 2.6.17.13 (recovery mode)
root        (hd0,2)
kernel        /boot/vmlinuz-2.6.17.13 root=/dev/hda3 ro single
initrd        /boot/initrd.img-2.6.17.13
savedefault
boot

title        Debian GNU/Linux, kernel 2.4.27-2-386
root        (hd0,2)
kernel        /boot/vmlinuz-2.4.27-2-386 root=/dev/hda3 ro
initrd        /boot/initrd.img-2.4.27-2-386
savedefault
boot

title        Debian GNU/Linux, kernel 2.4.27-2-386 (recovery mode)
root        (hd0,2)
kernel        /boot/vmlinuz-2.4.27-2-386 root=/dev/hda3 ro single
initrd        /boot/initrd.img-2.4.27-2-386
savedefault
boot

title        Other operating systems:
root

title        Microsoft Windows XP Professional
root        (hd0,0)
savedefault
makeactive
chainloader    +1

 

Everything is ok your machine should come up with the new kernel.
#uname -a

Linux command prompt: download files from internet 150 150 Roderick Derks

Linux command prompt: download files from internet

wget -c url

  for example:

wget -c http://belnet.dl.sourceforge.net/sourceforge/sslexplorer/sslexplorer-0.2.7_02-src.tar.gz

Dual boot: grub boot loader removal 150 150 Roderick Derks

Dual boot: grub boot loader removal

If you have the XP CD cd run the recovery console and use the command fixmbr
That will rewrite the master boot record for XP.
Linux: add a new harddrive and create logical volumes 150 150 Roderick Derks

Linux: add a new harddrive and create logical volumes

Is it your dream to install linux on your system? And you fullfilled that dream? And you used Linux and the space on the disk so much that you need to add e new hard drive?

Well.. this article will help you! 

read more

    Your Name (required)

    Your Email (required)

    Subject

    Your Message

      Your Name (required)

      Your Email (required)

      Subject

      Your Message