The following standard properties should be defined for any VPS server appliance and exported to the application boundary, so that they can be configured with the app configure command or the app provision command:
The VPS host name is set to this
If the root password is empty (as it will be on the first run of the VPS), it is set to the value of this property. This provides the initial root password, after that the property is ignored. The VPS user should set their own root password after they log in for the first time.
External IP address of the server
(Optional) an additional IP address.
Optional netmask, if not set the server should assume that all IP addresses are reachable directly (proxy ARP setup). If netmask is set, both the primary_ip and secondary_ip should be on the same subnet with respect to the netmask.
Default gateway. If netmask is set, this should be set as well, unless the VPS is intended to communicate only on a local network as defined by primary_ip and netmask.
DNS server address
DNS server address
DNS server address (optional)
Note: VPS templates provided with CA AppLogic® also have these properties, which allow creating an initial user account: user, user_pw.
The appliance should be outfitted with a startup script that runs immediately after the APK startup script (applogic_init) and before the ssh server starts (important to keep the initial password setup safe). This script is responsible for applying the VPS configuration properties in an OS-specific manner, as outlined in the above table.
|
Copyright © 2012 CA.
All rights reserved.
|
|