¼¾½ºÀ§Ä¡ Á¶´×...

   Á¶È¸ 2669   Ãßõ 0    

안녕하세요 .

서버엔지니어인데 센스위치 를 조닝해야하는 일이 생겼습니다...(아 젠장...)

인터넷을 찾아 보았지만 잘이해가안갑니다... 

서버는 총 8대, GFS 볼륨목적으로 사용할거라 모든볼륨은 모든서버가 다 바라보게됩니다.

서버는 총8대 HBA 포트2개 포트조닝으로할 예정입니다.

스토리지는 컨트롤러당 4개의 인터페이스존재(스토리지A컨트롤러는 0,1,2,3  B컨트롤러는 0,1,2,3 이렇습니다.)


SW01,SW02 중 0번~7번이 서버에 연결됩니다

그리고 각스위치마다 8번~11번은 컨트롤러 에연결됩니다 예를 들어 Server01_1(서버번호_포트번호) .   A_1(스토리지컨트롤러A의 1번포트)

이렇게됩니다.

인터넷을 찾아보았습니다. 그래서 명령어를 만들어보았는데 이게 맞는것인지모르겠습니다..


alicreate와 zonecreate는 어떻게든 해봣는데 그다음부턴 이해가안갑니다.. ㅜ.ㅜ  


아 참고로 아래 만든것은 sw02번기준이아닌 sw01번 기준으로해보았습니다.


두서없이 적었어요 센엔지니어분 계시면 잠시만 봐주세요....


alicreate "Server01_Port0", "1,0"
alicreate "Server02_Port0", "1,1"
alicreate "Server03_Port0", "1,2"
alicreate "Server04_Port0", "1,3"
alicreate "Server05_Port0", "1,4"
alicreate "Server06_Port0", "1,5"
alicreate "Server07_Port0", "1,6"
alicreate "Server08_Port0", "1,7"
alicreate "Storage_B_0", "1,8"
alicreate "Storage_B_2", "1,9"
alicreate "Storage_A_0", "1,10"
alicreate "Storage_A_2", "1,11"


zonecreate Server01_Port0_Storage_B_0, "Server01_Port0; Storage_B_0"
zonecreate Server01_Port0_Storage_B_2, "Server01_Port0; Storage_B_2"
zonecreate Server01_Port0_Storage_A_0, "Server01_Port0; Storage_A_0"
zonecreate Server01_Port0_Storage_A_2, "Server01_Port0; Storage_A_2"

zonecreate Server02_Port0_Storage_B_0, "Server02_Port0; Storage_B_0"
zonecreate Server02_Port0_Storage_B_2, "Server02_Port0; Storage_B_2"
zonecreate Server02_Port0_Storage_A_0, "Server02_Port0; Storage_A_0"
zonecreate Server02_Port0_Storage_A_2, "Server02_Port0; Storage_A_2"

zonecreate Server03_Port0_Storage_B_0, "Server03_Port0; Storage_B_0"
zonecreate Server03_Port0_Storage_B_2, "Server03_Port0; Storage_B_2"
zonecreate Server03_Port0_Storage_A_0, "Server03_Port0; Storage_A_0"
zonecreate Server03_Port0_Storage_A_2, "Server03_Port0; Storage_A_2"

zonecreate Server04_Port0_Storage_B_0, "Server04_Port0; Storage_B_0"
zonecreate Server04_Port0_Storage_B_2, "Server04_Port0; Storage_B_2"
zonecreate Server04_Port0_Storage_A_0, "Server04_Port0; Storage_A_0"
zonecreate Server04_Port0_Storage_A_2, "Server04_Port0; Storage_A_2"

zonecreate Server05_Port0_Storage_B_0, "Server05_Port0; Storage_B_0"
zonecreate Server05_Port0_Storage_B_2, "Server05_Port0; Storage_B_2"
zonecreate Server05_Port0_Storage_A_0, "Server05_Port0; Storage_A_0"
zonecreate Server05_Port0_Storage_A_2, "Server05_Port0; Storage_A_2"

zonecreate Server06_Port0_Storage_B_0, "Server06_Port0; Storage_B_0"
zonecreate Server06_Port0_Storage_B_2, "Server06_Port0; Storage_B_2"
zonecreate Server06_Port0_Storage_A_0, "Server06_Port0; Storage_A_0"
zonecreate Server06_Port0_Storage_A_2, "Server06_Port0; Storage_A_2"

zonecreate Server07_Port0_Storage_B_0, "Server07_Port0; Storage_B_0"
zonecreate Server07_Port0_Storage_B_2, "Server07_Port0; Storage_B_2"
zonecreate Server07_Port0_Storage_A_0, "Server07_Port0; Storage_A_0"
zonecreate Server07_Port0_Storage_A_2, "Server07_Port0; Storage_A_2"

zonecreate Server08_Port0_Storage_B_0, "Server08_Port0; Storage_B_0"
zonecreate Server08_Port0_Storage_B_2, "Server08_Port0; Storage_B_2"
zonecreate Server08_Port0_Storage_A_0, "Server08_Port0; Storage_A_0"
zonecreate Server08_Port0_Storage_A_2, "Server08_Port0; Storage_A_2"

"                      



 



ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.
cfg »ý»ó
cfgcreate "san01","Server01_Port0_Storage_B_0"

cfgÃß°¡
cfgadd "san01","Server01_Port0_Storage_B_2"
±×¸®°í ´Ù addÇÏ°í ¸¶Áö¸·¿¡
cfgenbale "san01"
ÀÌ·¯°Å¸é config Àû¿ëµÇ°í save µË´Ï´Ù
²À cfgsave¸¦ ¸ÕÁö ÇÏÁö ¸¶½Ê½Ã¿ä ±×·¡¾ß Ʋ·ÈÀ»¶§ ³ª°«´Ù µé¾î¿À¸é óÀ½ºÎÅÍ °¡´ÉÇÕ´Ï´Ù
¾Æ¹«·¡µµ ¼öÁ¤ÇÏ´Â°Í º¸´Ù óÀ½ºÎÅÍ ´Ù ºÎÄ¡´Â°Ô ½±½À´Ï´Ù
¸¶Áö¸·À¸·Î cfgshow·Î ºÁÁֽðí¿ä
zonecreate Server08_Port0_Storage_A_2, "Server08_Port0; Storage_A_2"

ÀÌ°Ô ¾Æ´Ï°í
      zonecreate "Server08_Port0_Storage_A_2", "Server08_Port0;Storage_A_2"


QnA
Á¦¸ñPage 1062/5680
2015-12   1481916   ¹é¸Þ°¡
2014-05   4945215   Á¤ÀºÁØ1
2020-03   3135   ¶¥ºÎÀÚ
2020-03   2065   catstyle
2020-03   3271   ³ªÀÇÁ¤Ã¼´Â
2020-03   2613   2CPU2
2020-03   2437   À嵿°Ç2014
2020-03   2871   Psychophysi¡¦
2020-03   3238   ±¸½ÊÆò
2020-03   2268   ÃÖÀ翵
2020-03   2364   ½Ãµµ´Ï
2020-03   2629   ¾Æ¸®¾Æ¸®
2020-03   3498   2CPUI±è¼¼ÈÆ
2020-03   2621   green1052
2020-03   3245   ¸®´ª¼­
2020-03   3855   µþ±á²¿¸¶
2020-03   3333   pibang
2020-03   1975   ¿À»óÈÆ
2020-03   2266   winner712
2020-03   2632   soom
2020-03   2911   ±³±³±³
2020-03   3149   ¹é·æ