If server has 4 GB or more memory, some operating systems may not access all of the memory. 64 bit OS are out of this subject.
Some PCI, PCI-X and PCI-Express cards use memory below 4 GB which known as PCI hole or PCI Extended Configuration Space. This space could not allocated for system memory and relocated above 4 GB. Then if the operating system is not PAE enabled or not allowed to because of limitation (like Windows Standart edition) could not use this memory location and shows less then 4 GB.
For Windows edition you can add /PAE switch to the boot.ini. (not for XP and standart edition)
For Linux
I confused, because kernel-smp (2.6) versions say that it is supporting up to 16 GB.
But You have to install bigsmp kernel instead of smp for SUSE. And i686-smp or hugemem kernels for Red Hat. (kernel-hugemem is required for memory configurations higher than 16 GB).
There is kernel-pae packeges for some distributions(Fedora, CentOS).
You can find warning message "Use a PAE enabled kernel" from output of dmesg command.
BTW There is another option that you can compile your kernel.
Friday, 18 April 2008
Thursday, 17 April 2008
Zenoss Installation Fedora 7
Zenoss requires older version of python. But Fedora 7 or later comes with newer version.
Mysql installation
------
Mysql packages
mysql-devel-5.0.37-2.fc7.i386.rpm
mysql-libs-5.0.37-2.fc7.i386.rpm
mysql-5.0.37-2.fc7.i386.rpm
perl-DBI-1.53-2.fc7.i386.rpm
mysql-server-5.0.37-2.fc7.i386.rpm
perl-DBD-MySQL-3.0008-1.fc7.i386.rpm
# chkconfig mysqld on
# service mysqld start
Give password for mysql
# /usr/bin/mysqladmin -u root password pass
Some other packages you need:
make-3.81-6.fc7
swig-1.3.31-0.fc7
autoconf-2.61-8.fc7
python installation
------
You need older version of python (2.4) for zenoss installation. You can compile and install to another path
# mkdir /opt/python/python2.4.4
# ./configure --prefix=/opt/python/python2.4.4
# make
# make install
# cd /usr/local/bin
# ln -s /opt/python/python2.4.4/bin/python
# ln -s /opt/python/python2.4.4/bin/python2.4
zenoss installation
------
# useradd zenoss
# cat /etc/passwd | grep zenoss
edit profile
cd /home/zenoss
vi .bashrc
export ZENHOME=/usr/local/zenoss
export PYTHONPATH=$ZENHOME/lib/python
export PATH=$ZENHOME/bin:$PATH
# mkdir /usr/local/zenoss
# chown zenoss /usr/local/zenoss
$ tar xvf zenoss-2.1.3.tar.gz
$ cd zenoss-2.1.3
$ ./install.sh
I got this error
AttributeError: /usr/local/zenoss/bin/python: undefined symbol: netsnmp_get_version
Solve this with installing packages below
# rpm -ivh lm_sensors-2.10.3-2.fc7.i386.rpm
# rpm -ivh net-snmp-libs-5.4-13.fc7.i386.rpm
# rpm -ivh net-snmp-5.4-13.fc7.i386.rpm
Mysql installation
------
Mysql packages
mysql-devel-5.0.37-2.fc7.i386.rpm
mysql-libs-5.0.37-2.fc7.i386.rpm
mysql-5.0.37-2.fc7.i386.rpm
perl-DBI-1.53-2.fc7.i386.rpm
mysql-server-5.0.37-2.fc7.i386.rpm
perl-DBD-MySQL-3.0008-1.fc7.i386.rpm
# chkconfig mysqld on
# service mysqld start
Give password for mysql
# /usr/bin/mysqladmin -u root password pass
Some other packages you need:
make-3.81-6.fc7
swig-1.3.31-0.fc7
autoconf-2.61-8.fc7
python installation
------
You need older version of python (2.4) for zenoss installation. You can compile and install to another path
# mkdir /opt/python/python2.4.4
# ./configure --prefix=/opt/python/python2.4.4
# make
# make install
# cd /usr/local/bin
# ln -s /opt/python/python2.4.4/bin/python
# ln -s /opt/python/python2.4.4/bin/python2.4
zenoss installation
------
# useradd zenoss
# cat /etc/passwd | grep zenoss
edit profile
cd /home/zenoss
vi .bashrc
export ZENHOME=/usr/local/zenoss
export PYTHONPATH=$ZENHOME/lib/python
export PATH=$ZENHOME/bin:$PATH
# mkdir /usr/local/zenoss
# chown zenoss /usr/local/zenoss
$ tar xvf zenoss-2.1.3.tar.gz
$ cd zenoss-2.1.3
$ ./install.sh
I got this error
AttributeError: /usr/local/zenoss/bin/python: undefined symbol: netsnmp_get_version
Solve this with installing packages below
# rpm -ivh lm_sensors-2.10.3-2.fc7.i386.rpm
# rpm -ivh net-snmp-libs-5.4-13.fc7.i386.rpm
# rpm -ivh net-snmp-5.4-13.fc7.i386.rpm
Wednesday, 16 April 2008
Solaris mpxio
I listed server and storage that I used. I do not know exact model names.
Sun Fire X4150 DGC
Sun Fire X4150 HITACHI-DF600F
Sun Fire X4150 SUN-StorEdge 3510
Sun Fire X4100 M2 HITACHI-OPEN-V*5 HITACHI-OPEN-V HITACHI-OPEN-V*14
Sun Fire X4100 M2 SUN-StorEdge 3510
Sun Fire X4100 M2 EMC-SYMMETRIX-5771
Default configuration worked for all storages above but I had to enter entries below to /kernel/drv/scsi_vhci.conf for mpxio
device-type-scsi-options-list="HITACHI DF600F", "symmetric-option";
symmetric-option = 0x1000000;
Sun Fire X4150 DGC
Sun Fire X4150 HITACHI-DF600F
Sun Fire X4150 SUN-StorEdge 3510
Sun Fire X4100 M2 HITACHI-OPEN-V*5 HITACHI-OPEN-V HITACHI-OPEN-V*14
Sun Fire X4100 M2 SUN-StorEdge 3510
Sun Fire X4100 M2 EMC-SYMMETRIX-5771
Default configuration worked for all storages above but I had to enter entries below to /kernel/drv/scsi_vhci.conf for mpxio
device-type-scsi-options-list="HITACHI DF600F", "symmetric-option";
symmetric-option = 0x1000000;
Monday, 14 April 2008
Acronis True Image for Linux
Os SUSE LINUX Enterprise Server 9 (i586)
Acronis agent for linux
upload acronis.i686 to server
chmod u+x acronis.i686
./acronis.i686 -a -i TrueImageAgent
I got this error at console but there weren't file trueimage-setup.log. I used -d switch to get details.
Acronis True Image Echo Enterprise Server Setup failed to build kernel modules. Consult /var/log/trueimage-setup.log and /var/lib/dkms/snapapi26/0.7.29/build/make.log for error messages.
./acronis.i686 -d -a -i TrueImageAgent
In the log file I saw these entries.
Error! Your kernel source for kernel 2.6.5-7.244-smp cannot be found at
/lib/modules/2.6.5-7.244-smp/build or /lib/modules/2.6.5-7.244-smp/source.
DO YOU HAVE gcc INSTALLED???
Installation program build kernel modules for application. I installed this packages for this purpose.
kernel-source-2.6.5-7.244.i586.rpm
glib-devel-1.2.10-586.2.i586.rpm
gcc-3.3.3-43.41.i586.rpm
gcc-3.3.3-43.41.i586.rpm
glibc-devel-2.3.3-98.28.i686.rpm
Acronis agent for linux
upload acronis.i686 to server
chmod u+x acronis.i686
./acronis.i686 -a -i TrueImageAgent
I got this error at console but there weren't file trueimage-setup.log. I used -d switch to get details.
Acronis True Image Echo Enterprise Server Setup failed to build kernel modules. Consult /var/log/trueimage-setup.log and /var/lib/dkms/snapapi26/0.7.29/build/make.log for error messages.
./acronis.i686 -d -a -i TrueImageAgent
In the log file I saw these entries.
Error! Your kernel source for kernel 2.6.5-7.244-smp cannot be found at
/lib/modules/2.6.5-7.244-smp/build or /lib/modules/2.6.5-7.244-smp/source.
DO YOU HAVE gcc INSTALLED???
Installation program build kernel modules for application. I installed this packages for this purpose.
kernel-source-2.6.5-7.244.i586.rpm
glib-devel-1.2.10-586.2.i586.rpm
gcc-3.3.3-43.41.i586.rpm
gcc-3.3.3-43.41.i586.rpm
glibc-devel-2.3.3-98.28.i686.rpm
Friday, 11 April 2008
Fedora 6 MythTv
Installed packages:
FreeType development package
lame package
lame-devel
avahi-qt3-devel
libXv-devel
libXxf86vm-devel
liblXmu-devel
mysql
mysql-server
qt-MYSQL
downloaded and extracted mythtv-0.21
cd mythtv-0.21
configure
make
make install
echo /usr/local/lib >> /etc/ld.so.conf
/sbin/ldconfig
chkconfig mysqld on
service mysqld start
mysql -u root < mc.sql
run mythtv-setup command and configure MythTv
FreeType development package
lame package
lame-devel
avahi-qt3-devel
libXv-devel
libXxf86vm-devel
liblXmu-devel
mysql
mysql-server
qt-MYSQL
downloaded and extracted mythtv-0.21
cd mythtv-0.21
configure
make
make install
echo /usr/local/lib >> /etc/ld.so.conf
/sbin/ldconfig
chkconfig mysqld on
service mysqld start
mysql -u root < mc.sql
run mythtv-setup command and configure MythTv
Tuesday, 8 April 2008
grub: not found or no block device
grub-install command failed
grub: not found or no block device
So I used the grub shell
# grub
grub> root (hd0,0)
grub> setup (hd0)
grub: not found or no block device
So I used the grub shell
# grub
grub> root (hd0,0)
grub> setup (hd0)
Monday, 7 April 2008
Install Linux from disk
I do not have DVD drive so I installed Linux from iso file.
Copy files
mount -o loop openSUSE-10.2-GM-DVD-i386.iso opensuse
cd opensuse
cp linux /boot/inst-linux
cp initrd /boot/inst-initrd
Edit /boot/grub/grub.conf
title Install SUSE
root (hd0,0)
kernel /boot/inst-linux
initrd /boot/inst-initrd
Drives and partitions start from 0. If your have boot filesystem as a partition change the lines "kernel inst-linux" and "initrd inst-initrd"
During installation first you choose disk then you have to type the directory and complete filename of the ISO file.
Copy files
mount -o loop openSUSE-10.2-GM-DVD-i386.iso opensuse
cd opensuse
cp linux /boot/inst-linux
cp initrd /boot/inst-initrd
Edit /boot/grub/grub.conf
title Install SUSE
root (hd0,0)
kernel /boot/inst-linux
initrd /boot/inst-initrd
Drives and partitions start from 0. If your have boot filesystem as a partition change the lines "kernel inst-linux" and "initrd inst-initrd"
During installation first you choose disk then you have to type the directory and complete filename of the ISO file.
Ip configuration files for Solaris
Create related configuration file. e1000g? are network interfaces you can find for your host via ifconfig -a
ls /etc/hostname.*
/etc/hostname.e1000g0
/etc/hostname.e1000g1
/etc/hostname.e1000g2
Entries in these files
cat hostname.e1000g0
hstnameloc
cat hostname.e1000g1
hstnamesec
cat hostname.e1000g2
hstnamereal
You have to put ip adress to hostname
cat /etc/hosts
10.210.50.69 hstnamereal loghost
192.168.20.6 hstnamesec
192.168.25.6 hstnameloc
Also to netmaks
cat /etc/netmasks
192.168.20.0 255.255.255.0
192.168.25.0 255.255.255.0
10.210.50.0 255.255.255.0
You can configure nodename which you see at the command prompt
cat /etc/nodename
hstnamereal
Virtual interface
cat /etc/hostname.e1000g0:1
hstnamevirtual
add /etc/hosts
10.210.50.70 hstnamevirtual
ls /etc/hostname.*
/etc/hostname.e1000g0
/etc/hostname.e1000g1
/etc/hostname.e1000g2
Entries in these files
cat hostname.e1000g0
hstnameloc
cat hostname.e1000g1
hstnamesec
cat hostname.e1000g2
hstnamereal
You have to put ip adress to hostname
cat /etc/hosts
10.210.50.69 hstnamereal loghost
192.168.20.6 hstnamesec
192.168.25.6 hstnameloc
Also to netmaks
cat /etc/netmasks
192.168.20.0 255.255.255.0
192.168.25.0 255.255.255.0
10.210.50.0 255.255.255.0
You can configure nodename which you see at the command prompt
cat /etc/nodename
hstnamereal
Virtual interface
cat /etc/hostname.e1000g0:1
hstnamevirtual
add /etc/hosts
10.210.50.70 hstnamevirtual
Disk monitoring via mrtg
OS Fedora 6 (I do not have dvd drive so I am still using this version)
Go through http://kbase.redhat.com/faq/FAQ_40_11143.shtm this document which his written for Red Hat.
yum install sysstat
yum instal mrtg
edit /etc/httpd/conf/httpd.conf
DocumentRoot "/var/www/html/mrtg/disk"
Start services
# service httpd start
# chkconfig httpd on
# mkdir -p /var/www/html/mrtg/disk/
edit vi /var/www/html/mrtg/disk/mrtg_disk.sh
#!/bin/bash
hd=hda
disk=/dev/$hd
UPtime=`/usr/bin/uptime |awk '{print $3""$4""$5}'`
KBread_sec=`iostat -x $disk|grep $hd |awk '{print $8}'`
KBwrite_sec=`iostat -x $disk|grep $hd |awk '{print $9}'`
echo $KBread_sec
echo $KBwrite_sec
echo $UPtime
hostname
# chmod u+x /var/www/html/mrtg/disk/mrtg_disk.sh
edit /var/www/html/mrtg/disk/mrtg_cfg_disk
WorkDir: /var/www/html/mrtg/disk
Target[disk]: `/var/www/html/mrtg/disk/mrtg_disk.sh`
Title[disk]: Disk HDA I/O Utilization Report
#Unscaled[disk]: dwym
MaxBytes[disk]: 10240000
PageTop[disk]:
kmg[disk]: KB,MB,GB
LegendI[disk]: Disk I/O KBread/sec
LegendO[disk]: Disk I/O KBwrite/sec
Legend1[disk]: Disk I/O KBread/sec
Legend2[disk]: Disk I/O KBwrite/sec
YLegend[disk]: Megabytes
ShortLegend[disk]: &
Options[disk]: growright,gauge,nopercent
edit crontab
*/3 * * * * /usr/bin/mrtg /var/www/html/mrtg/disk/mrtg_cfg_disk
Go through http://kbase.redhat.com/faq/FAQ_40_11143.shtm this document which his written for Red Hat.
yum install sysstat
yum instal mrtg
edit /etc/httpd/conf/httpd.conf
DocumentRoot "/var/www/html/mrtg/disk"
Start services
# service httpd start
# chkconfig httpd on
# mkdir -p /var/www/html/mrtg/disk/
edit vi /var/www/html/mrtg/disk/mrtg_disk.sh
#!/bin/bash
hd=hda
disk=/dev/$hd
UPtime=`/usr/bin/uptime |awk '{print $3""$4""$5}'`
KBread_sec=`iostat -x $disk|grep $hd |awk '{print $8}'`
KBwrite_sec=`iostat -x $disk|grep $hd |awk '{print $9}'`
echo $KBread_sec
echo $KBwrite_sec
echo $UPtime
hostname
# chmod u+x /var/www/html/mrtg/disk/mrtg_disk.sh
edit /var/www/html/mrtg/disk/mrtg_cfg_disk
WorkDir: /var/www/html/mrtg/disk
Target[disk]: `/var/www/html/mrtg/disk/mrtg_disk.sh`
Title[disk]: Disk HDA I/O Utilization Report
#Unscaled[disk]: dwym
MaxBytes[disk]: 10240000
PageTop[disk]:
Disk I/O Utilization Report
kmg[disk]: KB,MB,GB
LegendI[disk]: Disk I/O KBread/sec
LegendO[disk]: Disk I/O KBwrite/sec
Legend1[disk]: Disk I/O KBread/sec
Legend2[disk]: Disk I/O KBwrite/sec
YLegend[disk]: Megabytes
ShortLegend[disk]: &
Options[disk]: growright,gauge,nopercent
edit crontab
*/3 * * * * /usr/bin/mrtg /var/www/html/mrtg/disk/mrtg_cfg_disk
Thursday, 3 April 2008
Sun System Handbook
http://sunsolve.sun.com/handbook_private
You can find support matrix, info docs etc.
You need user to access this site
You can find support matrix, info docs etc.
You need user to access this site
Hp, Windows Server 2003 support matrix
HP Windows Server Operating System Support Matrix
http://h71028.www7.hp.com/enterprise/cache/461942-0-0-0-121.html
Microsoft Windows Server 2003 matrix
http://www.microsoft.com/technet/windowsserver/evaluate/features/compare.mspx
Switches to enable more memory for Windows
boot.ini
/3GB /PAE
http://www.microsoft.com/whdc/system/platform/server/pae/default.mspx
http://www.microsoft.com/whdc/system/platform/server/PAE/pae_os.mspx
http://www.microsoft.com/whdc/system/platform/server/PAE/PAEmem.mspx
http://h71028.www7.hp.com/enterprise/cache/461942-0-0-0-121.html
Microsoft Windows Server 2003 matrix
http://www.microsoft.com/technet/windowsserver/evaluate/features/compare.mspx
Switches to enable more memory for Windows
boot.ini
/3GB /PAE
http://www.microsoft.com/whdc/system/platform/server/pae/default.mspx
http://www.microsoft.com/whdc/system/platform/server/PAE/pae_os.mspx
http://www.microsoft.com/whdc/system/platform/server/PAE/PAEmem.mspx
Subscribe to:
Posts (Atom)