All language subtitles for [SubtitleTools.com] Networking Configuration Files - Learning Oracle 12c [Video]

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic Download
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:01,420 --> 00:00:03,490 In this lesson, we want to discuss the network 2 00:00:03,490 --> 00:00:08,410 configuration files that are used in controlling an Oracle 3 00:00:08,410 --> 00:00:09,610 network setup. 4 00:00:09,610 --> 00:00:11,440 So Oracle Net is controlled really 5 00:00:11,440 --> 00:00:13,780 by three configuration files. 6 00:00:13,780 --> 00:00:16,450 Before we look at those, we need to remember 7 00:00:16,450 --> 00:00:19,660 that there are four basic pieces of information that 8 00:00:19,660 --> 00:00:23,510 will establish a connection-- particularly to a database. 9 00:00:23,510 --> 00:00:27,130 The first thing we have to know is the hostname, or IP address. 10 00:00:27,130 --> 00:00:30,010 So again, this is a remote connection coming in, 11 00:00:30,010 --> 00:00:33,400 so we need to know what the name of the host on our network is, 12 00:00:33,400 --> 00:00:34,810 or its IP address. 13 00:00:34,810 --> 00:00:37,660 We also need to know the port that the listener is 14 00:00:37,660 --> 00:00:38,390 running on. 15 00:00:38,390 --> 00:00:41,560 So the listener process listens for incoming connections 16 00:00:41,560 --> 00:00:44,830 and is going to use a port on the server 17 00:00:44,830 --> 00:00:46,600 that the database is installed on. 18 00:00:46,600 --> 00:00:49,900 And that port, by default, is 1521, 19 00:00:49,900 --> 00:00:52,480 although you can create listeners with different ports 20 00:00:52,480 --> 00:00:53,660 as well. 21 00:00:53,660 --> 00:00:56,020 The third thing we need to know is the protocol. 22 00:00:56,020 --> 00:00:58,810 And normally, this is going to be TCP/IP, 23 00:00:58,810 --> 00:01:01,870 but Oracle does support some other protocols as well, 24 00:01:01,870 --> 00:01:04,060 so that needs to be specified. 25 00:01:04,060 --> 00:01:05,530 And the fourth piece of information 26 00:01:05,530 --> 00:01:07,900 that we need to establish a connection 27 00:01:07,900 --> 00:01:09,590 is the name of the database. 28 00:01:09,590 --> 00:01:10,960 So that's either the SID-- 29 00:01:10,960 --> 00:01:13,470 System Identifier-- or the SERVICE_NAME. 30 00:01:13,470 --> 00:01:15,910 The SERVICE_NAME basically is an alias 31 00:01:15,910 --> 00:01:20,930 given for network purposes to a particular database. 32 00:01:20,930 --> 00:01:23,330 So the three main configuration files 33 00:01:23,330 --> 00:01:26,420 that we use in configuring an Oracle Database Networking 34 00:01:26,420 --> 00:01:28,970 stack are found in the Oracle Home. 35 00:01:28,970 --> 00:01:31,770 So here we are in the Oracle base directory. 36 00:01:31,770 --> 00:01:35,010 So let's proceed to the Oracle Home. 37 00:01:35,010 --> 00:01:40,170 Here in the Oracle Home, we have a directory called Network. 38 00:01:40,170 --> 00:01:43,950 Within that directory is a directory called Admin. 39 00:01:43,950 --> 00:01:49,530 And here are our three basic network configuration files. 40 00:01:49,530 --> 00:01:52,460 So the first is the TNSNAMES.ORA, 41 00:01:52,460 --> 00:01:54,950 and that's client side connection information. 42 00:01:54,950 --> 00:01:57,320 So everything that a client needs in order 43 00:01:57,320 --> 00:02:02,760 to connect to an Oracle database is found in the TNSNAMES.ORA. 44 00:02:02,760 --> 00:02:07,090 So let's open a TNSNAMES.ORA, and let's focus on this section 45 00:02:07,090 --> 00:02:09,020 right here. 46 00:02:09,020 --> 00:02:11,710 So here we have an alias to the database. 47 00:02:11,710 --> 00:02:15,880 So oftentimes, this is the same name as the database, 48 00:02:15,880 --> 00:02:17,300 but it can be anything. 49 00:02:17,300 --> 00:02:19,910 It can be your name or my name or whatever, 50 00:02:19,910 --> 00:02:21,970 but this is the name that we'll use when we 51 00:02:21,970 --> 00:02:24,440 try to connect to the database. 52 00:02:24,440 --> 00:02:26,140 So the four things we need-- 53 00:02:26,140 --> 00:02:28,720 first, PROTOCOL = TCP-- 54 00:02:28,720 --> 00:02:31,710 and that stands for TCP/IP. 55 00:02:31,710 --> 00:02:33,240 Then the HOST. 56 00:02:33,240 --> 00:02:37,010 So here we have the IP address of the host. 57 00:02:37,010 --> 00:02:41,380 The PORT-- the listener port is 1521-- 58 00:02:41,380 --> 00:02:45,520 and then the SERVICE_NAME, or SID, is orcl. 59 00:02:45,520 --> 00:02:47,110 So the four things that we need-- 60 00:02:47,110 --> 00:02:50,500 PROTOCOL, HOST, PORT, and SID, or SERVICE_NAME-- 61 00:02:50,500 --> 00:02:54,850 are all in this entry in the TNSNAMES.ORA. 62 00:02:54,850 --> 00:02:59,290 So this means that if we attempt to connect at orcl, 63 00:02:59,290 --> 00:03:02,830 this is the information that it uses to resolve that and decide 64 00:03:02,830 --> 00:03:05,870 where are we attempting to go? 65 00:03:05,870 --> 00:03:09,620 The second network configuration file is the LISTENER.ORA. 66 00:03:09,620 --> 00:03:13,460 So the LISTENER.ORA has all of the server-side connection 67 00:03:13,460 --> 00:03:14,480 information. 68 00:03:14,480 --> 00:03:18,500 So this file would actually be on the database server itself, 69 00:03:18,500 --> 00:03:20,270 and it'll have all the information 70 00:03:20,270 --> 00:03:23,600 that it needs for the listener to function and adequately 71 00:03:23,600 --> 00:03:26,370 receive incoming connections. 72 00:03:26,370 --> 00:03:30,500 So here, in this network admin directory, is the LISTENER.ORA. 73 00:03:30,500 --> 00:03:34,070 We'll focus on this section right here. 74 00:03:34,070 --> 00:03:36,460 Notice that the establishment of an address where 75 00:03:36,460 --> 00:03:42,930 it says PROTOCOL = TCP, HOST, and here's the IP address, 76 00:03:42,930 --> 00:03:43,730 and PORT-- 77 00:03:43,730 --> 00:03:45,160 1521. 78 00:03:45,160 --> 00:03:47,310 So this is essentially the information 79 00:03:47,310 --> 00:03:50,700 that the listener uses to develop those new connections 80 00:03:50,700 --> 00:03:52,170 as they come in. 81 00:03:52,170 --> 00:03:54,420 So the listener uses this information 82 00:03:54,420 --> 00:03:57,970 for incoming connections. 83 00:03:57,970 --> 00:04:00,550 And lastly, we had the SQLNET.ORA. 84 00:04:00,550 --> 00:04:02,020 These are parameters that can apply 85 00:04:02,020 --> 00:04:05,260 to both listeners and incoming connections, 86 00:04:05,260 --> 00:04:07,480 and so there are a number of different parameters 87 00:04:07,480 --> 00:04:11,170 that can go in the SQLNET.ORA, but it's actually very common 88 00:04:11,170 --> 00:04:13,600 for there to be very few or even none. 89 00:04:13,600 --> 00:04:17,410 And in some cases, databases operate without a SQLNET.ORA 90 00:04:17,410 --> 00:04:19,060 file at all. 91 00:04:19,060 --> 00:04:20,860 We'll take a look at ours. 92 00:04:20,860 --> 00:04:22,600 And so it has a parameter in here called 93 00:04:22,600 --> 00:04:26,660 SQLNET.AUTHETICATION_SERVICES = (NTS). 94 00:04:26,660 --> 00:04:28,450 So this is a line that you would frequently 95 00:04:28,450 --> 00:04:31,870 see on databases running on Windows, 96 00:04:31,870 --> 00:04:35,440 and it just has to deal with the Windows NT Authentication 97 00:04:35,440 --> 00:04:36,850 services. 98 00:04:36,850 --> 00:04:38,800 So those are the three network configuration 99 00:04:38,800 --> 00:04:40,360 files that are involved. 100 00:04:40,360 --> 00:04:42,550 They are essentially set up whenever you do 101 00:04:42,550 --> 00:04:44,380 an installation of a database. 102 00:04:44,380 --> 00:04:45,910 The only exception would generally 103 00:04:45,910 --> 00:04:49,420 be the TNSNAMES.ORA on a machine that actually 104 00:04:49,420 --> 00:04:51,860 doesn't host a database. 8240

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.