ODA  ILOM configuration via Serial port 

APPLIES TO:

Oracle Database Appliance Software – Version 2.1.0.1 and later
Information in this document applies to any platform.

GOAL

 The document contains the steps to connect Oracle Database Appliance(ODA) via serial port.

This approach can be used when no monitor/keyboard is available for the deployment.

SOLUTION

  • Step 1: Connect ODA serial mgmt port to the laptop

RJ45-serial convertor is shipped with every ODA unit. A cat-5 Ethernet cable can be used to connect the serial port to the supplied convertor. If the laptop has a serial port, the convertor can be directly connected to the laptop.


If not, use a USB to Serial Converter for connectivity, like the following


Please note as the above converter needs a driver installed on you Microsoft Windows OS (normally it’s a Prolific driver)

 Step 2: Configure Putty to access the serial console.

Ensure that the following serial communication settings are configured:

  • 8N1: eight data bits, no parity, one stop bit
  • 9600 baud
  • Disable flow control (XON/XOFF)


Step 3: Establish the connection using Putty

Identify the correct Serial Line. This can be found out using the Windows Device Manager-> Ports (COM & LPT)


 

Select the connection type as Serial in Putty.


Press Enter to establish a connection between your serial console and Oracle ILOM.
The login prompt to Oracle ILOM appears. ( If there is no login prompt, then press Enter once again).
Using the default root account you can login to ILOM.

If your laptop (client) is running on Linux (i.e. Ubuntu) you can use ‘screen’ (screen – screen manager with VT100/ANSI terminal emulation)

To install:

sudo apt-get install screen


How to check which device is used by the connector, run “dmesg”:

# dmesg
(…)
[ 99.059391] usb 2-1.2: new full speed USB device number 12 using ehci_hcd
[ 99.152643] pl2303 2-1.2:1.0: pl2303 converter detected
[ 99.154338] usb 2-1.2: pl2303 converter now attached to ttyUSB1

To start:

screen /dev/ttyUSB1 9600
(adjust to requirements)


To end the session, use ctrl-a k.

From the ILOM console you can connect the ODA OS console starting the “/SP/console”:

-> start /SP/console
Are you sure you want to start /SP/console (y/n)? y

Serial console started. To stop, type ESC (

  • Step 4: Configuring the ILOM Network via Serial Port

This step is required only if there is no DHCP Server installed in the network. If the DHCP Server is available, then an IP address will automatically be assigned to ILOM. 

When there is no DHCP available, we can set the ILOM IP Address as shown below.

set /SP/network pendingipdiscovery=static
set /SP/network pendingipaddress=<IP Address>
set /SP/network pendingipgateway=<gateway-IPaddr>
set /SP/network pendingipnetmask=<netmask>
set /SP/network commitpending=true

i.e.:
set /SP/network pendingipdiscovery=static
set /SP/network pendingipaddress=10.10.0.101
set /SP/network pendingipgateway=10.10.0.1
set /SP/network pendingipnetmask=255.255.255.0
set /SP/network commitpending=true


Type the command ‘show /SP/network’ to display the current SP IP address.

The IP information displays, as shown in the following sample:

-> show /SP/network

/SP/network
Targets:
interconnect
ipv6
test

Properties:
commitpending = (Cannot show property)
dhcp_server_ip = none
ipaddress = 10.182.79.97
ipdiscovery = static
ipgateway = 10.182.79.1
ipnetmask = 255.255.255.0
macaddress = 00:21:28:D6:14:AE
managementport = /SYS/SP/NET0
outofbandmacaddress = 00:21:28:D6:14:AE
pendingipaddress = 10.182.79.97
pendingipdiscovery = static
pendingipgateway = 10.182.79.1
pendingipnetmask = 255.255.255.0
pendingmanagementport = MGMT
sidebandmacaddress = 00:21:28:D6:14:AF
state = enabled

Commands:
cd
set
show

->

If you can not commit the network setting:

  • be sure the ILOM is attached to the network
  • check IPs, netmask, gateway combination
  • check the network infrastructure (network switch..)

REFERENCES

NOTE:1393191.1 – ODA – Oracle Database Appliance – How to Setup ILOM
NOTE:1936081.1 – ODA (Oracle Database Appliance) : ILOM network configuration via ODA console

By haisins

오라클 DBA 박용석 입니다. haisins@gmail.com 으로 문의 주세요.

One thought on “시리얼 포트 를 이용한 ODA 구성”
  1. Hey There. I found your blog using msn. This is an extremely well written article. I will make sure to bookmark it and come back to read more of your useful information. Thanks for the post. I will certainly return.

답글 남기기

이메일 주소를 발행하지 않을 것입니다. 필수 항목은 *(으)로 표시합니다