Hello. In this video, I'm gonna be talking about uh how you install uh network module for database and applications on uh specifically for oracle. I'm gonna be using um Linux as the operating system to install the product on and I'll be covering um the installation of an MD A uh linking N MD A with oracle and just do a quick test after that to validate that uh the N MD A media management library has been successfully uh linked with oracle and can be loaded during runtime.
So here in my uh Linux um uh server, I'm running a oracle. Linux and uh I have downloaded the uh the software N MD 1.6 for Linux uh 64 64 bit. It's important when you download the software off of uh support dot E MC dot com. Uh you match the bit type with the type of uh oracle that you have. So if you have 32 bit oracle, you need to download the 32 bit version of N MD A. If you have 64 bit oracle, you need to download and link the 64 bit version. So uh pay close attention to the bit type that of oracle you have and make sure it matches the software you download. Now, the process of um of uh installing a linking is basically you uh unzip the software, then you un tar the tar ball. And here we have our rpm file that we're going to be installing.
Uh It is important to make sure that uh prior to installing the software, you have networker installed The the base client software is um installed on the oracle server. Um You could also have the storage node package, but at a minimum, you need to have the network of client software installed and that NSR EXEC is up and running. So here you can see that my um the demon NSR EXEC D from the network or client package is up and running and here I have the man pages and the client software installed. No, no other packages from my networker. So with that checked, I'm going to install the N MD package. The installation is uh very quick. Um But it is a two step process. So when you install um the software, you have to be root um on the UNIX server.
And it's also important that um uh you remember that the installation is done basic based on the native operating system installer. So on, on, on Linux, it's R PM. But if I was on an A X machine, you would use, I would use Midi uh SW install on HP package out on Solaris. So we're basically using the native installer to, to drive the installation process. Ok. So now that that is installed, um there are no additional background processes that are going to be running once an MD A is installed. Uh There's no active demon that's running constantly. Once an MD A is installed, it's NSR executive will invoke the necessary N MD A binaries during uh backup run time. And uh uh so, so you, you don't need to expect any further N MD A processes after the installation is um is completed with these, the product installed.
The second part now is to link the N MD A library with uh the oracle server. Now, when you install N MD A, we're actually um uh bundling several libraries in the N MD A software. So you can uh use to BA N MD A to back up various different databases like DB two and for X Lotus notes and um these libraries are all in the uh in this case would be the user lib directory and here they are right here. So the one for oracle in particular, because we're focusing on oracle uh is Lib NSR or A dot So the extension might be different based on the platform that you're on. So uh in the case of uh Solaris, the extension would also have a data. So, but not for a AX environment, they would have a dot uh A, so it be lib in Sr or A dot A.
Um So what and what you need to do is now become the oracle user. Now, the this is the user that owns uh the oracle home directory. And what you want to do is uh basically, we're following the um installation guide which describes the process of uh where and what file to link. But you go to the oracle home lib directory again as the oracle user. And in here you will create a symbolic link for a file called lib. OK dot So and make it point to the N MD oracle library. So first, I'm gonna check to see if that file even exists. The lib ork, it will not. Um And then I will create a symbolic link as such to point to the NMDA oracle library. Now, by doing this, what um what, what uh it, this enables us to do is that when uh our man uh reads an arm and script and uh sees that we're trying to allocate a channel type S BT tape, it will be able to dynamically load the N MD oracle library during runtime.
So it can then send the data stream to uh the network or backup server. Uh Or in case of a restore, we will be able to recognize that it's, it's trying to do BT tape, uh backups and restores and request the data from the network or backup server as opposed to doing a restore from its own self local disk. If you forget to do this linking portion, uh backups uh will not succeed with N MD A. So it's very crucial that you don't forget to link the library after you finish installing the software. Now, with that completed uh one thing that I like to do is to write a small, simple um R man script which basically just allocates a channel S BT tape and then releases it. This is a good um method, a good uh tool to uh evaluate whether or not you have been successfully able to install and link an MD A on this particular server. So, what I have here is um I'll show you the, the script here. It is right here.
So basically, all I'm doing is um run open parentheses and then allocate channel SPT tape. This is a keyword for uh our man that will understand that it's going to try to load a media, a media management library. Uh In this case, it's the N MD A oracle library and then it's going to uh release the channel uh immediately thereafter. So I'm not doing any backups and it, and it shouldn't pose any sort of a problem or load on a production machine. After you finish installing, you can just quickly test and validate that the installation was successful. So the way you run it is again, as the oracle user notice that I'm the oracle user, I will um call the arm man tool and connect to the target database and call my uh arm and script.
Now, what this should do is it should show me that the NMDA library was successfully able to be loaded as you can see highlighted here. And then the channel was released. It is important to note that for clustered environments, both for H A and rack configurations, you follow the same, the same similar procedure on each of the nodes in the cluster. In other words, if you have a four node rack cluster, and even though you intend to run um the backups only through one of those nodes, it is recommended that you install and link the N MD A library on each of the nodes within the cluster.
Thank you for listening and stay tuned for more videos to come.