Thanks!

 

From: Peter Yorke via smartos-discuss 
[mailto:[email protected]] 
Sent: Tuesday, October 07, 2014 8:39 PM
To: [email protected]; Yonah Russ
Cc: Stephan, Richard
Subject: Re: [smartos-discuss] Oracle On Smaros Machine

 

Nothing official from Joyent on this topic.

 

But there used to be a wiki article on the topic, but it was too hard to 
maintain and due the the lack of SmartOS support from Oracle was abandoned 

 

It will require getting the basics of getting install if not for the feint of 
heart.

 

Here is the unsupported process for Oracle 11: Buyer beware

 


System Requirements


The installation is tested on the following SM:

Platform - smartos-1.3.18
RAM: 4gb
Storage: 100gb

Oracle installation is supported, but only by using a response file

Prior to installation, you must download and untar in / this file:
http://cuddletech.com/tmp/ccs-binaries-s11-v2.tar.bz2
 
GUI tools such as dbca, netca, or the graphical installer are NOT supported.
We do not have plans to put them in PKGSRC
or, use a Linux or Solaris VM which has all the dependencies already present.

Installation Procedure

[root@oracle ~]# ls -lh /home/admin
total 2.2G
-rw-r--r-- 1 admin staff 2.0M 2011-10-31 21:03 ccs-binaries-s11-v2.tar.bz2
-rw-r--r-- 1 admin staff 1.3G 2011-11-08 09:39 
solaris.x64_11gR2_database_1of2.zip
-rw-r--r-- 1 admin staff 959M 2011-10-27 20:49 
solaris.x64_11gR2_database_2of2.zip
[root@oracle ~]# cd /
[root@oracle /]# gtar xfvj /home/admin/ccs-binaries-s11-v2.tar.bz2
 
[root@oracle /]# groupadd -g 2000 dba
[root@oracle /]# groupadd -g 2001 oinstall
[root@oracle /]# groupadd -g 2002 oper
[root@oracle /]# mkdir -p /u01/app
[root@oracle /]# useradd -u 2000 -g oinstall -G dba,oper -s /bin/bash -m -d 
/u01/app/oracle oracle
128 blocks
[root@oracle /]# chown -R oracle:dba /u01
[root@oracle /]# mkdir -p /u02/oradata
[root@oracle /]# chown -R oracle:dba /u02
[root@oracle /]# passwd oracle
New Password:
Re-enter new Password:
passwd: password successfully changed for oracle
[root@oracle /]# VecthafopwykyeilEriv^C
[root@oracle /]# mv /home/admin/solaris.x64_11gR2_database_* /u01/app/oracle/
[root@oracle /]# chown oracle:dba /u01/app/oracle/solaris.x64_11gR2_database_*
[root@oracle /]# su - oracle
[oracle@oracle ~]$
 
[oracle@oracle ~]$ unzip solaris.x64_11gR2_database_1of2.zip
[oracle@oracle ~]$ unzip solaris.x64_11gR2_database_2of2.zip
 
[oracle@oracle ~]$ wget cuddletech.com/tmp/Enterprise-Oracle11gR2-NODB.rsp
 

Add the following lines to .profile

ORACLE_BASE=/u01
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/ccs/lib/amd64:$LD_LIBRARY_PATH
PATH=$ORACLE_HOME/bin:$PATH
 
export ORACLE_BASE ORACLE_HOME LD_LIBRARY_PATH PATH
*Exit and log back in to the "oracle" user to get the proper environment*
 
[oracle@oracle ~]$ cd database/
[oracle@oracle ~/database]$ ./runInstaller -ignorePrereq -silent -responseFile 
/u01/app/oracle/Enterprise-Oracle11gR2-NODB.rsp
 

NOW EXECUTE THE FOLLOWING AS REQUESTED BY THE INSTALLER:

[root@oracle /]# /u01/app/oraInventory/orainstRoot.sh
[root@oracle /]# /u01/app/oracle/product/11.2.0/dbhome_1/root.sh
 

VALIDATION PHASE

[oracle@oracle ~]$ exit
logout
[root@oracle ~]# su - oracle
 
 
[oracle@oracle ~]$ sqlplus /nolog
 
SQL*Plus: Release 11.2.0.1.0 Production on Tue Nov 8 10:17:22 2011
 
Copyright (c) 1982, 2009, Oracle.  All rights reserved.
 
SQL> quit
 
 
[root@oracle /]# ls -al /var/opt/oracle/
total 6
drwxr-xr-x 2 root   root       4 2011-11-08 10:02 .
drwxr-xr-x 3 root   root       3 2011-11-08 10:02 ..
-rw-r--r-- 1 root   root      56 2011-11-08 10:02 oraInst.loc
-rw-rw-r-- 1 oracle oinstall 678 2011-11-08 10:02 oratab
----

After installation you'll need to do the following:

[oracle@oracle01 ~/database]$ rm 
/u01/app/oracle/product/11.2.0/dbhome_1/rdbms/lib/config.o
 
[oracle@oracle01 ~/database]$ relink all
writing relink log to: 
/u01/app/oracle/product/11.2.0/dbhome_1/install/relink.log
 
[oracle@oracle01 ~/database]$ sqlplus /nolog
 
SQL*Plus: Release 11.2.0.1.0 Production on Tue Nov 8 10:38:53 2011
 
Copyright (c) 1982, 2009, Oracle. All rights reserved.
 
SQL> quit

 

On Tue, Oct 7, 2014 at 11:20 AM, Yonah Russ via smartos-discuss 
<[email protected]> wrote:

Joyent used to have some docs on getting Oracle XE running inside SmartOS.

Obviously there are issues with the lack of official support but the license 
issue mentioned is not necessarily one of them.

There are plenty of ways to run a legal instance of Oracle without licensing by 
CPU (named user licensing, developer licensing, possibly application specific 
and embedded software licensing as well), and if you aren't licensing by CPU, 
then I'm pretty sure it doesn't really matter what type of partitioning you are 
using.

 

Yonah

 

On Tue, Oct 7, 2014 at 5:00 PM, Stephan, Richard via smartos-discuss 
<[email protected]> wrote:

Oracle has an approved set of Hypervisors (their own) for licensing.  If you do 
not use one on their approved list you have to license the entire host.  
(http://www.oracle.com/us/corporate/pricing/partitioning-070609.pdf) There is 
no version of Oracle for SmartOS.

 

 

From: Ben Taylor via smartos-discuss [mailto:[email protected]] 
Sent: Tuesday, October 07, 2014 9:55 AM
To: [email protected]; [email protected]
Subject: Re: [smartos-discuss] Oracle On Smaros Machine

 

Did you ask Oracle if they support Oracle (assuming 10g/11g database) on 
something other than Solaris 10/11?

 

Ben

 

On Tue, Oct 7, 2014 at 9:23 AM, <[email protected]> wrote:

Hi

Anyone running Oracle on a SmartOS machine?

What's the best way to run Oracle on SmarOS and in Production?





-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25688150-566611b9
Modify Your Subscription: https://www.listbox.com/member/? 
<https://www.listbox.com/member/?&;> &
Powered by Listbox: http://www.listbox.com

 


smartos-discuss |  <https://www.listbox.com/member/archive/184463/=now> 
Archives  <https://www.listbox.com/member/archive/rss/184463/24882246-6ef95fdc> 
|  <https://www.listbox.com/member/?&;> Modify Your Subscription

 <http://www.listbox.com> 

 

The information in this email is confidential and may be legally privileged 
against disclosure other than to the intended recipient. It is intended solely 
for the addressee. Access to this email by anyone else is unauthorized. If you 
are not the intended recipient, any disclosure, copying, distribution or any 
action taken or omitted to be taken in reliance on it, is prohibited and may be 
unlawful. Please immediately delete this message and inform the sender of this 
error. 


smartos-discuss |  <https://www.listbox.com/member/archive/184463/=now> 
Archives  <https://www.listbox.com/member/archive/rss/184463/23550547-46dd9120> 
|  <https://www.listbox.com/member/?&;> Modify Your Subscription

 <http://www.listbox.com> 

 


smartos-discuss |  <https://www.listbox.com/member/archive/184463/=now> 
Archives  <https://www.listbox.com/member/archive/rss/184463/22812361-a27e6236> 
|  <https://www.listbox.com/member/?&;> Modify Your Subscription

 <http://www.listbox.com> 





 

-- 
Peter Yorke

Joyent Cloud / node.js
[email protected]
 <http://www.joyentcloud.com/> www.joyentcloud.com

 


smartos-discuss |  <https://www.listbox.com/member/archive/184463/=now> 
Archives  <https://www.listbox.com/member/archive/rss/184463/26461380-1faa08ce> 
|  <https://www.listbox.com/member/?&;> Modify Your Subscription

 <http://www.listbox.com> 

 




-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to