Oracle Linux 7 Installation for OBIEE 12c

In the article we will prepare Oracle Linux 7.1 server for OBIEE 12c installation as a test environment.

Oracle Linux 7 Installation

Oracle Linux 7.1 Installation screen
Select Install Oracle Linux 7.1 and press Enter.

Oracle Linux 7.1 Installation screen
Select English and click Continue.

Oracle Linux 7.1 Installation screen
Select Network & Host name.

Oracle Linux 7.1 Installation screen
Host name: appmt14
Click Enable Ethernet (eth0)
Click Configure.

Oracle Linux 7.1 Installation screen
Connection name: eth0
Select Automatically connect to this network when it is available.
Select IPv6 Settings

Oracle Linux 7.1 Installation screen
Method: Ignore
Click Save

Oracle Linux 7.1 Installation screen
Click Done

Oracle Linux 7.1 Installation screen
Select Date & Time.

Oracle Linux 7.1 Installation screen
Region: Europe
City: Moscow
Click settings for Network Time

Oracle Linux 7.1 Installation screen
Add NTP server: ntp.it-play.com
Select Use only for the server.
Click OK

Oracle Linux 7.1 Installation screen
Turn on Network Time
Click Done

Oracle Linux 7.1 Installation screen
Select Software Selection

Oracle Linux 7.1 Installation screen
Select Minimal Install
Click Done

Oracle Linux 7.1 Installation screen
Select Software Selection

Oracle Linux 7.1 Installation screen
Select a first hard drive (xvda).
Click Done.

Oracle Linux 7.1 Installation screen
Click Begin Installation

Oracle Linux 7.1 Installation screen
Select Root Password

Oracle Linux 7.1 Installation screen
Root Password: ***
Confirm: ***
Click Done

Oracle Linux 7.1 Installation screen

Oracle Linux 7.1 Installation screen
Click Reboot.

Post-installation configuration

Disable Firewall and SELinux

[root@appmt14 ~]# systemctl stop firewalld
[root@appmt14 ~]# systemctl disable firewalld
——————————————-
rm ‘/etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service’
rm ‘/etc/systemd/system/basic.target.wants/firewalld.service’
——————————————-

[root@appmt14 ~]# vi /etc/selinux/config
Set following parameter:
——————————————-
SELINUX=disabled
——————————————-

Add DBA Group

[root@appmt14 ~]# groupadd dba

Create Mount Point

[root@appmt14 ~]# mkdir -p /u01/apps
[root@appmt14 ~]# chown root:dba /u01/apps
[root@appmt14 ~]# chmod 775 /u01/apps

Install packages

[root@appmt14 ~]# yum install xdpyinfo xclock bind-utils nfs-utils unzip

Create LVM Volume for Application mount point

Preparing Disk Partitions

[root@appmt14 ~]# fdisk -l
——————————————-
Disk /dev/xvdb: 64.4 GB, 64424509440 bytes, 125829120 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
——————————————-

[root@appmt14 ~]# fdisk /dev/xvdb
——————————————-
Welcome to fdisk (util-linux 2.23.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Device does not contain a recognized partition table
Building a new DOS disklabel with disk identifier 0xc2211ce9.
The device presents a logical sector size that is smaller than the physical sector size. Aligning to a physical sector (or optimal I/O) size boundary is recommended, or performance may be impacted.

Command (m for help): n
Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended

Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-125829119, default 2048): Enter
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-125829119, default 125829119): Enter
Using default value 125829119
Partition 1 of type Linux and of size 60 GiB is set

Command (m for help): t
Selected partition 1
Hex code (type L to list all codes): 8e
Changed type of partition ‘Linux’ to ‘Linux LVM’
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.

——————————————-

Preparing Physical Volumes

[root@appmt14 ~]# pvcreate /dev/xvdb1
——————————————-
Physical volume «/dev/xvdb1» successfully created
——————————————-

[root@appmt08 Packages]# pvdisplay
——————————————-

«/dev/xvdb1» is a new physical volume of «60.00 GiB»
— NEW Physical volume —
PV Name /dev/xvdb1
VG Name
PV Size 60.00 GiB
Allocatable NO
PE Size 0
Total PE 0
Free PE 0
Allocated PE 0
PV UUID 0gW3sT-bEOT-JnwO-JjjE-gp9h-mBMa-5T8X4J
——————————————-

Preparing Volume Groups

[root@appmt14 ~]# vgcreate apps /dev/xvdb1
——————————————-
Volume group «apps» successfully created
——————————————-

[root@appmt14 ~]# vgdisplay
——————————————-
— Volume group —
VG Name apps
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 1
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 0
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 60.00 GiB
PE Size 4.00 MiB
Total PE 15359
Alloc PE / Size 0 / 0
Free PE / Size 15359 / 60.00 GiB
VG UUID myTwkC-BRd1-BpXb-3MRC-ycNA-54F2-cEV2fa

——————————————-

Creating Logical Volumes

[root@appmt14 ~]# lvcreate -L 59.9G -n app1 apps
——————————————
Rounding up size to full physical extent 59.90 GiB
Logical volume «app1» created.
——————————————-

[root@appmt14 ~]# lvdisplay
——————————————-
— Logical volume —
LV Path /dev/apps/app1
LV Name app1
VG Name apps
LV UUID rPs9fu-RgEj-RimH-UsY4-5Dj3-o0lt-eLbZ2i
LV Write Access read/write
LV Creation host, time appmt14, 2015-10-27 15:23:43 +0300
LV Status available
# open 0
LV Size 59.90 GiB
Current LE 15335
Segments 1
Allocation inherit
Read ahead sectors auto
— currently set to 8192
Block device 252:2
——————————————-

[root@appmt14 ~]# mkfs.xfs /dev/apps/app1
——————————————-
meta-data=/dev/apps/app1 isize=256 agcount=4, agsize=3925760 blks
= sectsz=4096 attr=2, projid32bit=1
= crc=0 finobt=0
data = bsize=4096 blocks=15703040, imaxpct=25
= sunit=0 swidth=0 blks
naming = version 2 bsize=4096 ascii-ci=0 ftype=0
log = internal log bsize=4096 blocks=7667, version=2
= sectsz=4096 sunit=1 blks, lazy-count=1
realtime = none extsz=4096 blocks=0, rtextents=0
——————————————-

Mount the new partinion

[root@appmt14 ~]# mount /dev/apps/app1 /u01/apps/
[root@appmt14 ~]# vi /etc/fstab
Add the following string:
——————————————-
/dev/mapper/apps-app1 /u01/apps xfs defaults 0 0
——————————————-
[root@appmt14 ~]# umount /u01/apps/
[root@appmt14 ~]# mount -a

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *

*