Networker

Re: [Networker] More NMC questions

2009-10-20 14:26:12
Subject: Re: [Networker] More NMC questions
From: Tim Mooney <Tim.Mooney AT NDSU DOT EDU>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Tue, 20 Oct 2009 13:20:09 -0500
In regard to: Re: [Networker] More NMC questions, George Sinclair said (at...:

Tim Mooney wrote:
In regard to: [Networker] More NMC questions, George Sinclair said (at...:

1. OK, I'm confused here over client versus server. Where they say: "...
there is a prompt to download the JRE ...", where is the download
location referring to? And should I download it?

They're saying that when you connect up to the URL that gets you access to
your NMC, via a browser running on your desktop workstation, if you don't
have a JRE installed you will probably be prompted to download one.

Thanks for your responses, Tim!!! This clear up a lot of confusion :).

I have two additional question regarding the console server. I'm
ignorant of JRE, but from what I can gather, this all assumes that a web
server is running on the console server, correct?

NMC includes its own web server, which it activates automatically.
Previous releases used a web server written in tcl (which meant that NMC
also included portions of tcl), but I think the most recent releases have
switched to using a stripped down apache (or maybe it's *possible* to
substitute your own apache in recent releases -- we're still running NMC
3.4.5 so I don't know about 3.5.x).

Question 1. In other words, the client machine must have JRE, but it
must also be able to connect to a web server, running on the console
server, which also has JRE?

To run NMC and NetWorker Administrator on a client, the client workstation
needs the JRE.  If the JRE isn't present (or can't be detected, for some
reason) when you connect to the server, you'll be prompted to download
and install one.

If you look in /opt/lgtonmc/web/plugin, you will see that there are
installers for the JRE for multiple different platforms.  I'm about 99%
certain that it's these installers that NMC will ship to the client, if it
can't detect one already installed on the client.

If you have the JRE (or its big brother, the JDK) already installed on a
workstation AND the browser you're using has the necessary plug-in and
mime associations, there should never be a need to download the JRE and
install it before you can run NMC.

Currently, there is no web server running on the test machine, but there is a /etc/init.d/httpd, and there is a firefox binary. From page 95 of the installation guide it says:

"10. Specify a User/Group with limited privileges that NMC will use to
run the web server..."

"11. For the web server port number, use the default port number (9000)
or use a custom port number ..."

Question 2. From that language, I assume that a web server must be running on the console server. Does the installation of the console server install the web server itself?

Yes.

Or does it assume that you already have a web server on that machine?

No.

If so, does it launch it, or do you have to already have it running?

When you install NMC, a startup script (/etc/init.d/gst) is installed that
handles starting the necessary bits.

Tim
--
Tim Mooney                                             Tim.Mooney AT ndsu DOT 
edu
Enterprise Computing & Infrastructure                  701-231-1076 (Voice)
Room 242-J6, IACC Building                             701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164

To sign off this list, send email to listserv AT listserv.temple DOT edu and type 
"signoff networker" in the body of the email. Please write to networker-request 
AT listserv.temple DOT edu if you have any problems with this list. You can access the 
archives at http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER