(raw) Oracle Linux 6 memory foorprint with/out X11


Running quite a couple of (Linux) guests on a virtual host sooner or later raises the question of the (guests / host resources) ratio. That is, commonly for cpu, ram and i/o, how many guests will fit on that specific host for an average load. Having this question nagging in my head, I was particularly curious to find out how much memory an OL6 will consume for a pure operating system installation with and without the convenience of running X11 (which is animated by Gnome 3.x in OL6, having most of the autostart apps removed – xfce will be much leaner but that’s another story).
Read more of this post

Installing Oracle Linux 6.5 plus Unbreakable Enterprise Kernel (UEK) into a VMware Guest


The readme for media pack B75461-01, aka “Oracle Linux 6 Update 5 (6.5.0) Media Pack v1 for x86 64 bit”, see https://edelivery.oracle.com, states the following about getting the “Unbreakable Enterprise Kernel (UEK)” installed and running:

For compatibility reasons, the default installation image of Oracle Linux boots the Red Hat compatible kernel to perform the installation. Oracle provides an alternative installation image that supports the installation of Oracle Linux 6.5 using the Unbreakable Enterprise Kernel (UEK) as the installation kernel. This installation method also supports creating a root file system using the Btrfs file system.

Further on they recommend to download both the “Oracle Linux 6 update 5 DVD media” (pkg#1) and the “Oracle Linux 6 update 5 UEK boot ISO” (pkg#2), mounting and extracting pkg#2 to some tmp directory, mounting pkg#2, replacing the images directory of pkg#1 with the images directory of pkg#2 and finally providing pkg#1 on a path accessible via nfs or http.

Installing into a VMware guest may employ a shortcut, however, by configuring two cd/dvd drives before the installation and connecting “Oracle Linux Release 6 Update 5 UEK Boot ISO image for x86_64 (64 bit), Part Number V41364-01″ as well as “Oracle Linux Release 6 Update 5 for x86_64 (64 Bit), Part Number V41362-01″ locally (saving me from doing nfs / http as well), in that order. Do note, that the order is important, e.g. “IDE 0:0″ followed by “IDE 1:0″, to have the UEK image actually booting up. Besides watching out for kernel name and version boot messages, one will eventually find out about the kernel on install when trying to configure a btrfs file system during installation, which is not available for the legacy (red hat) kernel.

This presentation was was very much appreciated https://www.youtube.com/watch?v=ioksH3xdxQQ, albeit featuring “Oracle Linux 6 update 4″ and not refering to UEK at all, thanks to Ceyhun Kirmizitas.

regards peter

(Time to) Fight back against mass surveillance


TDWFB

https://thedaywefightback.org/international

Online petition (en): https://en.necessaryandproportionate.org/text
Online petition (de): https://de.necessaryandproportionate.org/text

Install/update oracle 11.2.0.3 fat client on windows


This is a short script with notices about the employment of the 11gR2 patch set 2 (aka 11.2.0.3) oracle fat client on windows x64. That is, saying fat client, I’m talking about the classic client side software collection, featuring oci.dll at most as well as other .net and java and the like things. I’m definitely not talking about the instant client stuff invented with oracle releases 10g or so.
I already have a running 11.2.0.1 oracle fat client around, such that I’m discussing an update here but quite a lot of information will also be interesting iff you’re planning a fresh installation of the 11.2.0.3 oracle fat client.
Finally, the deployment platform in question is windows 7 x64, which takes importance when examining the different patching strategies that oracle does meanwhile run for *ux (PSU/CSU) and win (none such) plattforms. Let’s get started.

Read more of this post

SENSE – Intelligent Storage and Exploration of large Document Sets


Selection_002 The is the next public presentation of the SENSE – Intelligent Storage and Exploration of large Document Sets project, this time, however, in a more general manner at the poster session of the INFORMATIK 2013 – 43. Jahrestagung der Gesellschaft für Informatik to be held on Thuesday, September 17, 2013, in Koblenz, Germany. The poster is neither aspired nor even able to show any details but will hopefully encourage a lot of people to get into inspiring discussions about the scaleability of large multimedia management systems over time. I’m looking forward to meet you there! This is the preliminary reference:

Wehner, P. and Krüger, R.: SENSE – Intelligent Storage and Exploration of large Document Sets.Poster Session of the 43. Jahrestagung der Gesellschaft für Informatik (INFORMATIK 2013), Koblenz, Germany, Springer, 2013

Do note that the SENSE project is funded by the German Federal Ministry of Education and Research (bmbf) under grant No. 01IS11025A and constitutes a part of “KMUInnovativ: IKT” initiative.

Have fun. P

ps. I’m also eagerly looking forward to dive into the “Tag der Informatik” on Wednesday, September 18, 2013.

Tackling native screen resolution problems on virtual ubuntu guest installs


I remember a time when virtual box users got stuck when trying to run full screen ubuntu guests on ultrabooks with the (as of that time) unusual screen resolution of 1366×768 pixels. Of course, 1366×768 pixels was quite an esoteric resolution at the times of virtual box 4.0.x or so and the emulated graphics driver was simply not (yet) aware of such a circumstance. However, trying to set up an current ubuntu 12.10 guest on the latest vmware player 5.0.2 environment, targeting another 1600×900 ultrabook full screen resolution, showed up to produce the same issue again and I’m not the very first to learn alike, see the vmware threads for example.

The basic problem, as depicted above, is that the guest os just does’nt see the actual native resolution of the hardware because the emulated graphics driver does not provide or list it on request. It will, on the other hand, be able to run that resolution though. Ever tried to find the missing resolution in your display settings with no luck? Then switched the guest os to full screen and, plop, it is there? Then bounced the guest os and the game starts from scratch (and you get this oversized X error window of unsuccessful attempts to apply the latest resolution setting in ~/.config/monitor.xml)? Welcome at Denny’s!

Read more of this post

SENSE – Semantic-guided Communication & Composition in a Widget/Dashboard Environment


comp-web The second research project (alongside Topic/S) that i’ve been heading since January 2012, namely SENSE – Intelligent Storage and Exploration of large Document Sets evenly denotes its first accepted scientific paper at the ICWE’13 – 13th International Conference on WebEngineering – 5th International Workshop on Lightweight Integration on the Web to be held July 8-12, 2013, in Aalborg, Denmark. The paper is entitled “Semantic-guided Communication & Composition in a Widget/Dashboard Environment” and summarizes the work in progress of just the user interface part or layer of the the ongoing research project. This is the preliminary reference:

Wehner, P. and Krüger, R.: Semantic-guided Communication & Composition in a Widget/Dashboard Environment.Proceedings of the 5th International Workshop on Lightweight Integration on the Web (ComposableWeb), 13th International Conference on WebEngineering (ICWE’13), Aalborg, Germany, Springer, 2013

Paper / Slides

Do note that the SENSE project is funded by the German Federal Ministry of Education
and Research (bmbf) under grant No. 01IS11025A and constitutes a part of “KMUInnovativ: IKT” initiative.

Have fun. P

Unlocking oci.dll and friends when upgrading or patching oracle


The problem of oracle dll files being still active (and locked against modification) inspite of a clear shutdown of all oracle services on windows has been around for lightyears it seems. What changes, though, is the net of dependencies that has to be checked prior to an upgrade or patch execution to find the processes that actually keep hooking up the dll’s in question. I was hit again lately, when trying to apply the server 11.2.0.3 Patch 18 (the APR2013 bundle patch) on win x64. The infamous error message on executing opatch apply read:

e:\_downloads\p16345834_112030_MSWIN-x86-64\16345834>opatch apply
Oracle Interim Patch-Installationsprogramm Version 11.2.0.3.3
Oracle Home       : e:\oracle\product\11.2.0\dbhome_2
Central Inventory : C:\Program Files\Oracle\Inventory
...
Verifying environment and performing prerequisite checks...
...
Prerequisite check "CheckActiveFilesAndExecutables" failed. The details are:
Following files are active :
e:\oracle\product\11.2.0\dbhome_2\bin\oci.dll
...
Recommended actions: OPatch needs to modify files which are being used by some processes.
OPatch failed with error code = 41

Read more of this post

Topic/s – Towards Topics-based, Semantics-assisted News Search


wims13 A research project that i’ve been heading since January 2012, namely Topic/S – Automatic Extraction und Search of Topics and Trends in Editorial Data (NewsRoom) denotes its first accepted scientific paper at the WIMS’13 – International Conference on Web Intelligence, Mining and Semantics to be held June 12-14, 2013, in Madrid, Spain. The paper is entitled “Towards Topics-based, Semantics-assisted News Search” and summarizes the work in progress of the ongoing research project. This is the full reference:

M. Voigt, M. Aleythe, P. Wehner: Towards Topics-based, Semantics-assisted News Search.
Proceedings of the 3rd International Conference on Web Intelligence, Mining and Semantics (WIMS’13), ACM, 2013

Do note that the work within the Topic/S project is funded by the European Social Fund / Free State of Saxony, contract no. 99457/2677.

Have fun. P

Update: The slides are now available via slideshare.

Recoursively counting files by extension in a windows shell script


It took me sort of lightyears to get this tiny piece of code running. Does not seem much logic to incorporate, uuh? Some looping and counting and printing. However, scripting this old windows shell eventually turned out a nightmare .. Ok, I learned a lot on the way to this script, about delayed expansion in nested loops (blocks) or assignments of arithmetic expressions. But the persisting lesson learned is: next time install python or something comparable first (or go and learn power shell).

Well, at the end of the day i again and again noticed how much I profit from the knowledge available on the net. So I’m going to share this script back for everyone having an interest.

Remarks:

  • get me a count of all files of type (or extension) %1, recoursing any dir within the current dir
  • the pushd / popd stuff is used because %%A cannot be used following “for /r” ;-)
  • the !CNT! is used because the changes in the inner loop are not visible to the outer one ;-) ;-)
echo off
setlocal enabledelayedexpansion
for /f %%A in ('dir /b/a:d') do (
  pushd %%A
  set CNT=0
  for /r %%X in (*.%1) do ( set /a CNT+=1 )
  echo %%A !CNT!
  popd
)

Enjoy!

Follow

Get every new post delivered to your Inbox.