![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||||||||||||||||
Solution Type Technical Instruction Sure Solution 2216567.1 : ODA X6-2S/X6-2M/X6-2L: Deploy using VLAN
In this Document
Applies to:Oracle Database Appliance X6-2 Hardware - Version All Versions and laterOracle Database Appliance Software - Version 12.1.2.8 to 12.1.2.9 [Release 12.1] Information in this document applies to any platform. GoalThe goal of this bulletin is to show how you could deploy an ODA X6-2S/X6-2M/X6-2L with an 8021.Q VLAN Tagged Interfaces for external client access networks. This note assumes : Note: the deploy done through the graphical web interface does not support VLAN interface
SolutionVLAN Tagged Interfaces - BackgroundVirtual Local Area Networks (VLANs) are used to separate Broadcast Domains in the Network. To share the separation information on which packet belongs to which VLAN between switches and end systems, Ethernet frames gets the VLAN identification number inserted into the header. This number is called the VLAN tag. 1. Setting Up VLAN Tagging at OS level - (Using ODA_vlan_config utility)To setup VLAN the "ODA_vlan_config.sh" utility can be used: # ./ODA_vlan_config.sh del -v 620 -i sfpbond1 -h
Oracle Database Appliance BareMetal VLAN Configurator Usage: ODA_vlan_config.sh [ help | man | -h ] Example: # ./ODA_vlan_config.sh add -v 620 -i sfpbond1 -ip 10.24.128.243 -n 255.255.255.0 -g 10.24.128.1 Oracle Database Appliance BareMetal VLAN Configurator Using iproute2 table ID: 221 Device "sfpbond1.620" does not exist. Following VLAN(s) are now configured:
If you need to delete a VLAN, before run "ODA_vlan_config.sh del -v <VLAN ID> -i <Interface>" you must setup the SRVCTL environment variable, pointing to Grid Infrastructure srvctl command, example: # export SRVCTL=/u01/app/12.1.0.2/grid/bin/srvctl
# ./ODA_vlan_config.sh del -v 620 -i sfpbond1 If you did not run the deploy yet, srvctl is not installed, then you should use the "-f" option # ODA_vlan_config.sh del -v <VLAN ID> -i <Interface> -f
example: # ./ODA_vlan_config.sh del -v 620 -i sfpbond1 -f 2. DCS VLAN SetupOnce the VLAN is up&running and working properly you need execute the following steps: Check the DCS-Agent VersionYou could check the DCS-agent version doing: rpm -qa|grep dcs-agent example: # rpm -qa|grep dcs-agent If on 12.1.2.9.01) initctl stop initdcsagent
2) initctl start initdcsagent 3) odacli list-networkinterfaces example:
# ./ODA_vlan_config.sh add -v 620 -i sfpbond1 -ip 10.24.128.243 -n 255.255.255.0 -g 10.24.128.1 Oracle Database Appliance BareMetal VLAN Configurator Using iproute2 table ID: 221 Device "sfpbond1.620" does not exist. Following VLAN(s) are now configured: # ifconfig sfpbond1.620 # initctl stop initdcsagent # initctl start initdcsagent # /opt/oracle/dcs/bin/odacli list-networkinterfaces ID Name NIC Type Note the command "odacli list-networkinterfaces" must show your VLAN example: # /opt/oracle/dcs/bin/odacli list-networkinterfaces ID Name NIC Type If on 12.1.2.8.11) initctl stop initdcsagent
2) cp -r /opt/oracle/dcs/repo/node_0 /tmp/DerbyDB_backup 3) rm -rf /opt/oracle/dcs/repo/node_0 4) initctl start initdcsagent 5) odacli list-networkinterfaces Note:due to step #3, we are cleaning up the metadata database, so adding VLAN's should be the first step before adding any more resources to the system, you should never execute such step post-deploy
Note the command "odacli list-networkinterfaces" must show your VLAN example: # /opt/oracle/dcs/bin/odacli list-networkinterfaces ID Name NIC Type 3. Deploy, create-applianceFor an example about JSON file to create-appliance you may check on Database Appliance X6-2S and X6-2M Deployment and User’s Guide $ cat create-appliance.json
{ "instance" : { "name" : "odas100", "instanceBaseName" : "odas100", "dbEdition" : "EE", "timeZone" : "UTC", "ntpServers" : ["10.0.3.14"], "dnsServers" : ["10.0.4.10","10.0.4.11","10.0.4.12"], "domainName" : "example.com", "isRoleSeparated" : true, "osUserGroup" : { "groups" : [ { "groupId" : 1001, "groupName" : "oinstall", "groupRole" : "oinstall" }, { "groupId" : 1002, "groupName" : "dbaoper", "groupRole" : "dbaoper" }, { "groupId" : 1003, "groupName" : "dba", "groupRole" : "dba" }, { "groupId" : 1004, "groupName" : "asmadmin", "groupRole" : "asmadmin" }, { "groupId" : 1005, "groupName" : "asmoper", "groupRole" : "asmoper" }, { "groupId" : 1006, "groupName" : "asmdba", "groupRole" : "asmdba" } ], "users" : [ { "userId" : 1000, "userName" : "oracle", "userRole" : "oracleUser" }, { "userId" : 1001, "userName" : "grid", "userRole" : "gridUser" } ] } }, "nodes" : [ { "nodeNumber" : "0", "nodeName" : "odas100", "network" : [ { "nicName" : "sfpbond1.620", "ipAddress" : "10.24.128.243", "subNetMask" : "255.255.255.0", "gateway" : "10.24.128.1", "networkType" : [ "Public" ], "isDefaultNetwork" : true } ], "ilom" : { "ilomName":"odambox-c", "ipAddress":"10.0.2.10", "subNetMask":"255.255.255.0", "gateway":"10.0.2.1" } } ], "grid" : { "diskGroup" : [ { "diskGroupName" : "DATA", "redundancy" : "NORMAL", "diskPercentage" :70 }, { "diskGroupName" : "RECO", "redundancy" : "NORMAL", "diskPercentage" :30 } ], "language" : "en" }, "database" : { "dbName" : "db1", "dbVersion" : "12.1.0.2", "instanceOnly" : false, "isCdb" : true, "pdBName" : "pdb1", "pdbAdminuserName" : "pdbuser", "adminPassword" : "welcome1", "dbType" : "SI", "dbTargetNodeNumber" : "0", "dbClass" : "OLTP", "dbShape" : "odb1", "dbStorage" : "ACFS", "dbCharacterSet" : { "characterSet" : "AL32UTF8", "nlsCharacterset" : "AL16UTF16", "dbTerritory" : "AMERICA", "dbLanguage" : "AMERICAN" }, "dbConsoleEnable" : false }, "asr" :{ "userName":"john.smith@example.com", "password":"xxxxx", "proxyServerName":"www-proxy.example.com", "proxyPort":"80", "proxyUserName":"", "proxyPassword":"", "snmpVersion":"v3" } } Note as on the JSON file you must use as "nicName" your VLAN device, in this example: "sfpbond1.620"
Then you can now execute: /opt/oracle/dcs/bin/odacli create-appliance -r /tmp/odas100.json
References<NOTE:1500709.1> - ODA (Oracle Database Appliance): Enable 8021.Q VLAN Tagged Interfaces for external client access networks<BUG:25297818> - ODALITE: CMDLINE DEPLOY IS FAILING USING VLAN <BUG:25291350> - ODALITE: PLEASE PROVIDE VLAN SUPPORT Attachments This solution has no attachment |
||||||||||||||||||||||||||||||
|