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

   Á¶È¸ 2672   Ãßõ 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 1085/5680
2014-05   4946104   Á¤ÀºÁØ1
2015-12   1482784   ¹é¸Þ°¡
2015-01   5053   ±è¹ÎöGC
2013-08   14006   ¹èÁؼ®
2018-05   3339   À±ÁØÇü
2023-11   2907   Zerr
2017-02   6831   umeo
2019-07   3391   ¿ÀÀ̵µ½½·¹¡¦
2023-11   2004   ½º¹«ÇÁ
2010-10   8065   HWMania
2020-09   3705   osthek83
2010-11   5816   °æ¹ÚÇѽùÎ
2013-09   4316   user
2015-01   4069   õ¿Üõoo³ë¡¦
2016-03   3637   Äí¿ì¿¡¿ä
2019-07   4321   ȣȣ
2022-03   1814   ¿ù¿ù¿ù
2022-04   1942   ±è·ç³ë
2015-01   4250   Apple
2023-11   1140   °ËÀºÄá
2015-01   4106   VSPress
2016-04   3594   Goldentooth