MHVTL config on RHEL5

classic Classic list List threaded Threaded
17 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

MHVTL config on RHEL5

chandan
Hi Nia,

I tried to install, but showing lot of messages, could you please help me regarding this.

Please find the attached log file.

FYI,
[root@localhost mhvtl]# uname -a
Linux localhost.localdomain 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:02 EDT 2007 i686 i686 i386 GNU/Linux
[root@localhost mhvtl]#

mhvtl_log_file.rtf


Warm Regards,
Chandan
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: MHVTL config on RHEL5

steinweo
Chandan,

From what I read in the log, it seems that you sucessfully build kernel modules and started mhvtl.
You should check - as suggested - with lsscsi -g and ps -ef|grep -i vtl

Kind regards, Olivier
nia
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: MHVTL config on RHEL5

nia
Administrator
In reply to this post by chandan
chandan wrote
Hi Nia,

I tried to install, but showing lot of messages, could you please help me regarding this.

Please find the attached log file.
Yes, it looks like you have successfully installed mhvtl.

"
Could not locate library config file: /etc/mhvtl/library_contents.10
Creating a default one
Please stop mhvtl & edit /etc/mhvtl/library_contents.10 to suit your requirements

Could not locate library config file: /etc/mhvtl/library_contents.30
Creating a default one
Please stop mhvtl & edit /etc/mhvtl/library_contents.30 to suit your requirements

"

This message is normal when you run mhvtl the first time ..

You just need to install "lsscsi" ... try to do "yum install lsscsi"
nia
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: MHVTL config on RHEL5

nia
Administrator
In reply to this post by chandan
Also, can I ask you to try the dev release http://sites.google.com/site/linuxvtl2/mhvtl-2010-09-23.tgz?attredirects=0 as there were many fixes included that have not made the stable release yet.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: MHVTL config on RHEL5

chandan
Hi Nia,

As per your instruction I had installed lsscsi, now its working fine, shell I go head and install netbackup software
so that my netbackup master server(windows server 2003) running on VM ware workstation can able to communicate with my media server that is RHEL 5 where i configured MHVTL.

Thanks a ton for your great support.



FYI,

[root@localhost Desktop]# rpm -ivh lsscsi-0.17-3.el5.i386.rpm
warning: lsscsi-0.17-3.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing...                ########################################### [100%]
   1:lsscsi                 ########################################### [100%]
[root@localhost Desktop]# lsscsi -g
[0:0:0:0]    disk    VMware,  VMware Virtual S 1.0   /dev/sda  /dev/sg0
[1:0:0:0]    mediumx STK      L700             550V  -         /dev/sg9
[1:0:1:0]    tape    IBM      ULT3580-TD5      550V  /dev/st0  /dev/sg1
[1:0:2:0]    tape    IBM      ULT3580-TD5      550V  /dev/st1  /dev/sg2
[1:0:3:0]    tape    IBM      ULT3580-TD4      550V  /dev/st2  /dev/sg3
[1:0:4:0]    tape    IBM      ULT3580-TD4      550V  /dev/st3  /dev/sg4
[1:0:8:0]    mediumx SPECTRA  PYTHON           550V  -         /dev/sg10
[1:0:9:0]    tape    IBM      ULT3580-TD4      550V  /dev/st4  /dev/sg5
[1:0:10:0]   tape    IBM      ULT3580-TD4      550V  /dev/st5  /dev/sg6
[1:0:11:0]   tape    IBM      ULT3580-TD4      550V  /dev/st6  /dev/sg7
[1:0:12:0]   tape    IBM      ULT3580-TD4      550V  /dev/st7  /dev/sg8
[root@localhost Desktop]#
[root@localhost Desktop]# ps -ef|grep vtl
root      7971     1  0 22:05 ?        00:00:00 /bin/sh /usr/lib/firefox-1.5.0.12/firefox file:///root/Desktop/linuxvtl2.htm
root      7984  7971  0 22:05 ?        00:00:00 /bin/sh /usr/lib/firefox-1.5.0.12/run-mozilla.sh /usr/lib/firefox-1.5.0.12/firefox-bin file:///root/Desktop/linuxvtl2.htm
root      7989  7984  0 22:05 ?        00:00:15 /usr/lib/firefox-1.5.0.12/firefox-bin file:///root/Desktop/linuxvtl2.htm
vtl      10381     1  0 22:33 ?        00:00:00 vtltape -q 11 -v
vtl      10384     1  0 22:33 ?        00:00:00 vtltape -q 12 -v
vtl      10388     1  0 22:33 ?        00:00:00 vtltape -q 13 -v
vtl      10476     1  0 22:33 ?        00:00:00 vtltape -q 14 -v
vtl      10485     1  0 22:33 ?        00:00:00 vtltape -q 31 -v
vtl      10590     1  0 22:33 ?        00:00:00 vtltape -q 32 -v
vtl      10593     1  0 22:33 ?        00:00:00 vtltape -q 33 -v
vtl      10598     1  0 22:33 ?        00:00:00 vtltape -q 34 -v
vtl      10710     1  0 22:33 ?        00:00:00 vtllibrary -q 10 -v
vtl      10725     1  0 22:33 ?        00:00:00 vtllibrary -q 30 -v
root     11074  8206  0 22:37 pts/1    00:00:00 grep vtl
[root@localhost Desktop]#


Warm Regards,

Chandan
nia
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: MHVTL config on RHEL5

nia
Administrator
chandan wrote
Hi Nia,

As per your instruction I had installed lsscsi, now its working fine, shell I go head and install netbackup software
so that my netbackup master server(windows server 2003) running on VM ware workstation can able to communicate with my media server that is RHEL 5 where i configured MHVTL.
Chandan
Yes, mhvtl is ready now .. The next step would be to install NetBackup media server software on your RedHat Box and you should be all set from there ...

Good Luck ..

nia
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: MHVTL config on RHEL5

chandan
Hi Nia,

I have installed netbackup 6.5 on RHEL 5 where I installed MHVTL. But the thing master server(windows 2003 netbackup 7) is not recognizing the media server after installing netbackup 6.5 media server software on RHEL 5. So Could you please confirm me whether I have to install any other RPM/Software so that my master server can able to recognize the media server.

Warm Regards,
Chandan
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: MHVTL config on RHEL5

Mark Harvey
You haven't supplied much info on the NetBackup problem..

The NetBackup Install Guide is very helpful, along with the NetBackup Trouble-shooting guide. Available on the CD's or from http://www.symantec.com/business/support/index?page=landing&key=15143

However, one common mistake is not adding the media server to the "SERVER = " entry in bp.conf (unix) registry (windows)

Can you please supply the master server & media server hostnames, and the output of "bpgetconfig" run on the master server..

p.s. Don't forget this is a 'mhvtl' forum, not a NetBackup forum..

Cheers
Mark
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: MHVTL config on RHEL5

Mark Harvey
In reply to this post by chandan
One other thing..

For some reason, NetBackup does NOT like the 'SPECTRA LOGICS' defined tape library..

I would edit the /etc/mhvtl/device.conf and replace the SPECTRA with STK/L180 or STK/l700
Then re-start the mhvtl.

Cheers
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: MHVTL config on RHEL5

chandan
Hi Mark,

Thanks for your updates, however please find the required information regarding netbackup on attached files.

Could you please let me know where I can contact for netbackup issues, as I'm new to this domain.


Cheers!!

Warm Regards,
Chandanbpgetconfig.rtf
master_and_media_server_information.rtf 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: MHVTL config on RHEL5

Mark Harvey
Next step is to check name resolution:
(bpclntcmd is linked into the resolver libraries just like the rest of NBU, so it is perferred)
(All 4 cmds below to be run on both hosts)
bpclntcmd -hn chandan-fk34yz5
bpclntcmd -hn chandan-c907884
Also
bpclntcmd -ip <ip address returned from above cmds>


You should get a speedy response. Otherwise check out name resolution for problems.

Next check communication from media server to 'bpcd' port on master server
$ telnet chandan-fk34yz5 13782
(press return twice to come back to a prompt)
You should not have any delays between initial connect and pressing return to get back to the cmd prompt.
This also confirms name resolution on the master server of the media server.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: MHVTL config on RHEL5

chandan
Hi Mark,

Thank you, could you please let me know where I can contact regarding netbackup issues.

Cheers

Warm regards,
Chandan
nia
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: MHVTL config on RHEL5

nia
Administrator
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: MHVTL config on RHEL5

enliten
In reply to this post by chandan
Hi Chandran,

Though this is not a forum for NetBackup, but this could be your answer.

I think you forgot to add your media server hostname into your master server.
goto host property, click master server, double click your master server will bring up the global
attribute, click on server and add media server at the below portion of the screen,
restart your netbackup service for both master & media servers, you should see your media server under the
Host Property, Media server list.

Check your bp.conf file at media server located at /usr/openv/netbackup, the first line servername
should be your master server hostname.

good luck.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: MHVTL config on RHEL5

Mark Harvey
OK, the problem is with media server 'name'

The master server is configured with "chandan-c907884" hostname as the media server.
MEDIA_SERVER = chandan-c907884

Yet, when looking thru the 'bp.conf' on the media server, it thinks the hostname is : tapi

Your name resolution has to be correct !!
Make sure your master server can correctly "bpclntcmd -hn chandan-fk34yz5" and 192.168.43.129 is returned.
Make sure your master server can correctly "bpclntcmd -hn <media server hostname>" and 192.168.43.130 is returned.
Make sure your master server can correctly "bpclntcmd -ip 192.168.43.129" and  chandan-fk34yz5 is returned.
Make sure your master server can correctly "bpclntcmd -ip 192.168.43.130" and return the correct hostname.

Make sure your media server can correctly "bpclntcmd -hn chandan-fk34yz5" and 192.168.43.129 is returned.
Make sure your master server can correctly "bpclntcmd -hn <media server hostname>" and 192.168.43.130 is returned.
Make sure your media server can correctly "bpclntcmd -ip 192.168.43.129" and  chandan-fk34yz5 is returned.
Make sure your media server can correctly "bpclntcmd -ip 192.168.43.130" and return the correct hostname.

Note: The NetBackup 'bpclntcmd' is preferred over nslookup/dig/host as bpclntcmd is linked into the resolver libraries just like the rest of NetBackup. Hence using the 'bpclntcmd' you can determin what is being returned to NetBackup.
wen
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: MHVTL config on RHEL5

wen
In reply to this post by chandan
I use redhat 5.1 after upgrading kernel to 2.6.30, this step every time
 # Modprobe scst
 # Modprobe scst_tape
 # Modprobe scst_changer
 I did not find these files, then no way to continue. You are successful, the operation can send a document to a workable me.
 I mail chenwenbin35@gmail.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: MHVTL config on RHEL5

chandan
Hi Wen,

Hope you are doing good, please try to un install and re install. If its works okay or else do let me know with out put or error.

On 2 July 2011 02:34, wen [via MHVTL - Linux Virtual Tape Library - Community Forums] <[hidden email]> wrote:
I use redhat 5.1 after upgrading kernel to 2.6.30, this step every time
 # Modprobe scst
 # Modprobe scst_tape
 # Modprobe scst_changer
 I did not find these files, then no way to continue. You are successful, the operation can send a document to a workable me.
 I mail [hidden email]


If you reply to this email, your message will be added to the discussion below:
http://mhvtl-linux-virtual-tape-library-community-forums.966029.n3.nabble.com/MHVTL-config-on-RHEL5-tp1676672p3130705.html
To unsubscribe from MHVTL config on RHEL5, click here.



--
Warm Regards
Chandan K.P
Mob No:+91-9686248363


"The tragedy of life doesn't lie in not reaching your goal. The tragedy lies in having no goal to reach." -Benjamin Mays

Loading...