Solaris 11
Downloaded it, mounted it as lofi, and then created an LDOM by booting off the ISO. I've not tried the Automated Installer (AI) yet.
I realize that there isn't much information here, but really, there wasn't much to do.
Add ISO to LDOM:
ldm add-vdsdev /sol11/sol-11-1111-text-sparc.iso sol11iso@primary-vds0
ldm add-vdisk id=1 sol11iso sol11iso@primary-vds0 orcem12c
Show Disks on LDOM Ok prompt:
{0} ok show-disks
a) /virtual-devices@100/channel-devices@200/disk@1
b) /virtual-devices@100/channel-devices@200/disk@0
c) /iscsi-hba/disk
q) NO SELECTION
Enter Selection, q to quit: a
/virtual-devices@100/channel-devices@200/disk@1 has been selected.
Boot from Disk 1 (as thats what the ID is for the ISO). Also choose slice "f"
{0} ok boot /virtual-devices@100/channel-devices@200/disk@1:f
Follow the installer along and give appropriate credentials. A user will need to be created, as root login is disabled by default.
To allow root login:
1. Change "PermitRootLogin" to "yes" in the /etc/ssh/sshd_config file.
2. Comment out "#CONSOLE=/dev/console" in the /etc/default/login file to allow non-console root login.
3. Switch the role of the root user "rolemod -K type=normal root"
Oracle 11g (11.2.0.3 Install)
First things first, rebuild the Package index and then get the X packages installed:
pkg rebuild-index
Test to make sure you have all the required packages
pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms SUNWpool SUNWpoolr SUNWsprot SUNWtoo SUNWuiu8 SUNWfont-xorg-core SUNWfont-xorg-iso8859-1 SUNWmfrun SUNWxorg-client-programs SUNWxorg-clientlibs SUNWxwfsw SUNWxwplt
Install packages that are needed.
pkg install compatibility/packages/SUNWxwplt SUNWmfrun SUNWarc SUNWhea SUNWlibm
pkg install x11/xclock
Add Swap if you dont have enough (You'll need about 16Gb depending upon the RAM you've allocated to the LDOM).
zfs create -V 14G swpool/swap14G
swap -a /dev/zvol/dsk/swpool/swap14G
Edit the /etc/vfstab to add the new swapfile.
/dev/zvol/dsk/swpool/swap14G - - swap - no -
I found that Timezone wasn't set. In Solaris 11, all the properties have moved to SMF.
root@orcem12c:~# svcs -a | grep environ
online 17:45:30 svc:/system/environment:init
root@orcem12c:~# svccfg -s system/environment:init
svc:/system/environment:init> listprop environment/TZ astring
svc:/system/environment:init> setprop environment/TZ=US/Eastern
svc:/system/environment:init> validate
svc:/system/environment:init> end
Install Oracle 11g. I choose to use the file storage instead of ASM for the Db disks.
Create new Pool for /opt/app/Oracle & /opt/app/oradata (to hold all the Software & Db files respectively)
zpool create -f -m /opt/app/Oracle swpool c2d1s0
zpool create -f -m /opt/app/oradata dbpool c2d2s0
Requirements for the Db:
1. 2G SGA.
2. Redo log files must atleast be 300Mb with 3 Redo logs.
SQL> alter database
2 add logfile ('/opt/app/oradata/dbfiles/EM12C/em12redo01.log') Size 300M;
Database altered.
SQL> alter database
2 add logfile ('/opt/app/oradata/dbfiles/EM12C/em12redo02.log') Size 300M;
Database altered.
SQL> alter database
2 add logfile ('/opt/app/oradata/dbfiles/EM12C/em12redo03.log') Size 300M;
SQL> alter system switch logfile;
If adding logfiles, you can drop the old ones. If the Db complains that it cant drop a logfile (if you need to), run "alter system checkpoint". You cannot drop a logfile in "Current" status.
SQL> select * from v$log;
GROUP# THREAD# SEQUENCE# BYTES BLOCKSIZE MEMBERS ARC
---------- ---------- ---------- ---------- ---------- ---------- ---
STATUS FIRST_CHANGE# FIRST_TIM NEXT_CHANGE# NEXT_TIME
---------------- ------------- --------- ------------ ---------
4 1 13 314572800 512 1 NO
INACTIVE 1089635 29-JAN-12 1089642 29-JAN-12
5 1 14 314572800 512 1 NO
CURRENT 1089642 29-JAN-12 2.8147E+14
6 1 0 314572800 512 1 YES
UNUSED 0 0
I had to make the following changes:
SQL> alter system set session_cached_cursors=300 scope=spfile;
System altered.
SQL> alter system set job_queue_processes=20;
System altered.
SQL> alter system set shared_pool_size=600M scope=spfile;
System altered.
EM12C (Cloud control) Install
Once I made all the above Db changes, I was able to get through the installer using the "Simple" option.
The only error message after all this, was that there wasn't an EM tablespace with an autoextend datafile. Since I didnt create a tablespace, so I proceeded.
Once the install finishes, I logged in with https://