我有两台物理服务器A和B.我想从Ubuntu 12.04升级到14.04。
这里是我目前的设置(如果我没有在这里的任何信息,让我知道,我会添加它):
服务器A:
服务器B:
两台服务器在同一个vlan上,并且容器在同一个networking上。
现在是怪异的部分。
我有一个运行apache2和drupal网页的Debian容器。
当我将这个容器从服务器A移到服务器B时,网页被破坏了。 我把这个容器从A转移到了B
# this works (I think) and it's just so I can get sudo access # without allowing root ssh login # --numeric-ids is here so the ownership remains the same inside the container # without name mapping - user1 with id 1005 on server A, and id 1002 on server B rsync -zavP --numeric-ids -e "ssh" --rsync-path="sudo rsync" A:/lxc/container B:/lxc/
所以我觉得一切都应该是一样的。 但事实并非如此。
11月如果我正在运行服务器A上的容器,请求(主题汉字 )
site.com/sites/all/themes/kanji/sf/js/superfish.js
当我将容器移动到服务器B时,同样的要求看起来像(主题bober )这将得到一个404错误,因为它不存在,整个网站看起来破碎。
site.com/sites/all/themes/bober/sf/js/superfish.js
现在我不想在drupal中解决这个问题,因为如果有不同的东西,可能还会有其他的错误,我还没有注意到。 我也担心我已经移动的所有其他容器