Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-2135295.1
Update Date:2017-03-02
Keywords:

Solution Type  Technical Instruction Sure

Solution  2135295.1 :   ODX X5-2: Startx / X-Windows Missing In New ODA Installed with EL6 - Not Able To Deploy ODA  


Related Items
  • Oracle Database Appliance X5-2
  •  
Related Categories
  • PLA-Support>Eng Systems>Exadata/ODA/SSC>Oracle Database Appliance>DB: ODA_EST
  •  


Brand new ODAs shipped with EL6  may not include startx or Xwindows support. This may require a reimage using 12.1.2.5 including all patching and then patching up to 12.1.2.6 Two other options may include using VNC or deploying using the GridInst.pl steps from the command line.

Created from <SR 3-12654266881>
This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

Applies to:

Oracle Database Appliance X5-2 - Version All Versions to All Versions [Release All Releases]
Information in this document applies to any platform.
ODA, deployment,GridInst.pl,VNC,startx,X-windows,EL6,ODA installation

Goal

How to deploy the Oracle Database Appliance X5-2 if startx / X-Windows is missing on a new ODA 

In this scenario the ODA X5-2 box was shipped with Oracle Linux 6 Pre-Loaded.
However, It seems that Linux 6 is not loaded with X-Windows. This note may provide alternative steps for deployment without using startx X-windows.

The OAK Patch version "12.1.2.6" is not a good software to install on NEW ODA machines as some of the FIRMWARE and OTHER patches are missing
You should install "12.1.2.5" version of OAK and upgrade to "12.1.2.6".

The following steps may not work as the current 12.1.2.6 patch bundle is only for the OS and may not include the required FW,INFRA patches as well as GI patches.
That stated, you can try the following before reimaging to 12.1.2.5 and upgrading to 12.1.2.6 which is the current documented steps as stated in 888888.1 Note for the ODA

Please refer to 888888.1 for complete information on the patching and upgrading of the ODA first

 

ASSUMPTION

The network setup is completed for the new ODA Machine (X5-2).

The "oakcli deploy" command requires that X-Windows is installed
However, the latest Oracle Linux 6 version does not come with startx.

Upgrading to 12.1.2.6 will avoid problems as startx is included in the older ODA version.
The steps here are provided as a potential solution if you receive and ODA with only EL6 pre-installed.
 

Solution

 

VNC

One recommendation is to user VNCServer:

For example:
-----------------
 

[root@oak2 ~]# vncserver

  You will require a password to access your desktops.

  Password:
  Verify:
  xauth: creating new authority file /root/.Xauthority

  New 'odax5-2-abc:1 (root)' desktop is odax5-2-abc:1


-----------------

Deployment steps without a GUI

You should be able to execute the deployment without X-windows IF you have a completed onecommand.params file and loaded to

/opt/oracle/oak/onecmd

from the directory first issue

For Bare Metal

./GridInst.pl -l

For ODAVP

./GridInst.pl -l -o

You should see the following output

# ./GridInst.pl -l -o
INFO : Logging all actions in the file /dev/null and traces in the file /dev/null
INFO : Loading the configuration file /opt/oracle/oak/onecmd/onecommand.params...
The steps in order are...
Step 0 = ValidateParamFile
Step 1 = SetupNetwork
Step 2 = WriteNodelists
Step 3 = SetupSSHroot
Step 4 = VerifyEnvVersion
Step 5 = SetupDNS
Step 6 = UpdateEtcHosts
Step 7 = SetTimezone
Step 8 = SetupNTP
Step 9 = SetupILOM
Step 10 = ValidateEnv
Step 11 = CreateUsers
Step 12 = SetupStorage
Step 13 = SetupSSHusers
Step 14 = InstallGIClone
Step 15 = RunGIClonePl
Step 16 = RunRootScripts
Step 17 = GIConfigAssists
Step 18 = CreateASMDiskgroups
Step 19 = InstallDBClone
Step 20 = RunDBClonePl
Step 21 = DbcaDB
Step 22 = SetupACFS
Step 23 = SetupASR
Step 24 = ResecureMachine

Check your onecommand.params file and make sure that you have all the information in it including network configuration, node names... etc

NOTE that node names must be in lower case

---------------------------------------------------

If the onecommand.params file is complete issue the following which will execute the deployment without X windows

,/GridInst.pl -r 0-24

The -r flag is for RANGE

Optionally, you can execute individual steps using -s plus the step number

Add the -o flag for most oakcli commands if you are using ODAVP
- You can monitor the progress from the terminal window and do not need a GUI

 

 

References

<NOTE:888888.1> - Oracle Database Appliance - 12.1.2 and 2.X Supported ODA Versions & Known Issues

Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback