How to do this setup : LB+2*WindowsEC2+ "Active" Shared Drive.

0

Hello everyone ,
Instead of finding the solution for my last post i thought it would be better to ask .

I have this enveironment :

  • one Load Balancer with a target group of 2 windowss EC2 instances running a web app on port 80
  • both windowss ec2 must have a shared drive eg: an " D:\ "

What would be the best aproach for this situation ?
I already created this env. but i cannot succed in creating the shared drive.

What i have tried :

  1. an FSX share but after i joined the windows ec2 instances the tomcat service cannot see that drive. I have tried to run the tomcat service either with the Local System user(default) or the Domain User that is an local Admin and also with the Local Workgroup Adminstrator.
    Here i have also tried with MKLINK and same outcome.
  2. I thought in creating a FailOverCluster between the nodes and then add a storadge and create a Cluster Shared Volume.
    This might work but i think its an "overkill" as infrustructure and also prices.
    (even thou im not sure what type of storage to add to the ec2 instances , in phisical env. this would require a SAN with ISCSI).

So , please let me know if there are other solution i should take in consideration.

Thank you for reading my post.

BogdanN
질문됨 4년 전199회 조회
1개 답변
0

Hello @ all ,
I have found the solution.

I just did the MKLINK directly to the share .
So instead of net use x:\ \fs-abcd\Share and then mklink /d x:\ c:\abc
i did mklink /d \fs-abcd\Share c:\abc

Found out that if you map the shared drive as a local Drive eg : x:\ it will not work.

BogdanN
답변함 4년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠