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

   Á¶È¸ 2665   Ãßõ 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 812/5679
2014-05   4942439   Á¤ÀºÁØ1
2015-12   1479257   ¹é¸Þ°¡
2020-04   2664   Äܵ¥¼­ºÎ·¯¡¦
2019-12   2664   ÇູÇϼ¼
2019-05   2664   Smile
2020-08   2664   ¸Ó¸®°¨ÀÚ
2020-03   2664   ±ô¹Ú±ô¹Ú°¡
2020-04   2664   ÃÖÀ翵
2019-11   2664   ¿¹¼úÀºÆøÆÈ
2022-05   2664   2CPUI±è¼¼ÈÆ
2021-11   2664   Ȧ¸¯0o0
2023-10   2664   Ai20
2023-07   2664   °ËÀºÄá
2022-02   2664   ¾î¸¥ÀÌ
2019-09   2665   Á¤»ó¾ï
2018-11   2665   Á¶Áö¿¬
2019-03   2665   ¾ÈÇü°ï
2018-12   2665   ³×ÀÌÃÄ
2023-11   2665   ºí¶óºí¶ó
2018-12   2665   °¡ºü·Î±¸³ª
2022-04   2665   VSPress
2019-11   2665   Æĸ®´ë¿Õ