Tuesday, September 29, 2015

Testing OVAB 12

I download OVAB_12.1.2.0.0_Appliance_v1.0.ova from http://www.oracle.com/technetwork/middleware/ovab/downloads/index.html?ssSourceSiteId=ocomen . Attempts to install the product from its installer failed, because I could not install the dependencies.... so I would rather use the preinstalled VM.

Form VirtualBox I do Import Appliance.


and agree the EULA
I get this message:
Could not start the machine OVAB_12.1.2.0.0_Appliance_v1.0 because the following physical network interfaces were not found:

en0: Ethernet (adapter 1)

You can either change the machine's network settings or stop the machine.


the issue is easily fixed by validating the proposed settings change.
I setup the Linux OS installation (create a "oracle"user). Read the OVAB appliance instructions http://download.oracle.com/otn/nt/middleware/12c/121200/OVAB_12.1.2.0.0_Appliance_v1.0.pdf
Predefined users are ovab/oracle and root/oracle. I do cd /home/ovab/Oracle/Middleware/Oracle_Home and check that the installation is there.
Login as ovab/oracle, cd /home/ovab/bin/, nohup ./startDB.sh &, nohup ./startWLSAdminServer.sh & , ./startOVABStudio.sh 1

<Mar 8, 2015 8:16:51 AM EDT> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.AssertionError: Could not obtain the localhost address. The most likely cause is an error in the network configuration of this machine.
java.lang.AssertionError: Could not obtain the localhost address. The most likely cause is an error in the network configuration of this machine.
        at weblogic.server.channels.AddressUtils$AddressMaker.getLocalHost(AddressUtils.java:38)
        at weblogic.server.channels.AddressUtils$AddressMaker.<clinit>(AddressUtils.java:33)
        at weblogic.server.channels.AddressUtils.getIPAny(AddressUtils.java:154)
        at weblogic.protocol.configuration.ChannelHelper.checkConsistency(ChannelHelper.java:61)
        at weblogic.server.channels.ChannelService.start(ChannelService.java:207)
        Truncated. see log file for complete stacktrace
Caused By: java.net.UnknownHostException: dhcppc4: dhcppc4
        at java.net.InetAddress.getLocalHost(InetAddress.java:1360)
        at weblogic.server.channels.AddressUtils$AddressMaker.getLocalHost(AddressUtils.java:36)
        at weblogic.server.channels.AddressUtils$AddressMaker.<clinit>(AddressUtils.java:33)
        at weblogic.server.channels.AddressUtils.getIPAny(AddressUtils.java:154)
        at weblogic.protocol.configuration.ChannelHelper.checkConsistency(ChannelHelper.java:62)
        Truncated. see log file for complete stacktrace
> 




hostname is dhcppc4

su - root (enter oracle), vi /etc/hosts, add line "127.0.0.1 dhcppc4", exit

now run: startWLSClusterServer.sh 1, startOPMN.sh, startOHS.sh, webtierStatus.sh,

References

Excellent presentation by the excellent Kai Yu:



go to minute 33 for OVAB-related stuff

here is the paper:

https://kyuoracleblog.files.wordpress.com/2013/05/2013_369_yu_ppr.pdf









No comments: