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