ERROR OCURRED

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Wednesday, January 16, 2013

ISCSI Setup for Bacula

Posted on 7:49 AM by Unknown
In My setup i have Dell TL-2000, so here below i am showing you some steps how to connect Bacula server with TL-2000

In Previous section you read, Bacula setup
http://raman-kumar.blogspot.com/2013/01/bacula-setup-by-rpm-in-centos-63.html

Now after that

Make sure you install iscsi-initiator  and MTX

The mtx command controls single or multi-drive SCSI media changers such as tape changers, autoloaders, tape libraries, or optical media

To Install, follow the following Steps.


#yum install mtx

Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mtx.x86_64 0:1.3.12-5.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package        Arch              Version                 Repository       Size
================================================================================
Installing:
 mtx            x86_64            1.3.12-5.el6            dir1            119 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 119 k
Installed size: 348 k
Is this ok [y/N]: y
Downloading Packages:
mtx-1.3.12-5.el6.x86_64.rpm                              | 119 kB     00:00  
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : mtx-1.3.12-5.el6.x86_64                                      1/1
  Verifying  : mtx-1.3.12-5.el6.x86_64                                      1/1

Installed:
  mtx.x86_64 0:1.3.12-5.el6                                                  

Complete!





#yum install iscsi-initiator-utils

Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package iscsi-initiator-utils.x86_64 0:6.2.0.872-41.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                    Arch        Version                 Repository
                                                                           Size
================================================================================
Installing:
 iscsi-initiator-utils      x86_64      6.2.0.872-41.el6        dir1      654 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 654 k
Installed size: 2.2 M
Is this ok [y/N]: y
Downloading Packages:
iscsi-initiator-utils-6.2.0.872-41.el6.x86_64.rpm        | 654 kB     00:00  
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : iscsi-initiator-utils-6.2.0.872-41.el6.x86_64                1/1
  Verifying  : iscsi-initiator-utils-6.2.0.872-41.el6.x86_64                1/1

Installed:
  iscsi-initiator-utils.x86_64 0:6.2.0.872-41.el6                            

Complete!




Make Sure service always on once machine restarted as well.

[root@backup01 bacula]# chkconfig iscsi on


after that do some changes in conf file

#vi /etc/iscsi/iscsid.conf

node.startup = automatic
node.session.timeo.replacement_timeout = 144

Save the file and start the iscsi services.

then try to discover your tape drive. with following command.

iscsiadm –m discovery –t st -p

If everything goes ok then you can able to find this output


[root@backup01 bacula]# iscsiadm -m discovery -t st -p 192.168.200.177
Starting iscsid:                                           [  OK  ]
192.168.200.177:3260,1 iqn.1988-11.com.dell.202dca:eui.5000e11150b98003.0
192.168.200.178:3260,1 iqn.1988-11.com.dell.202dca:eui.5000e11150b98003.0
192.168.200.177:3260,1 iqn.1988-11.com.dell.202dca:eui.5000e11150b98002.0
192.168.200.178:3260,1 iqn.1988-11.com.dell.202dca:eui.5000e11150b98002.0


here is a trick then go under /dev/st or sg but you cannot see anything...after that restart services again  now you can see output like this.


[root@tbmh2ubackup01 bacula]# /etc/init.d/iscsi restart
Stopping iscsi:                                            [  OK  ]
Starting iscsi:                                            [  OK  ]

Now you can see lot of devise.

[root@tbmh2ubackup01 bacula]# ls /dev/st
st0     st0m    st1l    st2a    st3     st3m    stdout
st0a    st1     st1m    st2l    st3a    stderr
st0l    st1a    st2     st2m    st3l    stdin


More Info you can find by this way as well.

[root@backup01 bacula]# cat /proc/scsi/scsi 
Attached devices:
Host: scsi5 Channel: 00 Id: 00 Lun: 00
  Vendor: IBM      Model: ULT3580-HH4      Rev: BBNF
  Type:   Sequential-Access                ANSI  SCSI revision: 06
Host: scsi4 Channel: 00 Id: 00 Lun: 00
  Vendor: IBM      Model: ULT3580-HH4      Rev: BBNF
  Type:   Sequential-Access                ANSI  SCSI revision: 06
Host: scsi3 Channel: 00 Id: 00 Lun: 00
  Vendor: IBM      Model: ULT3580-HH4      Rev: BBNF
  Type:   Sequential-Access                ANSI  SCSI revision: 06
Host: scsi2 Channel: 00 Id: 00 Lun: 00
  Vendor: IBM      Model: ULT3580-HH4      Rev: BBNF
  Type:   Sequential-Access                ANSI  SCSI revision: 06



[root@backup01 bacula]# dmesg | grep IBM
scsi 5:0:0:0: Sequential-Access IBM      ULT3580-HH4      BBNF PQ: 0 ANSI: 6
scsi 4:0:0:0: Sequential-Access IBM      ULT3580-HH4      BBNF PQ: 0 ANSI: 6
scsi 3:0:0:0: Sequential-Access IBM      ULT3580-HH4      BBNF PQ: 0 ANSI: 6
scsi 2:0:0:0: Sequential-Access IBM      ULT3580-HH4      BBNF PQ: 0 ANSI: 6

after that go to backup server and start teh srvices make it permanet as well

[root@backup01 bacula]# /etc/init.d/bacula-dir start
Starting bacula-dir:                                       [  OK  ]
[root@backup01 bacula]# chkconfig bacula-dir on
[root@backup01 bacula]# /etc/init.d/bacula-sd start
Starting bacula-sd:                                        [  OK  ]
[root@backup01 bacula]# chkconfig bacula-sd on

[root@backup01 bacula]# /etc/init.d/bacula-fd start
Starting bacula-fd:                                        [  OK  ]
[root@ubackup01 bacula]# chkconfig bacula-fd on


I Next Section i will share main configuration of dir.conf and sd.conf as well. 

Enjoy.

Note :- Keep it Simple




Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • No package 'lua5.1' found
    hecking for LUA51... no checking for LUA51... configure: error: Package requirements (lua5.1 >= 5.1) were not met: No package 'lua5.1...
  • response to SOA query was unsuccessful: solved
    check your zone file [root@inf1sysadm1 data]# pwd /var/named/data # cat ind.raman.com.zone $ORIGIN . $TTL 3600 ; 1 hour ind.raman.com IN SO...
  • can't locate your x11 installation Fedora
    While install Conky, system through this error. Solution:- You need to install X11 Software Dev Package. Login on system with root user ...
  • Qmail Installation & Configuration step by step
    Tested under CentOS 5.8  64bit machine. 1)Packges which i installed for Qmail. httpd-2.2.3-76 php-5.1.6-39 perl-5.8.8 -38 gcc-4.1.2 mysql-5....
  • Dell MD3200 SAS Cabling With Diagram
    I have 2 MD3200 with SAS Ports + 2 Power Edge720. Task to connect Both DAS with Both server and make sure Both server showing  all DAS Parti...
  • It is safe to clean windows prefetch folder and registry folder ?
     It is safe to clean windows prefetch folder and registry folder ? Will this boost Windows operating system capabilities ? Many of you hav...
  • Windows 7 & Windows 8 fail to start
    Windows 7 fail to boot, what should I do? Is Windows 7 failing to boot after you installed the loader or after you just installed a fresh ne...
  • Steps how to change VolStatus in Bacula through bonsole.
    In my example MediaId=4 or Volumename=000018L4 shows volstatus is Purged. *list volumes Pool: Default +---------+------------+-----------+--...
  • Adobe Photoshop CS5 Error 16 , Adobe Photoshop CS5 Error 7
    When you install Adobe Photoshop CS5 you might get some errors. In case you get one you will see a code and a little description. Is very im...
  • X connection to localhost:10.0 broken (explicit kill or server shutdown).
    Solution:- With Xhost, you can solve this issue.

Categories

  • Adobe
  • Players
  • Reviews
  • Windows

Blog Archive

  • ▼  2013 (27)
    • ►  October (3)
    • ►  August (1)
    • ►  June (1)
    • ►  April (3)
    • ►  February (10)
    • ▼  January (9)
      • Asus X75VD ty165h - review and comments
      • Windows 7 & Windows 8 fail to start
      • SSH take too much time
      • How to run Dell MD manager setup in Linux to Conf...
      • ISCSI Setup for Bacula
      • Bacula Setup by RPM in Centos 6.3
      • steps to Create Vlan in dell 6248/6224 Switch
      • Bacula RPM based Installation Steps
      • How Enable SSH in Dell 6200/6248/6224 Serie switches
  • ►  2012 (29)
    • ►  December (2)
    • ►  November (7)
    • ►  October (10)
    • ►  September (4)
    • ►  August (1)
    • ►  June (2)
    • ►  April (1)
    • ►  March (1)
    • ►  January (1)
  • ►  2011 (36)
    • ►  December (3)
    • ►  November (3)
    • ►  October (1)
    • ►  September (5)
    • ►  August (4)
    • ►  May (2)
    • ►  April (4)
    • ►  March (5)
    • ►  February (2)
    • ►  January (7)
  • ►  2010 (24)
    • ►  December (1)
    • ►  November (1)
    • ►  October (4)
    • ►  August (1)
    • ►  May (1)
    • ►  April (1)
    • ►  March (2)
    • ►  February (5)
    • ►  January (8)
  • ►  2009 (18)
    • ►  December (6)
    • ►  November (3)
    • ►  August (1)
    • ►  July (2)
    • ►  June (1)
    • ►  May (1)
    • ►  April (1)
    • ►  March (1)
    • ►  February (1)
    • ►  January (1)
  • ►  2008 (16)
    • ►  December (1)
    • ►  October (1)
    • ►  August (1)
    • ►  July (5)
    • ►  April (2)
    • ►  February (1)
    • ►  January (5)
  • ►  2007 (4)
    • ►  July (3)
    • ►  June (1)
Powered by Blogger.

About Me

Unknown
View my complete profile