Ubuntu Server Guide
References • See the vsftpd website for more information. iSCSI Initiator (or Client)
Download 1.23 Mb. Pdf ko'rish
|
ubuntu-server-guide (1)
- Bu sahifa navigatsiya:
- Network Interfaces Configuration
References
• See the vsftpd website for more information. iSCSI Initiator (or Client) Wikipedia iSCSI Definition: iSCSI an acronym for Internet Small Computer Systems Interface , an Internet Protocol (IP)-based storage networking standard for linking data storage facilities. It provides block-level access to storage devices by carrying SCSI commands over a TCP/IP network. iSCSI is used to facilitate data transfers over intranets and to manage storage over long distances. It can be used to transmit data over local area networks (LANs), wide area networks (WANs), or the Internet and can enable location-independent data storage and retrieval. The protocol allows clients (called initiators) to send SCSI commands (CDBs) to storage devices (targets) on remote servers. It is a storage area network (SAN) protocol, allowing organizations to consolidate storage into storage arrays while providing clients (such as database and web servers) with the illusion of locally attached SCSI disks. It mainly competes with Fibre Channel, but unlike traditional Fibre Channel, which usually requires dedicated cabling, iSCSI can be run over long distances using existing network infras- tructure. Ubuntu Server can be configured as both: iSCSI initiator and iSCSI target. This guide provides com- mands and configuration options to setup an iSCSI initiator (or Client). Note: It is assumed that you already have an iSCSI target on your local network and have the appropriate rights to connect to it. The instructions for setting up a target vary greatly between hardware providers, so consult your vendor documentation to configure your specific iSCSI target. Network Interfaces Configuration Before start configuring iSCSI, make sure to have the network interfaces correctly set and configured in order to have open-iscsi package to behave appropriately, specially during boot time. In Ubuntu 20.04 LTS, the default network configuration tool is netplan.io. For all the iSCSI examples bellow please consider the following netplan configuration for my iSCSI initiator: /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg { c o n f i g : d i s a b l e d } /etc/netplan/50-cloud-init.yaml network : e t h e r n e t s : enp5s0 : match : macaddress : 0 0 : 1 6 : 3 e : a f : c4 : d6 166 s e t −name : e t h 0 dhcp4 : t r u e dhcp− i d e n t i f i e r : mac enp6s0 : match : macaddress : 0 0 : 1 6 : 3 e : 5 0 : 1 1 : 9 c s e t −name : i s c s i 0 1 dhcp4 : t r u e dhcp− i d e n t i f i e r : mac dhcp4−o v e r r i d e s : r o u t e −m e t r i c : 300 enp7s0 : match : macaddress : 0 0 : 1 6 : 3 e : b3 : c c : 5 0 s e t −name : i s c s i 0 2 dhcp4 : t r u e dhcp− i d e n t i f i e r : mac dhcp4−o v e r r i d e s : r o u t e −m e t r i c : 300 v e r s i o n : 2 r e n d e r e r : networkd With this configuration, the interfaces names change by matching their mac addresses. This makes it easier to manage them in a server containing multiple interfaces. From this point and beyond, 2 interfaces are going to be mentioned: iscsi01 and iscsi02. This helps to demonstrate how to configure iSCSI in a multipath environment as well (check the Device Mapper Multipath session in this same Server Guide). If you have only a single interface for the iSCSI network, make sure to follow the same instructions, but only consider the iscsi01 interface command line examples. Download 1.23 Mb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling