Veritas-bu

[Veritas-bu] xinetd.conf entries for netbackup?

2002-02-28 11:32:29
Subject: [Veritas-bu] xinetd.conf entries for netbackup?
From: david AT xbpadm-commands DOT com (David A. Chapa)
Date: Thu, 28 Feb 2002 10:32:29 -0600
This is a multi-part message in MIME format.

------=_NextPart_000_007B_01C1C043.38D130E0
Content-Type: text/plain;
        charset="us-ascii"
Content-Transfer-Encoding: 7bit

Here's a couple of emails from the way-back machine.

The first one from Wolfgang Breyha with his xinetd.tar.gz attachment

and the Second from Miriam Ben-Haim

This should help you out.

David Chapa

--------------------------------------BEGIN
1st----------------------------------

-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of Wolfgang
Breyha
Sent: Wednesday, December 12, 2001 9:29 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] modified install_client for Linux


Hi!

I've modified the install_client script for Linux/Redhat to work with Redhat
7.x/xinetd installations, too.
Attached are the xinetd.d definitions which should be untared in
/usr/openv/netbackup/clients/Linux/Redhat.
At the end of the mail is the GNU-"diff -u" output for "install_client".
The first section of the diff is for installing the client to /opt instead
of /usr and linking /usr/openv -> /opt/openv. The second section is the
patch for xinetd. Apply what you need.
My Linux-Client Version is "NetBackup-RedHat 3.4patchNB_34_2"

Maybe some of you can need this, too.

Greetings from Vienna, Austria,
Wolfgang Breyha
IT.SE.UX UTA/netway
--------------------------------------------END
1st------------------------------

--------------------------------------BEGIN
2nd----------------------------------
-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of Miriam
Ben-Haim
Sent: Sunday, May 13, 2001 2:41 AM
To: Ethan Richard
Cc: Veritas-bu AT mailman.eng.auburn DOT edu
Subject: Re: [Veritas-bu] redhat 7.1 support


On Sat, 12 May 2001, Ethan Richard wrote:

>should i have to bounce the inet.d?
>
>-ethan

I'm not sure what you mean.

Here is how it looks on a RedHat 7 here:

The /etc/inetd.conf file has what the automatic distribution put there;

bpcd    stream  tcp     nowait  root    /usr/openv/netbackup/bin/bpcd bpcd
vopied  stream  tcp     nowait  root    /usr/openv/netbackup/bin/vopied
vopied
bpjava-msvc     stream  tcp     nowait  root
/usr/openv/netbackup/bin/bpjava-msvc bpjava-msvc -transient

but I think RedHat ignores it.

There is a file: /etc/xinetd.conf which contains:

#
# Simple configuration file for xinetd
#
# Some defaults, and include /etc/xinetd.d/

defaults
{
        instances               = 60
        log_type                = SYSLOG authpriv
        log_on_success          = HOST PID
        log_on_failure          = HOST RECORD
}

includedir /etc/xinetd.d

And then the file /etc/xinetd.d/bpcd which I sent before.

Of course you need to do kill -1 to the inetd process id after making
changes to the inetd files, so that it will read the configuration files
again.

Does this answer your question?


        Miriam


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Miriam Ben-Haim                 E-mail: miriam AT technion.ac DOT il
 Unix Systems                    Phone : +972-4-8292177
 Taub Computer Center            Fax   : +972-4-8236212
 Technion - Israel Institute of Technology, Haifa 32000, ISRAEL

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

On Fri, 11 May 2001, Ethan Richard wrote:

>I just tried to install the redhat client software I have and got no love,
>any ideas?
>
>[root@ares bin]# pwd
>/usr/openv/netbackup/bin
>[root@ares bin]# cat version
>NetBackup-RedHat 3.4GA
>[root@ares bin]#
>
>Ethan Richard
>Systems Administrator
>Portal Backups Team
>eXcite @home
>650 556 5585
>(beep) ethanr AT excitecorp DOT com
>
>_______________________________________________
>Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
>http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>From our experience:

If you try the usual automatic distribution of client installation to
RedHat 7 - it doen't work because RedHat 7 has a different structure of
the inetd.conf: they created /etc/xinetd.conf and /etc/xinetd.d which is
a directory.

We manually create the file - /etc/xinetd.d/bpcd (there should be a file
for each service in this directory), with a similar structure as the
other files there. This, together with the usual /usr/openv dir on the
Linux machine - should make NetBackup work for it.

/etc/xinetd.d/bpcd should look like:

# default: on
# description: bpcd is the service for the NBU program.
service bpcd
{
        disable = no
        socket_type             = stream
        wait                    = no
        user                    = root
        server                  = /usr/openv/netbackup/bin/bpcd
}


        Miriam


--------------------------------------------END
2nd------------------------------

------=_NextPart_000_007B_01C1C043.38D130E0
Content-Type: application/x-gzip;
        name="xinetd.tar.gz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
        filename="xinetd.tar.gz"

H4sIAFByFzwAA+3WTU+DMBgHcK7tp2ji0UzKe2Kymzt4nfFMOugmjrWkLThj/O6Wjb2Y6HZwYKLP
78LoSp+G9g+sC8FNfpO7Tn8oDWlCqT1udEdvd75tS0IaxXHgx75DPS8MQodEPc5pr9aGKUIcJaU5
1U+aJ66GmNCw1rv1n1VZ3lMN6lEan1h/P/EP69/+7/l+lDiE9jSfT/75+l+RnM9ZXZpbIgXWXDVF
xkm7GfAbRvOSLTRCYzKdPD5MMNIyW3KTmteK20ZtFGcr0sHohRWm7SwkRrUdqv3d3lZ7nR13e+7W
Wrmy4qJx7cabsWxZV+6sEJv9h1EpF6kU6ZwVZa04uh4TW3d6f4dRXmg2K3k3/jvGv33n/oaj/D+z
ho1WuskuXeNc/oPwKP9hYPsHURxB/ofwXf73m2Hwx8Chctc/ZcpWH5ORUUzoggsDz4mL2ee/kVXB
+/kCOPv+j8Oj7782/7YF3v+D+Dr/283Qe/TbwHelINEAAAAAAAAAAAAAAAAAAAAA/NwHXRP5WgAo
AAA=

------=_NextPart_000_007B_01C1C043.38D130E0--