Вы находитесь на странице: 1из 12

Oracle Database Appliance X6-2

Imaging
Ravi Ransi & Sanjay Singh
RACPack Team

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |


ODA (ODA X6-2 S/M)
Imaging

• Assumption: The system is racked and cabled.


• Image file for ODA X6-2 S/M available on MOS.
• Patch 23530609 (p23530609_121270_Linux-x86-64.zip)
• Similar to ODA BM iso image.
– Connect to ILOM, attach the ISO image, change boot order & reboot.
– Imaging will automatically start after reboot.
– Alternatively, you can make a bootable USB drive using the ISO image, plug it into
ODA machine, and reboot.

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 3


ODA (ODA X6-2 S/M)
Imaging

• Base Linux RPMs installed as part of imaging process.


• There is no ‘oak’ RPM.
• Following new RPMs are in place.
– dcs-controller-12.1.2.7.0_LINUX.X64_160601-1.x86_64
– dcs-agent-12.1.2.7.0_LINUX.X64_160601-1.x86_64
– oda-hw-mgmt-12.1.2.7.0_LINUX.X64_160523-1.x86_64
– zookeeper-3.4.6-1.x86_64

• Java 1.8

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 4


ODA (ODA X6-2 S/M)
Imaging

• Following upstart scripts have been added:


– /etc/init/initdcsadmin.conf
– /etc/init/initdcsagent.conf
– /etc/init/initdcscontroller.conf
– /etc/init/initoak.conf

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 5


ODA (ODA X6-2 S/M)
Network Configuration

# /opt/oracle/oak/bin/configure-firstnet
Select the Interface to configure the network on (btbond1 sfpbond1) [btbond1]:
Configure DHCP on btbond1 (yes/no) [no]:
INFO: You have chosen Static configuration
Enter the IP address to configure : 10.196.10.101
Enter the Netmask address to configure : 255.255.252.0
Enter the Gateway address to configure[10.196.10.1] :
INFO: Plumbing the IPs now
INFO: Restarting the network
...
...

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 6


ODA (ODA X6-2 S/M)
End User Bundles
Component Split File Names Concatenated File Name

GI and RPMs p23494985_121270_Linux-x86-64_1of2.zip p23494985_121270_Linux-x86-64.zip


Patch 23494985 p23494985_121270_Linux-x86-64_2of2.zip

RDBMS 12.1.0.2 p23494992_121270_Linux-x86-64_1of2.zip p23494992_121270_Linux-x86-64.zip


Patch 23494992 p23494992_121270_Linux-x86-64_2of2.zip

RDBMS 11.2.0.4 p23494997_121270_Linux-x86-64.zip p23494997_121270_Linux-x86-64.zip


Patch 23494997

The GI EUB contains the following RPMS:

dcs-agent-12.1.2.7.0_LINUX.X64_160601-1.x86_64.rpm
dcs-controller-12.1.2.7.0_LINUX.X64_160601-1.x86_64.rpm
oda-hw-mgmt-12.1.2.7.0_LINUX.X64_160601-1.x86_64.rpm
asrmanager-5.5.1-20160108151701.rpm

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 7


ODA (ODA X6-2)
‘update-image’ command.
The ‘update-image’ command does the following:

• Unpack the downloaded End User Bundle into appropriate directories.


• Install latest versions of the key RPMs when unpacking GI EUB.

# /opt/oracle/oak/bin/update-image
Usage:
update-image --image-files <comma separated list of absolute file names,
make sure there is no space after comma >

Example:
update-image --image-files file1,file2,file3

# /opt/oracle/oak/bin/update-image p23494985_121270_Linux-x86-64.zip, p23494992_121270_Linux-x86-64.zip

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 8


ODA (ODA X6-2)
‘update-image’ command.
The ‘update-image’ command unpacks the ZIP file contents as follows:

• EUB Clones are unpacked into /opt/oracle/oak/pkgrepos/orapkgs/clones directory

• ‘oda-hw-mgmt’, ‘dcs-agent’, and ‘dcs-controllers’ RPMs are unpacked into


/opt/oracle/oak/pkgrepos/orapkgs/dcs directory.

• ASR RPM is unpacked into /opt/oracle/oak/pkgrepos/orapkgs/ASR directory.

• The ‘oda-hw-mgmt’, ‘dcs-agent’, and ‘dcs-controllers’ RPMs are upgraded after the unpacking is complete.

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 9


ODA (ODA X6-2)
‘update-image’ command.

Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 10


Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |