Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

htmlLocalCopySwitch functionality needs to be "fixed" #21

Open
UmakanthOS opened this issue Jun 21, 2021 · 2 comments
Open

htmlLocalCopySwitch functionality needs to be "fixed" #21

UmakanthOS opened this issue Jun 21, 2021 · 2 comments

Comments

@UmakanthOS
Copy link
Contributor

The idea behind htmlLocalCopySwitch is that setting the switch to true results in a full copy of the filestructure / files from the network share being duplicated on the VMSS node/instance local disk. There's a bug with how this works in the current LAMP template.

The bug is that the wp-content directory under /var/www/html on the VMSS node is still pointing to the network share (under /azlamp) and not a true local copy. This means that any content being served from the VMSS node will result in accesses to the network share resulting in poor performance. If htmlLocalCopySwitch is set to true, the VMSS local copies need to be true local copies.

Repro steps:

  1. Deploy a LAMP deployment: I used CMS:WordPress to true, used a D16s_v4 as the VMSS size despite choosing the Large deployment option
  2. SSH into VMSS instance after infrastructure creation and check the directory structure under /var/www/html/. Specifically check where wp-content points to.
@UmakanthOS
Copy link
Contributor Author

Flagging with @ummadisudhakar and @naioja

@UmakanthOS
Copy link
Contributor Author

Please also note that the issue here is WP specific but the idea is that htmlLocalCopySwitch should "just work" and no symbolic links to the network file system should manifest themselves under the VMSS /var/www/html structure :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant