AppLogic 2.3 Beta Documentation The latest production release is AppLogic 3.0.30 VPS_SOL10 - VPS based on Solaris 10 - Implementation Design
Base Class
The base class for the VPS_SOL10 singleton is the SOL10 server appliance based on Solaris 10.
Class Volume
The volume configuration for the VPS_SOL10 singleton is determined by the base class image from which it is created. The setup chosen for the 1.0. release is as follows:
- boot volume: 4 GB, mounted as "/", writeable, instantiable
The boot volume contains the same Solaris 10 installation as the one present on the SOL10 appliance.
Packages
VPS_SOL10 includes the same packages as SOL10. In addition these packages are installed to support expect, which is used to script password changes:
- expect-5.43.0-sol10-x86-local.gz
- tcl-8.5.2-sol10-x86-local.gz
- tk-8.5.2-sol10-x86-local.gz
Contents of the release directory
Exported application image
-
VPS_SOL10-1.0.0-1.tar.bz2
Application sources
-
VPS_SOL10-1.0.0-1-src.tar.bz2: tar of all the scripts used to recreate the application
Tests
-
VPS_SOL10-tst.tar.bz2: VPS_SOL10 test scripts
Re-install Procedure
Here are the steps to create a VPS_SOL10 application from a SOL10 appliance on an AppLogic grid (

This requires maintainer access to the grid):
- From the AppLogic Editor, create an application named VPS_SOL10_r1, where
r1 is the desired revision number.
- Insert and branch a SOL10 appliance. Name the branched class VPS_SOL10 and the instance vps_sol10. Save and exit the application.
- Copy and uncompress
VPS_SOL10-1.0.0-1-src.tar.bz2 on the grid controller.
- Edit
setenv.sh to include the current version information and usable configuration values.
- Execute the script
mkvpssol10.sh, which performs the following:
- updates the VPS_SOL10 class descriptor to setup the correct boundary and version information
- updates the main and package descriptors of the VPS_SOL10_r1 application
- starts the application
- scp's appliance specific files to the running VPS_SOL10 singleton
- stops the application
- exports the application
- tar and zip the VPS_SOL10_r1 application export
- NOTE: All operations are logged to
mkvpssol10.log. Check the log in case of any failures.
- Find the VPS_SOL10_r1 release tar,
VPS_SOL10_r1-1.0.0-1.tar.bz2, under /vol/_impex.
Theory of Operation
VPS_SOL10 is a virtual private server application that is designed to be deployed as a standalone application.
Configuration
External network setup
VPS_SOL10 has an external interface which allows the appliance to communicate with the outside world. On start, the script=/appliance/appliance_netsetup.sh= configures the external interface, assigning the
primary_ip and
secondary_ip (if one is specified). This script also sets the netmask and gateway, as well as setting the DNS servers.
User and passwords
The root password and the user name and password are setup through the
/appliance/change_pwd script on the initial boot of VPS_SOL10 and when the
/appliance/passwd.stamp file is missing. This script is invoked by the
/appliance/appliance.sh script.
In order to update the
user,
user_pw, or
root_pw properties and have those changes take affect, the
/appliance/passwd.stamp file must be deleted prior to restarting VPS_SOL10.
Log Files
VPS_SOL10 does not create any additional logs aside from those ordinarily created by SOL10.
Important Notes
None
--
StephenQ - 24 Mar 2008