Feb 22

Restore OVM 3.x Manager with MySQL database

Mount OVM Manager CD
Run the runInstaller.sh -u {UID of OLD Manager}

Restoring the MySQL Database for Oracle VM Manager

To restore the database to one of the available backups, the manager and the database need to shutdown, for example as the root user execute the following commands:

# service ovmm stop; service ovmm_mysql stop
To initiate the restore, as the oracle user, use the RestoreDatabase.sh command located in the /u01/app/oracle/ovm-manager-3/ovm_shell/tools, for example:

# su – oracle
$ bash /u01/app/oracle/ovm-manager-3/ovm_shell/tools/RestoreDatabase.sh
INFO: Expanding the backup image…
INFO: Applying logs to the backup snapshot…
INFO: Restoring the backup…
INFO: Success – Done!
INFO: Log of operations performed is available at:


As ‘root’, please start the OVM Manager database and application using:
service ovmm_mysql start; service ovmm start

The RestoreDatabase.sh script expects the name of the directory for a particular backup directory. You do not need to specify the full path to the backup directory as this is already specified in the DBBACKUP variable.

Once you have restored the database, restart the database and manager as the root user:

# service ovmm_mysql start; service ovmm start


Make sure your time is correct! I spent 2 hours troubleshooting login issues to new environment and it was the TIME@@!@!!!!!


Feb 20

Install VMWare Workstation on Fedora 20 64bit

There was a problem compiling the modules for VMWare Workstation to work on Fedora 20. Turns out there was / is a bug with netfilter.

From https://wiki.archlinux.org/index.php/VMware

$ curl http://pastie.org/pastes/8672356/download -o /tmp/vmware-netfilter.patch
$ cd /usr/lib/vmware/modules/source
# tar -xvf vmnet.tar
# patch -p0 -i /tmp/vmware-netfilter.patch
# tar -cf vmnet.tar vmnet-only
# rm -r vmnet-only
# vmware-modconfig --console --install-all

Feb 20

VirtualBox install on Fedora 20 64bit

Since I always forget the details, here is how to install VirtualBox on Fedora 64bit

  • Download and install VirtualBox
  • Install the following required packages for /etc/init.d/vboxdrv to setup correctly
    • yum install kernel-headers kernel-devel dkms
  • Next run the /etc/init.d/vboxdrv setup
  • You should see the following output

/etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Trying to register the VirtualBox kernel modules using DKMS[ OK ]
Starting VirtualBox kernel modules [ OK ]


start Virtualbox

Feb 17

OVM 3 Mass Upgrade

Doing a mass upgrade on OVM 3.1.1 using Cisco UCS Manager. 10 servers at a time!

ovm 3, upgrade

Feb 04

Weblogic startup scripts using “UpStart”

I previously wrote on how to create weblogic startup scripts using standard init.d scripting. There is an even easier way to do things now. Why not use upstart, which is an event based replacement for the /sbin/init daemon.

Simply create a file “wlnode.conf” and put it in the /etc/init directory. This will start the Weblogic Nodemanager. You will need to modify based on your installation of course.

1st Weblogic Server


 Text |  copy code |? 
start on runlevel [345]
# console output
exec /bin/su - oracle -- /u01/app/oracle/middleware/user_projects/domains/DEV_domain/bin/startWebLogic.sh

Now you want the Weblogic Admin to start as well? Create a file called wladmin.conf


 Text |  copy code |? 
start on runlevel [345]
# console output
exec /bin/su - oracle -- /u01/app/oracle/middleware/user_projects/domains/DEV_domain/bin/startWebLogic.sh

Do you have any instances? You can start them too. Create a file called wlinstance1.conf


 Text |  copy code |? 
start on runlevel [345]
exec /bin/su - oracle -- /u01/app/oracle/middleware/user_projects/domains/DEV_domain/bin/startManagedWebLogic.sh instance1

To start and stop and find status, simply run “start wlnode”, “stop wlnode” and “status wlnode” using whatever you named your config file in /etc/init.

If you have a cluster setup, then you need to make sure the node manager is running and configured correctly on the second server. Once that is setup, you can add the following Upstart config files to bring everything up.

Second Weblogic Server


 Text |  copy code |? 
<code lang="text">start on runlevel [345]
# console output
exec /bin/su - oracle -- /u01/app/oracle/middleware/user_projects/domains/DEV_domain/bin/startWebLogic.sh


 Text |  copy code |? 
start on runlevel [345]
exec /bin/su - oracle -- /u01/app/oracle/middleware/user_projects/domains/DEV_domain/bin/startManagedWebLogic.sh instance2 http://centos.my.lan:7001

This is just a quick example and much more can be done using UpStart!

Nov 30

40″ Monitor – Black Friday Special

Well, it’s Black Friday 2013 and I managed to only spend a little. But what I got was so cool, i had to write about it…

I spend a lot of time in front of my computer, more that I would like to admit. My job basically ensures I am in front of a computer at least 5 hours a day. So, this Black Friday I splurged.


My setup consisted of a 24″ AOC Monitor next to a 27″ Dell. The Dell is beautiful but the AOC had some pixels missing and picture was so so. So, I almost made it through BF without spending the usual 1g but rounding out the night at Target of all places, I saw this one lone Magnovox Doorbuster sitting there waiting for me to take him home.

I originally was looking at at cheap Westinghouse 37″  720p resoution for $260 or so but wasn’t completely sold. I knew that after I took it home, looking at a display of 1280×720 would not cut it.

So for $299 i picked up a 40″ 1080p Magnovox 40ME313V TV/Monitor for my PC setup. As I am typing now, let’s just say it is awesome. The screen is basically a wall in front of me and resolution, picture quality is great. My 27″ Dell looks like little bro next to this monstrous piece of electronics.

So, if you’re looking for a cool upgrade to your PC and don’t want to spend 1000+ dollars, this one for you.

Nov 24

Slow internet speeds at Starbucks

As I sit here in Starbucks, waiting for my 1MB file to download, i thought I would write this small blurb on how the AT&T / Starbucks union has failed. It seems that AT&T has turned down the dial on the throughput that is allowed on its wireless networking. I have experienced this on at least 4 local Starbucks where download / upload speeds are basically unusable.

Previously, speeds were at least 1-2 Mbps and now are 400 Kbps. In my profession, i connect remotely to work so I need a minimum of 1 Mbps to work efficiently.

I understand that bandwidth costs money but throttling down internet speeds actually decreases business for Starbucks, at least in my case. Now I make the 100yd walk to Panera now which has great internet services.

I spend “A LOT” at Starbucks, easily over $50 a month, come on guys get with the program. Welcome to the 10′s





Nov 06

New Rims!! Does that say Mercedes?

Found these on Craigslist. I had to put 10mm spaces on front and back and use longer Lug nuts up front with longer Studs in back. I think they turned out pretty sweet. She handles much better than my skinny original 185x14s. Thanks to Chris at www.t3technique.com for helping out with info and hardware.


vanagon rims mercedes

Sick Rims!

Oct 02

Enable VisualVM for remote monitoring of Java

Step 1: get jstatd running.

If jstatd is not running,  create a file called jstatd.all.policy with the following contents:

grant codebase "file:${java.home}/../lib/tools.jar" { permission java.security.AllPermission;};

Start jstatd as follows:
nohup jstatd -J-Djava.security.policy=/path/to/your/jstatd.all.policy &

Step 2: Start Remote jvisualvm




Screenshot-Java VisualVM

May 23

BMW 745i Weep Hole Fix

Any decent DIY’er can handle the AGA coolant pipe fix. You just need to have some time, patience, and guts. I also used the TIS which was somewhat of a help. One great thing about BMW engineering is that it just makes sense. It is often smarter than you are but take your time and things will make sense. Here are the steps simplified:

I am not a mechanic and this may not be exactly correct (disclaimer) but it worked for me.

Remove all the engine covers
Remove Air Intake hose
Remove All Belts
Remove Fan (this was tuff and there is a special fan removal tool. I used a large crescent wrench. 32mm i believe)
Remove Fan Housing
Remove Center Balancer
Drain coolant
Remove Water Pump
TIS says to blow fuel back into fuel tank by using small air connector on fuel rail. 2 small air blasts.
Remove Fuel Injection lines and injectors (remove clip on top of each injector, should pop right off)
Disconnect all Electric connectors (label them all)
Remove Air Intake Manifold (heavy and should have 2 people for this)
Remove Valley Pan

You should be looking at your defective Coolant Pipe.

Cut it in half, and pull it out.
Insert new AGA or similar pipe per instructions.
Clean up all debris and vacuum out intakes.

I replaced my water pump because it was shot as well.
I replaced the Valley Pan because it had a brand new gasket and mine was kind of shot.

Once the pipe is in, just reverse the instructions above.
Take a look at your coolant lines below manifold to make sure they are in good shape. Mine had a snapped y connector.

Hope this helps someone

Total savings from original BMW quote = $33,372.18


Older posts «