<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6045366630187388752</id><updated>2012-01-29T17:23:08.212+02:00</updated><category term='query Active Directory from Linux'/><category term='password expiration info'/><category term='rpcclient'/><category term='sysctl'/><category term='mac-address'/><category term='cli'/><category term='ltsp'/><category term='balticmaps.eu'/><category term='Latvijas karte'/><category term='rrdtools'/><category term='snmpwalk'/><category term='mount.cifs'/><category term='gpxe'/><category term='bash'/><category term='klonēšana'/><category term='computer cloning'/><category term='datorklase'/><category term='pam-mount'/><category term='switch'/><category term='iozone'/><category term='sysprep'/><category term='VMware benchmarking with Linux kernel compilation test'/><category term='gateway'/><category term='foto'/><category term='Linux software RAID benchmarks'/><category term='Latvijas trafika skaitīšana'/><category term='iscsi'/><category term='Latvijas aerofotokarte'/><category term='WLAN'/><category term='samba'/><category term='routing'/><category term='snmp'/><category term='imagemagick'/><category term='open-iscsi benchmarks'/><category term='firewall'/><category term='iptables'/><category term='get Windows epoch time in Linux'/><category term='asus WL-320gP'/><category term='AD'/><category term='fsarchive'/><category term='kerberos'/><category term='barcode'/><title type='text'>kursa</title><subtitle type='html'>Datorlietas, Atvērtā koda lietas, datortīkli</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://kursa.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>33</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-4975673387740233579</id><published>2011-10-14T16:19:00.001+03:00</published><updated>2011-10-14T16:21:25.616+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cli'/><category scheme='http://www.blogger.com/atom/ns#' term='barcode'/><title type='text'>Svītru kodi komandrindas režīmā</title><summary type='text'>Ģenerājam PS failu ar svītru kodiem, kas atrodas failā kodi.txt.barcode -i kodi.txt -e code39 -o mee.ps  -t  7x18+5+18-5-10 -u mm</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/4975673387740233579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/4975673387740233579'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2011/10/svitru-kodi-komandrindas-rezima.html' title='Svītru kodi komandrindas režīmā'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-9131242711310438357</id><published>2011-07-31T17:12:00.004+03:00</published><updated>2011-07-31T17:19:31.730+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bash'/><category scheme='http://www.blogger.com/atom/ns#' term='imagemagick'/><title type='text'>How to create PDF photo album with ImageMagick</title><summary type='text'>rinda=""; a=1 ; p=1 ; for fails in ./*JPG    do    rinda=$rinda" "$fails[200x150]     a=$(($a+1))        if [ $a == 37 ]       then        echo "processing $p set"          montage -label '%f' -tile 6x  $rinda  -page A4 index-$p.pdf         a=1 ; p=$(($p+1)) ; rinda=""        fi     done echo "processing last set"montage -label '%f'  $rinda  -page A4 index-$p.pdfUpdate OMG. The following simple </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/9131242711310438357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/9131242711310438357'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2011/07/how-to-create-pdf-photo-album-with.html' title='How to create PDF photo album with ImageMagick'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-6364516652173586570</id><published>2011-07-15T09:29:00.003+03:00</published><updated>2011-07-15T09:44:36.786+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ltsp'/><title type='text'>DHCP kļūda pie LTSP instalēšanas</title><summary type='text'>Vasarā lēnām migrējam serverus uz jaunām versijām un virtuālām mašīnām.Pēc DHCP servera pārcelšanas no Debian Etch uz Debian Squeeze vairs nestartējās LTSP mašīnas - LTSP Etherboot saņem gan IP adresi gan PXE, bet tālāk turpinot ielādi - apstājas.Ar Wireshark tika noskaidrots, ka "vainīgais" ir atkārtots DHCP pieprasījums no LTSP klienta. Ja DHCPD3 uz Etch deva atpakaļ pieprasītos datus, tad </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/6364516652173586570'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/6364516652173586570'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2011/07/dhcp-kluda-pie-ltsp-instalesanas.html' title='DHCP kļūda pie LTSP instalēšanas'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-3474666240266504883</id><published>2011-05-18T08:55:00.006+03:00</published><updated>2011-05-18T09:19:43.964+03:00</updated><title type='text'>Total traffic counter from MRTG log files</title><summary type='text'>Script to count total traffic for last day for switch port from MRTG log files, and output file name, if total traffic is more than 10GB.# periodsakums=`date -d -1day +%s`# 1GBttrafic=$((1024*1024*1024))pushd /var/www/mrtgfor fails in `find *log -mtime -1`do tail -n +4 $fails |  awk -vsakums=$sakums -vfails=$fails   -vttrafic=$ttrafic '{ if ($1 &gt; sakums)      {intr += ($2*300); outtr += ($3*300) </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/3474666240266504883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/3474666240266504883'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2011/05/total-traffic-counter-from-mrtg-log.html' title='Total traffic counter from MRTG log files'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-8696483407890953988</id><published>2010-12-04T14:08:00.009+02:00</published><updated>2010-12-06T19:26:18.131+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='iozone'/><title type='text'>Dell PERC H700 RAID kontroliera testi</title><summary type='text'>RAID kontrolieris: LSI MegaSAS 9260Failu serveris: 8GB RAMEXT4 Failu sistēmaKontroliera RAID policy - write back (tāpēc "izcili" rakstīšanas ātrumi)RAID5:11 diski *1,5TB SATA 7200Command line used: iozone -i0 -i1 -i2 -c -e -a -n 4g -g 16g -y 2048 -s 2048 -q 8192 -f /media/iozone                                                           random  random             KB  reclen   write rewrite    read</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/8696483407890953988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/8696483407890953988'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2010/12/dell-perc-h700-raid-kontroliera-testi.html' title='Dell PERC H700 RAID kontroliera testi'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-3441902260891695824</id><published>2010-10-22T17:47:00.004+03:00</published><updated>2010-10-22T18:09:10.138+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='snmp'/><category scheme='http://www.blogger.com/atom/ns#' term='WLAN'/><title type='text'>DWL-2100AP klienti un pārstartēšana</title><summary type='text'>DWL-2100AP klientus var skatīt ar komandu: snmpbulkwalk -v2c -c public IPADRESE .1.3.6.1.4.1.171.11.37.4.4.5.2.1.2.1Vai arī varam novilkt visus mib, piem., no ftp://ftp.dlink.ru/pub/Wireless/DWL-2100AP/SNMP/ un komanda:snmpbulkwalk -v2c -c public -m ./mibs/  IPADRESE  AP-Config::adClientMACAP pārstartēšanu savukārt veic ar komandu: snmpset -v2c -c private  IPADRESE </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/3441902260891695824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/3441902260891695824'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2010/10/dwl-2100ap-klienti.html' title='DWL-2100AP klienti un pārstartēšana'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-2858604530838971693</id><published>2010-08-13T12:19:00.006+03:00</published><updated>2010-08-13T13:06:04.276+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gpxe'/><category scheme='http://www.blogger.com/atom/ns#' term='datorklase'/><category scheme='http://www.blogger.com/atom/ns#' term='fsarchive'/><category scheme='http://www.blogger.com/atom/ns#' term='ltsp'/><category scheme='http://www.blogger.com/atom/ns#' term='klonēšana'/><title type='text'>Dažas atziņas par datorklašu klonēšanu</title><summary type='text'>Ok, tātad esmu uzinstalējis un pārklonējis visās datorklasēs Ubuntu 10.04 (bija Ubuntu 8.04)Ubuntu10.04 instalēšanaPati instalēšanas gaita bija vienkārša:sainstalējam desktopuno iepriekšējās sistēmas ar dpkg --get-selections apskatamies vērtīgās pakotnes un dpkg --set-selections &amp;&amp; apt-get dselect-upgrade visu uzinstalējamnovācam visu lieko (indiešu fonti, akonadi u.t.t.)piekonfigurējam datoru </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/2858604530838971693'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/2858604530838971693'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2010/08/dazas-atzinas-par-datorklasu-klonesanu.html' title='Dažas atziņas par datorklašu klonēšanu'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-7273666892552312026</id><published>2010-08-10T11:31:00.002+03:00</published><updated>2010-08-10T11:35:45.357+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AD'/><category scheme='http://www.blogger.com/atom/ns#' term='rpcclient'/><category scheme='http://www.blogger.com/atom/ns#' term='kerberos'/><title type='text'>Info par lietotāju</title><summary type='text'>Interesē, piem,, info par lietotāju Peteris1) autentificējamies ar kinit2) rpcclient   -c 'querydispinfo' -k adserver | grep Peteris # Iegūstam Petera RID, piem. 10783) rpcclient   -c 'queryuser 1078' -k adserver</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/7273666892552312026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/7273666892552312026'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2010/08/info-par-lietotaju.html' title='Info par lietotāju'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-3139139115252265553</id><published>2010-07-27T19:14:00.002+03:00</published><updated>2010-07-27T19:26:57.852+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mount.cifs'/><category scheme='http://www.blogger.com/atom/ns#' term='pam-mount'/><category scheme='http://www.blogger.com/atom/ns#' term='samba'/><title type='text'>Samba 3.4 izmaiņas un montēšana</title><summary type='text'>Apgreidojot serverus saskāros ar problēmu, ka Samba 3.4+ vairs automātiski neliek klāt noklusētā domēna nosaukumu pie lietotājvārda.Un, ja agrāk komanda: mount.cifs //samba33/tstuser ./mnt --verbose -o user=tstuserdarbojās, tad no Sambas 3.4.0 versijas komandas rezultātā ir kļūda ar "Permission denied". Tiesa, komanda darbojas, ja domēns tiek norādīts:mount.cifs //samba33/tstuser ./mnt --verbose </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/3139139115252265553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/3139139115252265553'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2010/07/samba-34-izmainas-un-montesana.html' title='Samba 3.4 izmaiņas un montēšana'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-2130966669242231755</id><published>2010-07-06T21:43:00.003+03:00</published><updated>2010-07-06T21:51:49.817+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='foto'/><category scheme='http://www.blogger.com/atom/ns#' term='bash'/><category scheme='http://www.blogger.com/atom/ns#' term='imagemagick'/><title type='text'>Foto pārsaukšana</title><summary type='text'>Ar šo komandu var pārsaukt bildes, pievienojot tiem priekšā datumu.\for i in DSC*JPG ; \do mv $i  \`identify -format "%[EXIF:DateTime] %f " $i | \awk '{gsub(":","-",$0); print $1"-"tolower($3) }'` ; \done</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/2130966669242231755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/2130966669242231755'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2010/07/foto-parsauksana.html' title='Foto pārsaukšana'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-6312543167116640795</id><published>2010-06-24T15:15:00.005+03:00</published><updated>2010-06-24T15:31:41.710+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bash'/><category scheme='http://www.blogger.com/atom/ns#' term='Latvijas karte'/><category scheme='http://www.blogger.com/atom/ns#' term='imagemagick'/><title type='text'>Latvijas kartes priekš TurboGPS</title><summary type='text'>Skripts, kas savāc kartes ar visu Latviju un savāktās kartes pārsauc TurboGPS saprotamā veidā.#!/bin/bash## No cik gabaliem taisīsim lielāku karti - kartes gabaliņi tiks vilkti 1/$KarsuSkaits malu attiecībā (tā ir ātrāk)KarsuSkaits=10## Kāds būs mazās kartes platums - 500 labi pilsētām, citur pietiek ar 2000XSOLIS=2000## Kur novietosim izveidotās kartesmkdir map$XSOLISMAPDIR=map$XSOLIS## Sākums </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/6312543167116640795'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/6312543167116640795'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2010/06/latvijas-kartes-prieks-turbogps.html' title='Latvijas kartes priekš TurboGPS'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-4449165942827465434</id><published>2010-06-07T17:18:00.006+03:00</published><updated>2010-06-10T15:08:13.567+03:00</updated><title type='text'>LKS92 konvertācija uz platuma un garuma grādiem</title><summary type='text'>Konvertēt var ar proj komandu cs2cs, piemēram, Rīga (Rīgas 3. vidusskola):http://www.balticmaps.eu/?lang=lv&amp;draw_hash=jlfstt&amp;centerx=506642&amp;centery=6311466&amp;zoom=-2&amp;layer=mapecho 506642 6311466 | cs2cs +proj=tmerc +lat_0=0 +lon_0=24 +k=0.999600 +x_0=500000 +y_0=0 \+ellps=GRS80 +towgs84=-199.87,74.79,246.62,0,0,0,0 +units=m -f "%.7f"24.1091813 56.9467706 0.0000000# Vaiecho 506642 6311466 | cs2cs +</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/4449165942827465434'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/4449165942827465434'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2010/06/lks92-konvertacija-uz-platuma-un-garuma.html' title='LKS92 konvertācija uz platuma un garuma grādiem'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-8293904389915571050</id><published>2010-05-20T23:52:00.003+03:00</published><updated>2010-05-21T00:03:38.408+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='snmp'/><category scheme='http://www.blogger.com/atom/ns#' term='switch'/><category scheme='http://www.blogger.com/atom/ns#' term='snmpwalk'/><category scheme='http://www.blogger.com/atom/ns#' term='mac-address'/><title type='text'>MAC adrešu savākšana</title><summary type='text'>Skripts, kas no doto slēdžu IP adresēm nolasa visas MAC adreses un izveido sarakstu ar LAIKS SWITCHAIP PORTS MACADRESE for i in SwitchIP1 SwitchIP2 SwitchIP3do snmpbulkwalk  $i  -v2c -c public enterprises.11.2.14.2.10.5.1.3.1 -OQqn | tr : .   | while read rinda  do   awk -v  SWITCH="$i" -v  LAIKS="`date +%F-%H-%M`" -F. '{ print LAIKS"\t"SWITCH"\t"$17"\t"$24}'  donedone</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/8293904389915571050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/8293904389915571050'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2010/05/mac-adresu-savaksana.html' title='MAC adrešu savākšana'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-4009458968983504543</id><published>2010-05-06T10:00:00.006+03:00</published><updated>2010-05-06T10:44:55.637+03:00</updated><title type='text'>VMWare migrācija uz KVM</title><summary type='text'>Kā nomigrēt vmware uz KVM:1) Nepieciešams no vairākiem vmdk failiem (kas bija sadalīti pa 2GB - ZABIX.vmdk,ZABBIX-f001.vmdk, ...  ) izveidot 1 failu:vmware-vdiskmanager -r  ZABBIX.vmdk -t 0 zabbix-single.vmdk2) Konvertējam disku uz qcow2 formātuqemu-img convert zabbix-single.vmdk zabbix.qcow23) Ērtības labad pārvietojam uz jaunu direktoriju, kur atrodas KVM mašīnas.mkdir ../../kvm/zabbixmv </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/4009458968983504543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/4009458968983504543'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2010/05/vmware-migracija-uz-kvm.html' title='VMWare migrācija uz KVM'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-1747080698062335301</id><published>2009-12-02T12:34:00.003+02:00</published><updated>2009-12-02T12:41:32.571+02:00</updated><title type='text'>SEB bankas fondu vēsturisko datu novilkšanas skripts</title><summary type='text'>Cits prasts skripts vēsturisko fondu vērtību novilkšanai no SEB bankas.#!/bin/bash# Jāieraksta pareizs fonda nosaukumsFONDS="SEB Fund 1 Nordic Fund"# Par cik vecu periodu jāsavāc informācijaVECUMS=$((3*365))# Tālāk visam jānotiekas automātiski# Izvadu var savākt kaut vai ar "tee -a"FONDS_SHORT=`echo $FONDS | tr " " _` datums=`date --date="-$VECUMS days" +%D` for i in `seq 1 $VECUMS`  do datums=`</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/1747080698062335301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/1747080698062335301'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2009/12/seb-bankas-fondu-vesturisko-datu.html' title='SEB bankas fondu vēsturisko datu novilkšanas skripts'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-6528491591812258065</id><published>2009-12-01T23:38:00.005+02:00</published><updated>2009-12-01T23:48:06.710+02:00</updated><title type='text'>SEB bankas Latu rezervers fonda vēsturisko vērtību iegūšana</title><summary type='text'>Tā kā SEB bankas speciālisti nez kādu iemeslu dēļ nav pacentušies uztaisīt jelkādu tabuliņu ar savas bankas ieguldījumu fondu sarakstiem, bet šādu sarakstu būtu labi iegūt, un, par laimi, attiecīgai lapai tiekam klāt ar zolīdu URL, tad lūk, skripts, ar ko novilkt vērtības. Pēc vajadzības var pielāgot arī citiem SEB bankas vērtspapīriem.Tiek izmantots, bash, links un date un seq komandas.#!/bin/</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/6528491591812258065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/6528491591812258065'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2009/12/seb-bankas-latu-rezervers-fonda.html' title='SEB bankas Latu rezervers fonda vēsturisko vērtību iegūšana'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-5499971271997936079</id><published>2009-10-22T13:16:00.007+03:00</published><updated>2010-11-02T13:59:31.163+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='snmp'/><category scheme='http://www.blogger.com/atom/ns#' term='asus WL-320gP'/><title type='text'>Informācijas novilkšana no ASUS WL-320gP par pieslēgtajiem klientiem</title><summary type='text'>Komanda:snmpbulkwalk -v2c -c public DWLAP320gPIPAdrese .1.3.6.1.4.1.2623.4.1.1.6.2.4Vai, ja vēlamies saprotamā veidā, un esam lejupielādējuši WL320gP MIB failus ( kādā no šiem failiem:http://files.wl500g.info/asus/wl320gp/firmware/ ) un iekopējuši tos ./mib/ :snmpbulkwalk -m ALL -M ./mib -v2c -c public WLAP320gPIPAdrese WL320g-MIB::stWireless# vai snmpbulkwalk -m ALL -M ./mib -v2c -c public </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/5499971271997936079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/5499971271997936079'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2009/10/informacijas-novilksana-no-asus-dwl.html' title='Informācijas novilkšana no ASUS WL-320gP par pieslēgtajiem klientiem'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-8329726349925183485</id><published>2009-08-29T13:22:00.005+03:00</published><updated>2009-08-29T14:02:51.897+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bash'/><category scheme='http://www.blogger.com/atom/ns#' term='Latvijas aerofotokarte'/><category scheme='http://www.blogger.com/atom/ns#' term='balticmaps.eu'/><category scheme='http://www.blogger.com/atom/ns#' term='imagemagick'/><title type='text'>Aerofoto karšu vilkšana no Balticmaps.eu skripts 2.</title><summary type='text'>Uzdevums: Novilkt aerofoto kartes atbilstoši "Latvijas satelītkaršu" iedalījumam;Zemākais skripts ir tapis ilgu pūliņu rezultātā, un dažas lietas tur ir gan liekas, gan uzlabojamas.Jāpiemin, ka:1) pēc noklusējuma netiek ģenerēta lielā aerofoto bilde, jo sanāk 625Mpix bilde (25kmx25km kartei), un ne katrs dators to var pacelt (jābūt daudz RAM). Šim nolūkam ir jāatkomentē attiecīgā rindiņā.2) </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/8329726349925183485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/8329726349925183485'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2009/08/aerofoto-karsu-vilksana-no-balticmapseu.html' title='Aerofoto karšu vilkšana no Balticmaps.eu skripts 2.'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-6698523280279631234</id><published>2009-08-29T12:49:00.003+03:00</published><updated>2009-08-29T13:18:46.164+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Latvijas trafika skaitīšana'/><category scheme='http://www.blogger.com/atom/ns#' term='iptables'/><category scheme='http://www.blogger.com/atom/ns#' term='rrdtools'/><title type='text'>Latvijas/Ārvalstu trafika zīmēšana</title><summary type='text'>Uzdevums: Nepieciešams uzzināt Latvijas un pārējā trafika apjomu vienai vai vairākām tīkla kartēm. Šim nolūkam ar IPTABLES tiks marķēts Latvijas trafiks (neLatvijas - tas, kas nav nomarķēts), ar rrdtool līdzekļiem tas tiks uzkrāts un zīmētas diagrammas.1. Latvijas tīklu iegūšana un IPTABLES uzstādīšana#!/bin/bashDARBADIR="/etc/iptables"INTERFEISI="eth2 vlan0015 vlan0050"# Novelkam Latvijas tīklu </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/6698523280279631234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/6698523280279631234'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2009/08/latvijasarvalstu-trafika-zimesana.html' title='Latvijas/Ārvalstu trafika zīmēšana'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-4178740316624077726</id><published>2009-07-10T13:25:00.007+03:00</published><updated>2009-08-29T13:47:35.730+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Latvijas aerofotokarte'/><category scheme='http://www.blogger.com/atom/ns#' term='balticmaps.eu'/><category scheme='http://www.blogger.com/atom/ns#' term='imagemagick'/><title type='text'>Aerofoto no balticmaps.eu - skripts 1</title><summary type='text'>Skripts, kas novelk ortofoto bildi vienai konkrētai vietai no balticmaps.eu piedāvātajām aerofotokartēm.Lai darbotos, nepieciešams bash, wget un imagemagick.Skriptam kā parametri ir jānorāda X un Y koordinātes pēc balticmaps.eu, vēlamais kartes nosaukums un kartes vienas malas izmērs kilometros.X un Y koordinātes var iegūt arī no garuma un platuma grādiem, izmantojot proj4 utilītas. piem. echo </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/4178740316624077726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/4178740316624077726'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2009/07/aerofoto-no-balticmapseu-skripts-1.html' title='Aerofoto no balticmaps.eu - skripts 1'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-3483357525439033750</id><published>2009-07-09T12:55:00.005+03:00</published><updated>2009-07-09T13:33:05.438+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='routing'/><category scheme='http://www.blogger.com/atom/ns#' term='firewall'/><category scheme='http://www.blogger.com/atom/ns#' term='gateway'/><category scheme='http://www.blogger.com/atom/ns#' term='iptables'/><title type='text'>DNAT routing over second link</title><summary type='text'>The problem:You have 2 connnections to the Internet - A is the default link, B - secondary link.You have hosts inside LAN which are DNAT'ed from B space IP addresses. Provider A blocks IP addresses from B address space on router you have DNAT'ed some hosts to LAN and SNAT'ed all outgoing IP addresses on A and B interfaces. Although you have already build some ip routes un rules to answer to </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/3483357525439033750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/3483357525439033750'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2009/07/dnat-routing-over-second-link.html' title='DNAT routing over second link'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-970840238336096744</id><published>2009-07-05T11:09:00.003+03:00</published><updated>2009-07-05T23:38:32.355+03:00</updated><title type='text'>Attēlu apstrāde ar imagemagick</title><summary type='text'>Pāris skriptu, kā apstrādāt attēlu failus lielās direktorijāsSkripts, kas visiem attēliem faila nosaukumiem pieliek klāt datumu:#!/bin/bashfor i in *jpg *JPGdo  # Izvelkam datumu no bildes  DATUMS=`identify -format '%[EXIF:DateTime]' $i | tr  : _ | awk '{print $1}' `  # Ja datuma vērtība eksistē un bildes nosaukumā jau nau datums, tad pārsaucam bildi  if [[ -n $DATUMS &amp;&amp; $i != $DATUMS* ]]    then</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/970840238336096744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/970840238336096744'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2009/07/attelu-apstrade-ar-imagemagick.html' title='Attēlu apstrāde ar imagemagick'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-2572970295463474103</id><published>2009-07-02T22:07:00.003+03:00</published><updated>2009-07-02T22:11:52.666+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sysctl'/><category scheme='http://www.blogger.com/atom/ns#' term='routing'/><title type='text'>To enable routing on Ubuntu host</title><summary type='text'>edit /etc/sysctl.conf or with sysctl -wTo allow forward packetssysctl -w net.ipv4.ip_forward=1To forward packets comming to "wrong" interfaces:sysctl -w net.ipv4.conf.default.rp_filter=0 (filter is enabled by default)</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/2572970295463474103'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/2572970295463474103'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2009/07/to-enable-routing-on-ubuntu-host.html' title='To enable routing on Ubuntu host'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-4367988811053980577</id><published>2009-01-26T13:14:00.007+02:00</published><updated>2009-01-27T16:15:36.306+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AD'/><category scheme='http://www.blogger.com/atom/ns#' term='query Active Directory from Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='rpcclient'/><category scheme='http://www.blogger.com/atom/ns#' term='get Windows epoch time in Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='bash'/><category scheme='http://www.blogger.com/atom/ns#' term='password expiration info'/><title type='text'>How to query Active Directory users from Linux to get password expire information</title><summary type='text'>BASH script:#!/bin/bash# DEXP=`date -d '+1week' +%s`DNOW=`date +%s`DVEC=`date -d '-1week' +%s`SERV=winADservAUTHF=cred.txt# Ielasama visus lietotajvarduswbinfo -u | while read User        do# Katram lietotaajam skatamies paroles expireeshanaas laiku                rpcclient -A $AUTHF -c "queryuser $User"   $SERV | grep "Password must change Time" | cut -f 2- -d, | while read Datums</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/4367988811053980577'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/4367988811053980577'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2009/01/find-users-from-linux-with-passwords.html' title='How to query Active Directory users from Linux to get password expire information'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-8081937899048647343</id><published>2008-12-15T12:01:00.005+02:00</published><updated>2008-12-15T15:17:16.798+02:00</updated><title type='text'>Iozone - Stende -&gt; Server8 iscsi</title><summary type='text'>Tests no STENDE uz BFSA - ar iscsi iozone -i0 -i1 -c -e -a -n 1g -g 16g -y 2048 -s 2048 -q 8192               KB  reclen   write rewrite    read    reread         1048576    4096   27476   27449    91704    70380         2097152    4096   26775   26010    69460    68300         4194304    4096   26823   26338    60614    57342Tests no Srv7 Ub810Jeos uz BFSA - ar iscsi              KB  reclen   </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/8081937899048647343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/8081937899048647343'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2008/12/iozone-stende-server8-iscsi.html' title='Iozone - Stende -&gt; Server8 iscsi'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-4881399270870592191</id><published>2008-07-31T11:16:00.003+03:00</published><updated>2008-07-31T11:23:01.056+03:00</updated><title type='text'>ISCSI testi</title><summary type='text'>initiator: Win2003 VMWare serveris (4GB RAM)target:    Ubuntu 8.04 ar HW RAID5tīkls:     HP 2824 Gigabit switchiozone.exe -a -c -n 1g -g 8g -y 2048 -i0 -i1 -i2 -f h:\iotest                                                   random  random     KB  reclen   write rewrite    read    reread    read   write8388608   16384    9385    9639    47135    48333   41887    8881</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/4881399270870592191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/4881399270870592191'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2008/07/iscsi-testi.html' title='ISCSI testi'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-6259663162019538061</id><published>2008-06-25T15:02:00.004+03:00</published><updated>2008-06-25T15:18:16.415+03:00</updated><title type='text'>Intel SRCSASPH16I adapteris</title><summary type='text'>Lai no nekonfigurētajiem diskiem izveidotu jaunus loģiskos diskus (politika - WriteThrough):CmdTool2 -CfgEachDskRaid0 WT -aALLLai visiem diskiem iespējotu WriteBack un Write Cache OK if bad BBUCmdTool2 -LDSetProp CachedBadBBU -LALL -aALL</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/6259663162019538061'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/6259663162019538061'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2008/06/intel-srcsasph16i-adapteris.html' title='Intel SRCSASPH16I adapteris'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-7341456610479302091</id><published>2008-06-21T15:21:00.006+03:00</published><updated>2008-06-21T16:14:25.415+03:00</updated><title type='text'>Skripts failus sistēmas testēšanai</title><summary type='text'>Skripts ģenerē direktoriju testfs ar apakšdirektorijām, katra apakšdirektorija ir ~1GB liela.Pēc tam tiek uzņemts laiks un pētīts, cik ilgā laikā visi faili tiek:* nolasīti* kopēti* izveidots tar fails (bez kompresijas)* nolasīts tar fails* dzēstsSkriptu ir jāiekopē kādā direktorijā, kas atrodas uz testējamās failu sistēmas un startēt, piemēram, sekojoši (log fails tiks rakstīts mājas direktorijā</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/7341456610479302091'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/7341456610479302091'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2008/06/skripts-failus-sistmas-testanai.html' title='Skripts failus sistēmas testēšanai'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-1168780311561658815</id><published>2008-06-12T11:11:00.007+03:00</published><updated>2008-06-12T13:27:08.709+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='iozone'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux software RAID benchmarks'/><title type='text'>Intel HW Raid testi</title><summary type='text'>Serveris:HW RAID kontrolieris:HW RAID5 sējums ar 4 diskiem: (4-1) x 500 GBHW RAID5 sējums ar 8 diskiem: (8-1) x 500 GBKontroliera uzstādījumi WRITE THROUGHCache Policy:WriteThrough, ReadAheadNone, Direct, No Write Cache if bad BBUiozone 8 disku RAIDAM:KB       reclen   write rewrite    read    reread   rread  rwrite8388608    2048   47370   45865   201040   178148  103822  106027iozone 4 disku </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/1168780311561658815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/1168780311561658815'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2008/06/intel-hw-raid-testi.html' title='Intel HW Raid testi'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-6669406448963475025</id><published>2007-12-18T18:02:00.000+02:00</published><updated>2007-12-18T20:38:59.921+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='iscsi'/><category scheme='http://www.blogger.com/atom/ns#' term='open-iscsi benchmarks'/><title type='text'>iscsi veiktspējas testi</title><summary type='text'>ISCSI veiktspējaISCSI target serveris:DebianRAM 1GBDisku sējums ir uz RAID5ISCSI iniciators serveris:DebianRAM 4GBTīkls: Komutēts 1Gbps tīkls ar HP2824 tīkla slēdžiem. iozone -i0 -i1 -c -e -a -n 1g -g 16g -y 2048 -s 2048 -q 8192 -f /media/iscsi              KB  reclen   write rewrite    read    reread        16777216    2048   83972   71509    60931    60629        16777216    4096   82253   </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/6669406448963475025'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/6669406448963475025'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2007/12/iscsi-veiktspjas-testi.html' title='iscsi veiktspējas testi'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-6843009346978779640</id><published>2007-12-12T14:49:00.000+02:00</published><updated>2007-12-17T22:07:52.128+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VMware benchmarking with Linux kernel compilation test'/><title type='text'>Veiktspēja uz VMware serveriem</title><summary type='text'>Šis rakstiņs piefiksēs dažādus rādītājus par procesoru veiktspēju, lai varētu salīdzināt dabīga un virtuāla servera darbu.Testi tiek veikti uz dažādiem atšķirīgiem serveriem.Vispirms tiek kompilēts Linux kodols ar noklusējuma uzstādījumiem uz dabīga servera, izmantojot dažādu procesu skaitu ("-j" atslēga), pēc tam to pašu kodolu kompilē uz šī servera uzstādītajiem VMware virtuālajiem serveriem, </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/6843009346978779640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/6843009346978779640'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2007/12/veiktspja-uz-vmware-serveriem.html' title='Veiktspēja uz VMware serveriem'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-30504904719174727</id><published>2007-12-10T22:07:00.000+02:00</published><updated>2007-12-18T14:27:31.651+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='iozone'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux software RAID benchmarks'/><title type='text'>RAID veiktspējas</title><summary type='text'>Apkopošu šeit dažu man pieejamo serveru cieto disku veiktspējas programmatūras RAID'os nLīdz šim nav sanācis iegūt labu veiktspēju RAID veiktspēju ar hardware RAID'iem un tos apsteidz progammatūras RAID'i.Šis saraksts nekādi nepretendē uz kvalitatīvu pētījumu, bet ir domāts kā ieskats dažādu programmatūras RAID'u savstarpējā salīdzinājumā.Veiktspēja tiek mērīta ar iozone , testa faila lielums = </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/30504904719174727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/30504904719174727'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2007/12/raid-veiktspjas.html' title='RAID veiktspējas'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6045366630187388752.post-2153202639004752728</id><published>2007-11-26T16:49:00.000+02:00</published><updated>2007-12-12T15:49:25.617+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sysprep'/><category scheme='http://www.blogger.com/atom/ns#' term='datorklase'/><category scheme='http://www.blogger.com/atom/ns#' term='klonēšana'/><category scheme='http://www.blogger.com/atom/ns#' term='computer cloning'/><title type='text'>Klonēšana Windows XP</title><summary type='text'>Kā klonēt WindowsXP datorklasēm ar sysprepInstalējam WindowsXPSainstalējam WindowsXP un nepieciešamās programmas uz avota datora. WXP atbilstoši licencēšanai ir jābūt ar Volume Key. Ļoti vēlams, lai datori būtu vienādi (vienādām mātesplatēm, videokartēm u.t.t.). Pēc datora klonēšanas vēlams defragmentēt disku.Sysprep sagatavošanaKad dators ir saklonēts:lejupielādējam sysprep,atpakojam torakstam </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/2153202639004752728'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6045366630187388752/posts/default/2153202639004752728'/><link rel='alternate' type='text/html' href='http://kursa.blogspot.com/2007/11/klonana-windows-xp.html' title='Klonēšana Windows XP'/><author><name>Gints Neimanis</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>
