|
| |
|
°Ô½Ã¹° 260°Ç
|
|
|
[Redhat5] ¸®´ª½º¿¡¼ Tape µð¹ÙÀ̽º ¼³Á¤ (Å×ÀÙ) |
|
±Û¾´ÀÌ :
theko
³¯Â¥ : 2014-12-10 (¼ö) 09:06
Á¶È¸ : 9125
|
¹®ÀÇ ÁֽŠ¸®´ª½º¿¡¼ Tape µð¹ÙÀ̽º ¼³Á¤ÇÏ´Â ¹ý¿¡ ´ëÇÏ¿© ¾È³» µå¸³´Ï´Ù.
Tape µð¹ÙÀ̽º¸¦ ±¸¼ºÇÏ´Â ÀýÂ÷´Â ´ÙÀ½ StepÀ» µû¸£°Ô
µË´Ï´Ù.
1. SAN ZoningÀ» ÅëÇØ µð¹ÙÀ̽º ÇÒ´çÀ» ¿Ï·á Çß´Ù¸é, ÀçºÎÆà ÈÄ ÀÚµ¿À¸·Î µð¹ÙÀ̽º ÀνÄÀÌ µÇÁö¸¸, ºÒ°¡ÇÇÇÏ°Ô Àç ºÎÆÃÀ» ÇÒ¼ö ¾ø´Â
ȯ°æÀ̶ó¸é, µ¿ÀûÀ¸·Î µð¹ÙÀ̽º¸¦ ÀνĽÃÅ°´Â ÀÛ¾÷À»
¸ÕÀú ÁøÇàÇؾßÇÕ´Ï´Ù.
2. ¸®´ª½º OS¿¡¼ µð¹ÙÀ̽º°¡ ÀνÄÀÌ µÇ¸é udev·Î ÅëÇØ µð¹ÙÀ̽º °íÁ¤ÀÛ¾÷À» ÇØÁà¾ß ÇÕ´Ï´Ù.
¸®´ª½º¿¡¼´Â SCSI Device¿Í ¸¶Âù°¡Áö·Î SCSI Tape Device´Â Àç ºÎÆýà µð¹ÙÀ̽º À̸§ÀÌ PersistentÇÏ°Ô
°íÁ¤µÇÁö ¾Ê¾Æ, udev¸¦ ÅëÇØ µð¹ÙÀ̽º °íÁ¤ÀÛ¾÷À» ÇؾßÇÕ´Ï´Ù.
Áß¿ä : µð¹ÙÀ̽ºÀÇ °íÁ¤ ÀÛ¾÷Àº
st(SCSI Tape)µð¹ÙÀ̽º°¡ ¾Æ´Ñ nst(No rewind SCSI Tape)µð¹ÙÀ̽º¸¦ udev·Î °íÁ¤ÇؾßÇÕ´Ï´Ù.
UDEV¸¦ ÅëÇÑ Persistent Device ¼³Á¤ÇÏ´Â
¹æ¹ý
< Udev ÆÄÀÏ »ý¼º Àü ÇÊ¿äÇÑ »çÇ×>
* udev¸¦ ÅëÇÑ ÆÄÀÏ Á¶È¸ ½Ã °íÁ¤ÇÑ µð¹ÙÀ̽º ÆÄÀÏ(8°³
µð¹ÙÀ̽º)¿¡ ´ëÇÑ SCSI ID¸¦ Á¶È¸ ÇÕ´Ï´Ù.
´ÙÀ½ ¸í·ÉÀ» ÅëÇØ ÀÎ½ÄµÈ 8°³ÀÇ Tape µð¹ÙÀ̽º¿¡ ´ëÇÑ SCSI_ID¸¦ Á¶È¸ ÇÕ´Ï´Ù.
# ls -al /dev/nst* »ý¼ºµÈ µð¹ÙÀ̽º ÆÄÀÏ È®ÀÎ
# scsi_id --whitelisted --replace-whitespace --device=/dev/<device_name> ## 8°³ÀÇ µð¹ÙÀ̽º¿¡ ´ëÇÏ¿© ¸ðµÎ Á¶È¸¸¦ ÇÕ´Ï´Ù. °á°ú°ªÀº
¸ðµÎ ´Ù¸¥ À¯ÀÏÇÑ °ªÀÌ ³ª¿É´Ï´Ù.
SHP_C7438A_0005474898
1. udev rule ÆÄÀÏ »ý¼º
/etc/udev/rules.d/ µð·ºÅ丮 ¾Æ·¡ 90-netbackup_udev.rules ÆÄÀÏÀ» »ý¼º
ÇÕ´Ï´Ù.
ÆÄÀÏ ¾È¿¡ À§¿¡¼ Á¶È¸ÇÑ µð¹ÙÀ̽ºº° SCSI_IDÀÇ
°á°ú°ªÀ» ¾Æ·¡ ³ë¶õ»ö Ç¥±âµÈ ºÎºÐ¿¡ °¢°¢ ±âÀÔÇÕ´Ï´Ù.
¾Æ·¡¿Í °°ÀÌ 8°³ µð¹ÙÀ̽º ÆÄÀÏÀ» »ý¼ºÇÕ´Ï´Ù. ºÓÀº»öÀ»
Ç¥±âµÈ À̸§Àº º¯°æ °¡´ÉÇÕ´Ï´Ù.
KERNEL=="nst*",
BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted
--replace-whitespace --device=%N", RESULT=="UUID_of_device",
SYMLINK+="tape1%n"
KERNEL=="nst*",
BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted
--replace-whitespace --device=%N", RESULT=="UUID_of_device", SYMLINK+="tape2%n"
KERNEL=="nst*",
BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted
--replace-whitespace --device=%N", RESULT=="UUID_of_device", SYMLINK+="tape3%n"
KERNEL=="nst*",
BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted
--replace-whitespace --device=%N", RESULT=="UUID_of_device", SYMLINK+="tape4%n"
KERNEL=="nst*",
BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted
--replace-whitespace --device=%N", RESULT=="UUID_of_device", SYMLINK+="tape5%n"
KERNEL=="nst*",
BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted
--replace-whitespace --device=%N", RESULT=="UUID_of_device", SYMLINK+="tape6%n"
KERNEL=="nst*",
BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted
--replace-whitespace --device=%N", RESULT=="UUID_of_device", SYMLINK+="tape7%n"
KERNEL=="nst*",
BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted
--replace-whitespace --device=%N", RESULT=="UUID_of_device", SYMLINK+="tape8%n"
ÆÄÀÏ ÀúÀå ÈÄ ´ÙÀ½ ¸í·ÉÀ» ½ÇÇàÇÕ´Ï´Ù
# udevadm trigger
»ý¼ºµÈ ½Éº¼ µð¹ÙÀ̽º¸¦ È®ÀÎ ÇÕ´Ï´Ù.
# ls -al /dev/tape*
¾Æ·¡´Â RHEL6¿¡ ´ëÇÑ Tape µð¹ÙÀ̽º »ý¼º °¡À̵å ÀÔ´Ï´Ù.
https://access.redhat.com/solutions/285703
|
|
|