r5 - 12 Aug 2008 - 10:26:34 - BeckyHYou are here: Wiki >  AppLogic24 Web > CatGatewayINSSLRCid
ALERT! AppLogic 2.4 Documentation The latest production release is AppLogic 3.0.30

Here are the steps needed to create a INSSLR class from INSSL

  1. Create an application with only INSSL and NET in it; configure the NET appliance
  2. Branch INSSL
  3. Resize volumes
    1. vol resize INSSL.boot size=300M
    2. vol resize INSSL.usr size=500M
  4. Edit the class (in EDT)
    1. Make the usr volume rw
    2. Add a ctl input terminal, proto http
    3. Add a nfy output terminal, proto http
    4. Change the class name to INSSLR
    5. Change the class description to 'Redundant Input Gateway Appliance - iptables based incoming connection gateway with firewall, SSL and failover support (x.x.x-x)'
    6. Update the Documentation URL
    7. Add the following properties:
      • fover_mode|String|default none| allowed values none|symmetric|assymetric
      • fover_local_ip| IP addr|
      • fover_remote_ip| IP addr|
      • fover_netmask| IP addr|
      • fover_nfy_prefix | String | default ?
  5. Configure the ip_addr, netmask, and gateway properties; set l7_accept to none
  6. Save the application
  7. Start the application in debug mode
  8. Login the INSSLR and do
    1. dns=<IP_OF_VALID_NAMESERVER>; echo "nameserver $dns" > /etc/resolv.conf
    2. yum install sudo heartbeat (make sure heartbeat is actually installed and run again if needed; verify with `rpm -ql heartbeat`)
    3. cd /tmp; wget http://dag.wieers.com/rpm/packages/lighttpd/lighttpd-1.4.18-1.el5.rf.i386.rpm; rpm -Uv lighttpd-1.4.18-1.el5.rf.i386.rpm; rm -rf lighttpd-1.4.18-1.el5.rf.i386.rpm;
    4. yum clean all
    5. chkconfig --add heartbeat
    6. rpm --rebuilddb
    7. rm -rf /usr/share/man/*
    8. rm -rf /usr/share/doc/*
    9. find / -type f -iname "*rpmnew" -exec rm -vf {} \;
    10. tar -xzf INSSLR.tar.gz -C /
  9. Stop the application
  10. Manage the boot volume of INSSLR (vol manage INSSLR.boot -rw) and cleanup:
    1. rm -f root/.bash_history root/.lesshst appliance/netlog etc/resolv.conf etc/sysconfig/network-scripts/ifcfg-eth0
    2. find var/log -type f -exec rm {} \;
    3. touch var/log/lastlog
    4. find tmp/ -mindepth 1 -exec rm -rf {} \;
  11. Edit class
    1. make the usr volume ro
  12. Save the application
  13. Vol resize
    1. vol resize INSSLR.boot size=120M
    2. vol resize INSSLR.usr size=140M
  14. Move the class to the /proto catalog
 
Copyright © CA 2005-2011. All Rights Reserved.
%