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

   Á¶È¸ 2666   Ãßõ 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 4587/5680
2014-05   4944994   Á¤ÀºÁØ1
2015-12   1481689   ¹é¸Þ°¡
2016-08   10396   ĸƾ¾Æ¸Þ¸®Ä«³ë
2020-01   2705   ±èµ¿¿µ³²
2023-01   945   ±Þ¿©ÀÏ¿¡¸¸³ª¿ä
2018-12   4419   Åë½Åº¸¾È
2017-09   5581   ÁÖŹé
2017-09   3727   ¹ÙºÎÆÃÀÌ
09-11   506   ÀÌ¿øÀçK
2012-04   4312   ¹Ì¼ö¸Ç
2018-12   2705   ±è¿µ±â
2021-05   1619   Áý±¸¼®
2012-04   4713   ¿ì¾Ó»Ñ¾Ó
2014-04   3718   ¹Ì¼ö¸Ç
2016-08   3836   perls
2020-02   1978   ¸®Å°ÆÄ¿ï·¯
2014-04   6814   VSPress
2017-09   3996   ÂîÁö·Î
2020-02   2667   ¯¯¸Ç
2015-08   3926   Àü¼³¼ÓÀǹ̡¦
2014-04   14950   ÀÌ¿µ±Ô
2018-12   2696   extra