Apr 09

Ready for the Season to start

westy1

Mar 03

Oracle Database 11gR2 install on OEL 6.5

73 yum install libaio

75 yum install libaio.i686

77 yum install glibc.i686

79 yum install compat-libstdc++-33.i686

81 yum install elfutils-libelf-devel

83 yum install libaio-devel.i686

85 yum install libgcc.i686

87 yum install compat-libstdc++-33.i686

89 yum install unixODBC.i686 unixODBC.x86_64

91 yum install unixODBC-devel.i686 unixODBC-devel.x86_64

93 yum install mksh.x86_64

 

Feb 24

Oracle Database 11g install on Centos 7

Google suggested this was a fairly common problem with machines with a newer GLIBC. Most of the suggested solutions didn’t work for me (writing a glib memcpy shim etc). Instead I was able to staticly link this executable against the glibc archive which didn’t have the problem with the missing memcpy@GLIBC reference.

yum install glibc-static.x86_64

yum install glibc-static.i686

vi /u01/app/oracle/product/11.2.0/dbhome_2/ctx/lib/ins_ctx.mk

ctxhx: $(CTXHXOBJ)

-static $(LINK_CTXHX) $(CTXHXOBJ) $(INSO_LINK) /usr/lib64/stdc.a

I additionally had to patch the the ins_emagent.mk to link to the libnnz11 library:

vi /u01/app/oracle/product/11.2.0/dbhome_2/sysman/lib/ins_emagent.mk

Search for the line

$(MK_EMAGENT_NMECTL)

Change it to:

$(MK_EMAGENT_NMECTL) -lnnz11

Then press the Retry button and it should install correctly!

 

——

ALTER SYSTEM SET PROCESSES=500 SCOPE=SPFILE;

ALTER SYSTEM SET OPEN_CURSORS=500 SCOPE=SPFILE;

 

Jan 02

Install VMWare Horizon View Client on Fedora 21 64bit

This article shows how to get VMWare VDI / Horizon View client working on the latest Fedora 21 64bit

  • download the latest release from Shitrix
  • https://download3.vmware.com/software/view/viewclients/CART14Q4/VMware-Horizon-Client-3.2.0-2331566.x86.bundle
  • Install the dependencies
    • yum  install glibc.i686
    • yum install libgcc.i686
    • yum install gtk2-engines.i686
    • yum install PackageKit-gtk-module.i686
    • yum install libpng12.i686
    • yum install libXScrnSaver.i686
    • yum install openssl-libs.i686
    • yum install openssl-devel.i686
    • yum install libxml2.i686
    • yum install atk-devel.i686
    • yum install gtk2-devel.i686
    • yum install libxml2-devel.i686
    • yum install libcanberra-gtk2.i686

Qucker version

yum install glibc.i686 libgcc.i686 gtk2-engines.i686 PackageKit-gtk-module.i686 libpng12.i686 libXScrnSaver.i686 openssl-libs.i686 openssl-devel.i686 libxml2.i686 atk-devel.i686 gtk2-devel.i686 libxml2-devel.i686 libcanberra-gtk2.i686

  • Put in the following symbolic links
    • cd /usr/lib
    • ln -s /usr/lib/libssl.so.1.0.1j libssl.so.1.0.1
    • ln -s /usr/lib/libcrypto.so.1.0.1j libcrypto.so.1.0.1
  • chmod 775 VMware-Horizon-Client-3.2.0-2331566.x86.bundle
  • as root, run VMware-Horizon-Client-3.2.0-2331566.x86.bundle
    • unselect usb, printing, etc, just take the basics….
  • That’s it , just run “vmware-view” from your non-root account

Screenshot from 2015-01-02 18:03:16

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[/important]

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

Older posts «