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

   Á¶È¸ 2685   Ãßõ 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 815/5683
2014-05   4954942   Á¤ÀºÁØ1
2015-12   1491443   ¹é¸Þ°¡
2023-07   2683   ȸ¿ø
2022-12   2684   osthek83
2021-02   2684   ÇູÇϼ¼
2018-12   2684   ³²±Ã¿ø
2019-09   2684   »ç´Ð
2022-03   2684   ¸¶Áö¸·¼¼´ë
2018-12   2684   ³ª³Ê¿ì¸®
2023-04   2684   grzlr
2018-11   2684   ÀǷӰԻ츮¶ó
2020-11   2684   ¾Æ123¾Æ
2018-11   2684   ¹Ì³ª¸®³ª¹°
2019-03   2684   Àº´ÜÇâ
2020-05   2684   ¸®Å°ÆÄ¿ï·¯
2023-01   2684   ÀϹÝÀ¯Àú
2021-01   2684   ½Öcpu
2021-01   2684   hyper
2019-01   2685   ±è°Ç¿ì
2021-07   2685   ÀÌÁöÆ÷Åä
2022-03   2685   ¸»¹ú
2020-11   2685   fiento