oracle database appliance review – detailed notes by ?· oracle database appliance review –...

Download Oracle Database Appliance Review – Detailed Notes By ?· Oracle Database Appliance Review – Detailed…

Post on 04-Jun-2018

216 views

Category:

Documents

0 download

Embed Size (px)

TRANSCRIPT

  • Oracle Database Appliance Review Detailed Notes

    By Caleb Small, Senior Oracle DBA and RAC Consultant Here are my detailed (sometimes too detailed) notes and screen shots from a real ODA deployment. In some sections, there is voluminous output included for the sake of completeness, but there is plenty of good information between so dont be discouraged. After our initial deployment, in which we had time server issues, we ran the de-install procedure to wipe the machine clean back to the OS. This is not the same as the bare metal restore which does a factory reset of the OS installation. This procedure simply removes all the Oracle software and configuration so you can start over. One of our issues, which is no surprise, was deploying without a time server. The ODA developers said it cant be done, but of course CTSS (Cluster Time Synchronization Service) is supposed to take care of this. However, the ODA deployment does not have an easy way to implement this. You have to disable and de-configure NTP manually as the OS level before performing the ODA setup. Then, and only then, will CTSS take over and allow you to have an autonomus ODA free of time server requirement. Some of the other lessons learned are:

    Lessons Learned 1. root passwords on both nodes must be default of welcome1 2. If an existing deployment exists, clean it off with cleanupDeploy.sh 3. When running firstnet, use the public IP of node 1 (a hint about this one the setup poster would be nice) 4. If you know the IP of the ILOM, the whole install can be done with putty and Xwindows. You do not

    need a keyboard, mouse and monitor for the console. 5. Need to add the localhost entry to /etc/hosts for Xwindows to work w/putty 6. Be patient, especially at 60%, some of the stpes take a long time. 7. Click the Show Details button to tail the log file, this helps to see that things really are moving.

    Outstanding Issues

    1. Unable to cut and paste text from ILOM console window, also no way to scroll back very frustrating! 2. Still dont understand why only one SCAN Listener and SCAN IP configured, should be two. 3. NTP was still configured to start, even though we specified no NTP. Because we had previously

    renamed the NTP config file & directory to .disable, NTP was unable to start and CTSS did start in Active Mode and clocks were synchronized

    4. Error messages on console screen during boot up persist. 5. Boot messages are not available for review in any log file, and no scroll back in console window.

    Caleb Small caleb@caleb.com 800-223-8992 Re-Deploying ODA Software

    June 24, 2012, Caleb Small, caleb@caleb.com

    Configurator program has been run on laptop to create a config file called ODAconfig Install kit has been uploaded to ODA (using SCP) and unpacked in directory /tmp A previous deployment exists, but has problems with its ASM storage. START OVER - Deinstalling Oracle Software and Reinitializing Storage

  • IMPORTANT NOTE: This procedure resets the public (and probably other) IP addresses to defaults, which may be different from what was previously configured. Especially as we never actually knew the original default IPs in the first place. However, the ILOM IPs are not changed, so the ILOM console still works As root on node 1 only: login as: root

    root@192.0.2.18's password:

    Last login: Sat Jun 23 23:07:44 2012 from 192.0.2.200

    [root@orclsys1 ~]# cd /opt/oracle/oak/onecmd

    [root@orclsys1 onecmd]# ./cleanupDeploy.pl

    Please enter the root password for performing cleanup:

    Re-enter root password:

    About to clear up OAK deployment,public network connectivity will be lost,root p

    assword will be set to default and both nodes will be rebooted

    Do you want to continue(yes/no): yes

    Setting up ssh for root

    INFO : Logging all actions in /opt/oracle/oak/onecmd/tmp/orclsys1-20120624001351.log

    and traces in /opt/oracle/oak/onecmd/tmp/orclsys1-20120624001351.trc

    INFO : Loading configuration file /opt/oracle/oak/onecmd/onecommand.params...

    INFO : Creating nodelist files...

    ==================================================================================

    INFO : 2012-06-24 00:13:51

    INFO : Step 1 SetupSSHroot

    INFO : Setting up ssh for root...

    INFO : Setting up ssh across the private network...

    ............done

    INFO : Running as root: /usr/bin/ssh -l root 192.168.16.24 /root/DoAllcmds.sh

    INFO : Background process 13797 (node: 192.168.16.24) gets done with the exit code 0

    INFO : Running as root: /usr/bin/ssh -l root 192.168.16.25 /root/DoAllcmds.sh

    INFO : Background process 13821 (node: 192.168.16.25) gets done with the exit code 0

    INFO : Done setting up ssh

    INFO : Running /usr/bin/rsync -tarvz /opt/oracle/oak/onecmd/

    192.168.16.25:/opt/oracle/oak/onecmd --exclude=*zip --exclude=*gz --exclude=*log --

    exclude=*trc --exclude=*rpm to sync directory on node

    SUCCESS: Ran /usr/bin/rsync -tarvz /opt/oracle/oak/onecmd/

    192.168.16.25:/opt/oracle/oak/onecmd --exclude=*zip --exclude=*gz --exclude=*log --

    exclude=*trc --exclude=*rpm and it returned: RC=0

    sending incremental file list

    ./

    onecommand.params

    tmp/

    tmp/DoAllcmds-20120623235336.sh

    tmp/DoAllcmds-20120623235500.sh

    tmp/DoAllcmds.sh

    tmp/all_nodes

    tmp/clone-optoracleoakpkgreposorapkgsGI11.2.0.3.2Basegrid112.tar.gz.out

    tmp/db_nodes

    tmp/hosts-gen

    tmp/hosts-gen-orclsys1

    tmp/hosts-gen-orclsys2

    tmp/oakpartition.sh

    tmp/ocmd-checkusers.pl

    tmp/orclsys1-ocmd-checkusers.res

    tmp/orclsys2-ocmd-checkusers.res

    tmp/priv_ip_group

    tmp/setilomconfign0.sh

    tmp/setuptz.sh

    tmp/sysconfntp.sh

    tmp/vip_node

  • sent 6829 bytes received 5277 bytes 24212.00 bytes/sec

    total size is 9413059 speedup is 777.55

    INFO : Time in SetupSSHroot is 7 seconds.

    ..........done

    INFO : Running as root: /usr/bin/ssh -l root orclsys1 /root/DoAllcmds.sh

    INFO : Background process 14029 (node: orclsys1) gets done with the exit code 0

    INFO : Running as root: /usr/bin/ssh -l root orclsys2 /root/DoAllcmds.sh

    INFO : Background process 14053 (node: orclsys2) gets done with the exit code 0

    INFO : Running as root: /usr/bin/ssh -l root orclsys1

    /opt/oracle/oak/onecmd/tmp/DoAllcmds-20120624001407.sh

    INFO : Background process 14074 (node: orclsys1) gets done with the exit code 0

    INFO : Running as root: /usr/bin/ssh -l root orclsys2

    /opt/oracle/oak/onecmd/tmp/DoAllcmds-20120624001407.sh

    INFO : Background process 14097 (node: orclsys2) gets done with the exit code 0

    INFO : Time spent in step 1 SetupSSHroot is 16 seconds.

    ==================================================================================

    INFO : Log file is /opt/oracle/oak/onecmd/tmp/orclsys1-20120624001351.log...

    Exiting...

    Uninstalling ASR

    INFO : Logging all actions in /opt/oracle/oak/onecmd/tmp/orclsys1-20120624001407.log

    and traces in /opt/oracle/oak/onecmd/tmp/orclsys1-20120624001407.trc

    INFO : Loading configuration file /opt/oracle/oak/onecmd/onecommand.params...

    INFO : Creating nodelist files...

    ==================================================================================

    INFO : 2012-06-24 00:14:08

    INFO : Step 2 deinstallASR

    INFO : Running as root: /usr/bin/ssh -l root 192.168.16.24

    /opt/oracle/oak/onecmd/tmp/removeAsrrpm.sh

    INFO : Running as root: /usr/bin/ssh -l root 192.168.16.25

    /opt/oracle/oak/onecmd/tmp/removeAsrrpm.sh

    INFO : Background process 14178 (node: 192.168.16.24) gets done with the exit code 0

    INFO : Background process 14201 (node: 192.168.16.25) gets done with the exit code 0

    INFO : Time spent in step 2 deinstallASR is 0 seconds.

    ==================================================================================

    INFO : Log file is /opt/oracle/oak/onecmd/tmp/orclsys1-20120624001407.log...

    Exiting...

    Deinstalling oracle stack

    INFO : Logging all actions in /opt/oracle/oak/onecmd/tmp/orclsys1-20120624001408.log

    and traces in /opt/oracle/oak/onecmd/tmp/orclsys1-20120624001408.trc

    INFO : Loading configuration file /opt/oracle/oak/onecmd/onecommand.params...

    INFO : Creating nodelist files...

    ==================================================================================

    INFO : 2012-06-24 00:14:09

    INFO : Step 3 DeinstallGI

    INFO : Running as root: /usr/bin/ssh -l root orclsys1

    /opt/oracle/oak/onecmd/tmp/DoAllcmds-20120624001409.sh

    INFO : Running as root: /usr/bin/ssh -l root orclsys2

    /opt/oracle/oak/onecmd/tmp/DoAllcmds-20120624001409.sh

    INFO : Background process 14283 (node: orclsys1) gets done with the exit code 0

    INFO : Background process 14306 (node: orclsys2) gets done with the exit code 0

    INFO : Running as root: /usr/bin/ssh -l root orclsys1

    /opt/oracle/oak/onecmd/tmp/DoAllcmds-20120624001409.sh

    INFO : Background process 14327 (node: orclsys1) gets done with the exit code 0

    INFO : Running as root: /usr/bin/ssh -l root orclsys2

    /opt/oracle/oak/onecmd/tmp/DoAllcmds-20120624001409.sh

    INFO : Background process 14350 (node: orclsys2) gets done with the exit code 0

    INFO : Disabling crs on all nodes...

    INFO : Stopping clusterware on all nodes...

    INFO : Running as root: /usr/bin/ssh -l root orclsys1

    /opt/oracle/oak/onecmd/tmp/stopcluster.sh

    INFO : Running as ro

Recommended

View more >