View Full Version : Lampx4 Application
BeckyHester
08-13-2007, 06:45 PM
This thread is dedicated to questions and comments related to the Lampx4 - scalable lamp sample application.
The data sheet for the Lamp application can be found at:
AppLogic 2.4.x: http://doc.3tera.net/AppLogic24/RefAppLamp.html
AppLogic 2.7.x: http://doc.3tera.net/AppLogic27/RefAppLamp.html (page will be published concurrently with 2.7 release)
Please post any questions and/or comments here.
avantassel
11-29-2007, 11:31 PM
So I installed the LampX4 application and now need to get files and other web apps installed with apache but there is no out on the NAS content appliance. I need to get out to the Internet and use scp or wget. I can login to the NAS but there is no route to the Internet. What is the best approach to getting this done? Add an out appliance and link it to what? Any help would be great.
avantassel
11-30-2007, 12:02 AM
Nevermind, it's right there under Installing your Application. Should I always ssh to srv1? I guess it will distribute to the others or does the content go to the NAS? Guess I'll find out.
PeterNic
11-30-2007, 12:36 AM
avantassel,
In the LampX4 application template -- as well as with the Lamp and LampCluster templates -- all web servers are configured to pick up the web content (pages and scripts) from the NAS appliance. You will notice that /var/www/html is a symlink to a nfs-mounted file system from the NAS appliance. It is simply easier to do the changes and installs from the web server because it has access to the public network (i.e., the Internet) and it is easier to debug.
The WEB appliance has a different mode, where it will pick up the content files from a read-only volume and have that volume shared between all WEB instances. It is harder to use (you need to take the app offline to change the content) and it is marginally more secure (as the content is read-only, so if someone hacks in, they can't change the content). See the WEB data sheet in the documentation if you prefer to use that mode.
I hope you were able to get your app to work easily. Also check out the sample install of WordPress on a Lamp infrastructure elsewhere in the forums -- this should work for pretty much any php app.
Regards,
-- Peter
avantassel
11-30-2007, 12:50 AM
Thanks Peter, yea that makes a heck of lot of sense.
So I ran into another issue filling up my /mnt/fs volume
Seems it is only 49MB, I didn't see any options to set this in the appliance. Any ideas how to increase the size of this volume?
PeterNic
11-30-2007, 12:54 AM
Thanks Peter, yea that makes a heck of lot of sense.
Great!
So I ran into another issue filling up my /mnt/fs volume
Seems it is only 49MB, I didn't see any options to set this in the appliance. Any ideas how to increase the size of this volume?
Yeah, two options:
When provisioning an application instance from the template, you can specify the size of any user volume -- see the shell documentation on 'app provision'
If you want to change the size of the volume after the app has been provisioned, use the 'vol resize' command. You can see the name of the volume using 'vol list <appname>'. Note that the app needs to be stopped while resizing the volume.
Let me know if this helps.
Regards,
-- Peter
avantassel
11-30-2007, 12:54 AM
Ah Ok, found some options in the app config, guess this has to be done during provisioning...
avantassel
11-30-2007, 01:01 AM
wow if that wasn't easy, thanks again
vBulletin® v3.7.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.