AppLogic Forums

Go Back   AppLogic Forums > Appliance Workshop > Application/Appliance workshop

Reply
 
Thread Tools Display Modes
  #1  
Old 08-13-2007, 06:45 PM
BeckyHester BeckyHester is offline
3tera
 
Join Date: Aug 2007
Posts: 55
Default Lampx4 Application

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.

Last edited by BeckyHester; 05-15-2009 at 03:40 PM.
Reply With Quote
  #2  
Old 11-29-2007, 11:31 PM
avantassel avantassel is offline
Member
 
Join Date: Nov 2007
Posts: 11
Default How to get content to the NAS content appliance

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.
Reply With Quote
  #3  
Old 11-30-2007, 12:02 AM
avantassel avantassel is offline
Member
 
Join Date: Nov 2007
Posts: 11
Default

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.
Reply With Quote
  #4  
Old 11-30-2007, 12:36 AM
PeterNic PeterNic is offline
3Tera.ChiefGeek
 
Join Date: Jan 2007
Posts: 730
Default

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
Reply With Quote
  #5  
Old 11-30-2007, 12:50 AM
avantassel avantassel is offline
Member
 
Join Date: Nov 2007
Posts: 11
Default No space left

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?
Reply With Quote
  #6  
Old 11-30-2007, 12:54 AM
PeterNic PeterNic is offline
3Tera.ChiefGeek
 
Join Date: Jan 2007
Posts: 730
Default

Quote:
Originally Posted by avantassel View Post
Thanks Peter, yea that makes a heck of lot of sense.
Great!

Quote:
Originally Posted by avantassel View Post
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:
  1. When provisioning an application instance from the template, you can specify the size of any user volume -- see the shell documentation on 'app provision'
  2. 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
Reply With Quote
  #7  
Old 11-30-2007, 12:54 AM
avantassel avantassel is offline
Member
 
Join Date: Nov 2007
Posts: 11
Default

Ah Ok, found some options in the app config, guess this has to be done during provisioning...
Reply With Quote
  #8  
Old 11-30-2007, 01:01 AM
avantassel avantassel is offline
Member
 
Join Date: Nov 2007
Posts: 11
Default

wow if that wasn't easy, thanks again
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -7. The time now is 02:01 AM.


Powered by vBulletin® Version 3.7.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.