• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to Setup Data-Centers with Cluster and Add ISCSI Storage in Linux

{{postValue.id}}

To Setup Data-Centers with Cluster and Add ISCSI Storage in Linux

Data Center consists of Clusters that contains a set of nodes. All the storage domains are attached to Data Center. Multiple data centers in the same infrastructure could be managed separately by the same RHEVM portal. How to setup Data-centers with cluster and add ISCSI storage is explained in this article.


To create a Data center and cluster

Select Data center and click New
Setup-Data-Centers-with-Cluster-and-Add-ISCSI-Storage-Linux-manage-Multiple-data-centers-in-same-infrastructure-by-RHEVM-portal-Select-Data-center-New
Enter the Name and select the storage type as shared and click OK

Setup-Data-Centers-with-Cluster-and-Add-ISCSI-Storage-Linux-manage-Multiple-data-centers-in-same-infrastructure-by-RHEVM-portal-storage-type
Click Configure cluster
Setup-Data-Centers-with-Cluster-and-Add-ISCSI-Storage-Linux-manage-Multiple-data-centers-in-same-infrastructure-by-RHEVM-portal-Configure-cluster
Give a Name for the cluster and select the CPU type of your system and click OK
Setup-Data-Centers-with-Cluster-and-Add-ISCSI-Storage-Linux-manage-Multiple-data-centers-in-same-infrastructure-by-RHEVM-portal-Name-for-cluster

Select the Hosts tab and select the unconfigured host and click Approve button.
Setup-Data-Centers-with-Cluster-and-Add-ISCSI-Storage-Linux-manage-Multiple-data-centers-in-same-infrastructure-by-RHEVM-portal-Hosts-tab
Select the data center and cluster then click OK.
Setup-Data-Centers-with-Cluster-and-Add-ISCSI-Storage-Linux-manage-Multiple-data-centers-in-same-infrastructure-by-RHEVM-portal-Select-data-center-cluster
Now you can see the status is changed from pending approval to installing.
Setup-Data-Centers-with-Cluster-and-Add-ISCSI-Storage-Linux-manage-Multiple-data-centers-in-same-infrastructure-by-RHEVM-portal-installing
Once the installation is completed, the status changes from installing to up.
Setup-Data-Centers-with-Cluster-and-Add-ISCSI-Storage-Linux-manage-Multiple-data-centers-in-same-infrastructure-by-RHEVM-portal-installation-completed

To Create a ISCSI storage node

Switch on the Centos 6.7 machine and open the terminal.
Install the scsi-target-utils package

[root@linuxhelp Desktop]# yum install scsi-target-utils
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
.
.
.
Installed:
  scsi-target-utils.x86_64 0:1.0.24-18.el6                                      
Dependency Installed:
  libibverbs.x86_64 0:1.1.8-4.el6            librdmacm.x86_64 0:1.0.21-0.el6   
  perl-Config-General.noarch 0:2.52-1.el6    sg3_utils.x86_64 0:1.28-12.el6    
Dependency Updated:
  sg3_utils-libs.x86_64 0:1.28-12.el6                                           
Complete!

Open the scsi configuration file, and add the following lines at the end.

[root@linuxhelp Desktop]# vim /etc/tgt/targets.conf
< target iqn.2015-07.org.mydomain:server.target1> 
backing-store /dev/sdb
< /target> 

Save the file and then start the tgtd service.

[root@linuxhelp Desktop]# service tgtd start
Starting SCSI target daemon:                               [  OK  ]
[root@linuxhelp Desktop]# chkconfig tgtd on

Go to the Virtualisation manager and select Data-center storage tab. Click new domain and enter the iscsi details as shown below.
Select the discover targets and enter the ip address of the centos machine and click discover.

Now select the iscsi storage and click login
Setup-Data-Centers-with-Cluster-and-Add-ISCSI-Storage-Linux-manage-Multiple-data-centers-in-same-infrastructure-by-RHEVM-portal-login
Select the ISCSI storage disk and click OK
Setup-Data-Centers-with-Cluster-and-Add-ISCSI-Storage-Linux-manage-Multiple-data-centers-in-same-infrastructure-by-RHEVM-portal-ISCSI-storage-disk
Now the ISCSI storage is successfully added to the node.
Setup-Data-Centers-with-Cluster-and-Add-ISCSI-Storage-Linux-manage-Multiple-data-centers-in-same-infrastructure-by-RHEVM-portal-successfully-added-to-node

Tags:
dylan
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What is main terms of using iSCSI?

A

The iSCSI standard is a new protocol that layers on top of TCP and is designed to transport SCSI commands and data across an IP network, most commonly across Ethernet.

Q

Who is developing the iSCSI standard?

A

The iSCSI standard is being developed by a working group under the Internet Engineering Task Force (IETF). This group is best known for its RFCs, which are documents that set standards for the Internet. The iSCSI documents should be released from the working group in mid-2002, and become official RFCs about a year later.

Q

What does an iSCSI device look like to the operating system?

A

From a software perspective, an iSCSI device looks just like a locally-attached SCSI drive. The SCSI commands are intercepted and directed to the iSCSI layer. They are encapsulated, then sent out as TCP packets. At the far end the reverse happens, so a SCSI command arrives at the device.

Q

Does the regular Ethernet switches work with iSCSI?

A

From the network perspective, iSCSI traffic just looks like another IP packet. All existing Ethernet switches and IP routers work transparently.

Q

What is the difference between the storage routers and regular routers?

A

Storage Routers have additional features that only apply to Storage Area Networks (SANs). The primary one being support for iSNS to facilitate device discovery, access control, and heartbeat monitoring. Some storage routers also have the ability to convert between interfaces, such as SCSI-iSCSI, or Fibre Channel - iSCSI.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Isaiah ?
What is the use of SUID & SGID commands

How to set the special permissions to the files and folders using SUID and SGID commands...

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.