Aug 04

OVM 3.3.1 Upgrade

UPDATE 08/06/14

After upgrading, things were not happy. I found many issues stopping, starting, and modifying anything in my new 3.3.1 OVM environment. I ended up migrating all VMs off of the OVM Servers, re-installing my OVM Server with fresh install. Fixed my issues. Still very buggy, i would recommend waiting until this one gets sorted out.

  • Download OVM Server and OVM Manager ISOs from http://edelivery.oracle.com/linux
  • Mount OVM Manager ISO on your OVM Manager Server
  • Run /OVMCD/runInstaller.sh
  • Important!

    ./runInstaller.shOracle VM Manager Release 3.3.1 InstallerOracle VM Manager Installer log file:/var/log/ovmm/ovm-manager-3-install-2014-08-04-072440.logPlease select an installation type:1: Install2: Upgrade

    3: Uninstall

    4: Help

    Select Number (1-4): 2

    Verifying upgrading prerequisites …

    *** WARNING: Recommended memory for the Oracle VM Manager server installation using Local MySql DB is 7680 MB RAM

    Starting Upgrade …

    Reading database parameters from config …

    ==========================

    Typically the current Oracle VM Manager database password will be the same as the Oracle VM Manager application password.

    Although you need to enter a *new* password for Oracle WebLogic Server 12c, it may be the same password that you used for the previous Oracle VM Manager installation.

    ==========================

    Database Repository

    ==========================

    Please enter the current Oracle VM Manager database password for user ovs:

    Oracle VM Manager application

    =============================

    Please enter the current Oracle VM Manager application password for user admin:

    Oracle Weblogic Server 12c

    ==========================

    Please enter a *new* Oracle WebLogic Server 12c user password for user weblogic:

    Please enter a *new* Oracle WebLogic Server 12c user password for user weblogic (confirm):

    Please enter your fully qualified domain name, e.g. ovs123.us.oracle.com, (or IP address) of your management server for SSL certification generation 192.168.0.77 [ovmm.my.lan]:

    Verifying configuration …

    Upgrading from version 3.2.8.733 to version 3.3.1.1065

    Start upgrading Oracle VM Manager:

    1: Continue

    2: Abort

    Select Number (1-2): 1

    Running full database backup …

    Successfully backed up database as 3.2.8_preUpgradeBackup-20140804_072512

    Running ovm_preUpgrade script, please be patient this may take a long time …

    Mon Aug 4 07:25:28 2014: Deleting 68 Jobs before upgrade.

    Mon Aug 4 07:25:32 2014: Jobs have been deleted.

    Stopping service on Linux: ovmm …

    Exporting core database, please be patient this may take a long time …

    NOTE: To monitor progress, open another terminal session and run: tail -f /var/log/ovmm/ovm-manager-3-install-2014-08-04-072440.log

    Product component : Java in ‘/u01/app/oracle/java’

    Java is installed …

    Removing Java installation …

    Installing Java …

    DB component : MySQL RPM package

    MySQL RPM package installed by OVMM was found…

    Removing MySQL RPM package installation …

    Installing Database Software…

    Retrieving MySQL Database 5.6 …

    Unzipping MySQL RPM File …

    Installing MySQL 5.6 RPM package …

    Configuring MySQL Database 5.6 …

    Installing MySQL backup RPM package …

    Product component : Oracle VM Manager in ‘/u01/app/oracle/ovm-manager-3/’

    Oracle VM Manager is installed …

    Removing Oracle VM Manager installation …

    Product component : Oracle WebLogic Server in ‘/u01/app/oracle/Middleware/’

    Oracle WebLogic Server is installed

    Removing Oracle WebLogic Server installation …

    Service ovmm is deleted.

    Retrieving Oracle WebLogic Server 12c and ADF …

    Installing Oracle WebLogic Server 12c and ADF …

    Applying patches to Weblogic …

    Installing Oracle VM Manager Core …

    Retrieving Oracle VM Manager Application …

    Extracting Oracle VM Manager Application …

    Retrieving Oracle VM Manager Upgrade tool …

    Extracting Oracle VM Manager Upgrade tool …

    Installing Oracle VM Manager Upgrade tool …

    Creating Oracle WebLogic Server domain …

    Starting Oracle WebLogic Server 12c …

    Creating Oracle VM Manager user ‘admin’ …

    Upgrading core database, please be patient this may take a long time …

    NOTE: To monitor progress, open another terminal session and run: tail -f /var/log/ovmm/ovm-manager-3-install-2014-08-04-072440.log

    Retrieving Oracle VM Manager CLI tool …

    Extracting Oracle VM Manager CLI tool…

    Installing Oracle VM Manager CLI tool …

    Configuring Https Identity and Trust…

    Deploying Oracle VM Manager Core container …

    Configuring Client Cert Login…

    Deploying Oracle VM Manager UI Console …

    Deploying Oracle VM Manager Help …

    Disabling HTTP access …

    Retrieving Oracle VM Manager Shell & API …

    Extracting Oracle VM Manager Shell & API …

    Installing Oracle VM Manager Shell & API …

    Retrieving Oracle VM Manager Wsh tool …

    Extracting Oracle VM Manager Wsh tool …

    Installing Oracle VM Manager Wsh tool …

    Retrieving Oracle VM Manager Tools …

    Extracting Oracle VM Manager Tools …

    Installing Oracle VM Manager Tools …

    Copying Oracle VM Manager shell to ‘/usr/bin/ovm_shell.sh’ …

    Installing ovm_admin.sh in ‘/u01/app/oracle/ovm-manager-3/bin’ …

    Installing ovm_upgrade.sh in ‘/u01/app/oracle/ovm-manager-3/bin’ …

    Enabling Oracle VM Manager service …

    Shutting down Oracle VM Manager instance …

    Starting Oracle VM Manager instance …

    Waiting for the application to initialize …

    Oracle VM Manager is running …

    Please wait while WebLogic configures the applications…

    Installation Summary

Jun 14

Wave of the Future – Windows for Workgroups 3.11

Just because I was feeling nostalgic, I installed MS-DOS 6.22 with Windows for Workgroups 3.11 as a bonus! It really is amazing the amount of steps that used to be required to get a PC running and useful. Had to install CDROM drivers, Memory Management Software, TCPIP Stack, Network Drivers, and Display drivers. Linux and Windows really has come a far way in the last 15 years.

Windows for Workgroups 3.11

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
AutoFullBackup-10222012_162543
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:
/u01/app/oracle/mysql/dbbackup/AutoFullBackup-10172012_122920/Restore.log

IMPORTANT:

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

IMPORTANT:

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

/etc/init/wlnode.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

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

/etc/init/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

/etc/init/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

/etc/init/wlnode.conf

 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

/etc/init/wlinstance2.conf

 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.

0060958523602_A

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!

Older posts «