- 1 Freeside Use Cases
- 1.1 Introduction
- 1.2 Use Cases
- 1.2.1 New customer
- 18.104.22.168 Ordering web hosting
- 22.214.171.124 Customer changes DNS, user name, password, etc. through hosting control panel.
- 126.96.36.199 Daily domain registration tasks
- 188.8.131.52 Customer moves hosting without telling us ("no longer hosted with us")
- 184.108.40.206 Manual domain renewal
- 220.127.116.11 Customer cancels hosting account
- 1.2.1 New customer
Freeside Use Cases
This document contains detailed descriptions of how Freeside is intended to be used, as an aid to designing parts of the application.
Some of the actions and options described in this document may not yet be implemented in Freeside's stable or development branches. (This is particularly true of some CRM tasks, domain registration, web hosting, and dedicated/virtual server hosting.)
When modifying this document, please:
- Correct things that are just plain wrong.
- If the document describes a process as other than the way you do it, and the other way is valid, please document both alternatives.
- Use numbered lists to reflect the order of actions; also use numbered lists for enumerated alternatives as you can then refer to an alternative by number when discussing this document on the e-mail lists or IRC.
- The otaker, or order taker, i.e. the Freeside operator.
- The customer, or person acting as the customer's agent.
- CRM: customer relationship management, i.e. e-mails, faxes, or letters to the customer.
New customer orders service in person or by phone, etc.
- Customer calls and says they want web hosting.
- Otaker confirms they are not an existing customer.
- Otaker enters new customer screen, takes customer details.
- Otaker proceeds to order first package.
Ordering web hosting
- Otaker asks customer which domain name they want to use, enters into Freeside, confirms spelling.
- Freeside determines if that domain is registered.
- if already registered, Otaker asks if customer owns that domain
- if so, Otaker asks if customer wants to transfer it to our registrar.
- if so, Freeside initiates a transfer request?
- if not, Freeside marks domain as registered externally.
- if not, Otaker asks customer for another domain name.
- if so, Freeside initiates a transfer request?
- if unregistered, Otaker asks if customer wants to register it and confirms spelling of domain name. Also confirms annual costs. (Option: auto-renewal.)
- if so, Freeside initiates registration.
- if not, order cannot proceed.
- If customer registered or transfered a domain, Otaker tells customer credentials for their domain management account.
- Freeside generates domain registration e-mail to customer.
- Freeside sets up DNS if required by hosting account type, i.e. DNS is not managed by hosting account server.
- Hosting account specifies DNS template to use.
- DNS template specifies if IP address is to be allocated at this point.
- IP allocation may be manual or automated.
- Freeside displays completed template to Otaker.
- IP pool may be empty, aborting process.
- Customer may order special settings if not allowed to set manually.
- Freeside may create primary DNS hosting, secondary, or both.
- If hosting requires an owning account, Otaker asks customer for user name and password for owning account.
- If user declines to specify password, Otaker uses password generator.
- If user name taken, Otaker asks for different user name.
- If password weak, Otaker asks for different password.
- Freeside creates owning account, if any.
- Otaker asks customer which hosting plan they want; this controls quotas and capabilities. Otaker confirms monthly cost with customer.
- If hosting requires credentials, Otaker asks customer for user name and password for control panel account. (User name may be fixed!)
- Freeside creates hosting account using export. (Abend: no more accounts can be created due to limit on server and no more servers can be allocated from a pool.)
- If hosting account requires a site administrator, Otaker asks customer for user name and password for site administrator.
- Freeside creates site administrator account, if any.
- If optioned for charge-on-order, Freeside attempts to charge customer at this point.
- Process complete. Otaker thanks customer for order and states when site will be available.
- Factor out credential collection. Credentials may consist of user names & passwords, just passwords, e-mail addresses and passwords, etc.
- Factor out domain registration. Customers may order additional domains for:
- Domain speculation. Domain is parked.
- Domain aliases for existing web sites.
- Factor out DNS settings. ISP may sell primary or secondary DNS service.
- Self-service hosting order: same process with CGI script validation taking the role of the Otaker. Rate limit domain availability checks. Option: provide name variation checking, i.e. check other TLDs and variations of SLDs.
- Online hosting order: same process as for self-service, except that it's a new customer. Variation: check domain availability before forcing customer to create an account.
- Customer orders dedicated server instead of hosting package. IP set allocated for server. Reverse DNS set up. Server initialization process started (OS installation, etc.). Customer told expected delivery time. Customer asked for root password unless automatically allocated. Abend: out of IP addresses, out of servers in pool; these may just extend delivery time.
- Customer orders hosting reseller account instead of hosting package. Similar to ordering hosting account except that you just need credentials for logging into reseller interface. Plan selection may be required if more than one reseller plan is offered. Reseller package may include own IP block or use shared IPs.
- Customer orders virtual private server instead of dedicated server: Freeside creates the virtual server instead of allocating it from a pool; Xen might be create-on-demand using files, or allocate-from-pool if using partitions if these cannot be created on the fly.
- Customer orders managed server instead of dedicated server. Doesn't get a root password?
- Customer orders e-mail hosting: requires a domain name (optional if ISP sells e-mail hosting under its own domains, i.e. yahoo.com), DNS, control panel login.
Customer changes DNS, user name, password, etc. through hosting control panel.
- Freeside agent running on hosting server updates Freeside billing server with change. For Apache, this can be importing the /etc/shadow, /var/named/chroot/var/named/(slaves)/domain.tld, etc.
Daily domain registration tasks
- check for failed transfers
- check for domains transferred out
- check for auto-renewals performed.
Transfer request fails
- CRM: tell customer transfer has failed and what to do. Provide URL to re-initiate the transfer.
Domain transferred out
- Mark domain as registered externally in Freeside.
- Report transfer out in daily activity.
- Perform check for "no longer hosted with us."
Check for auto-renewals
(Not sure how you do this; may not be possible with a given registrar.)
- Invoice customer for renewal.
Customer moves hosting without telling us ("no longer hosted with us")
Net::DNS reports that DNS no longer points at our servers.
- Cancel customer account with corresponding reason?
- CRM: send termination letter.
Manual domain renewal
(Customer renews through SelfService or by phone or by URL.)
- Freeside renews domain for specified period.
- Unable to do at that time due to API connection failure. Queue it up for later?
- Customer credit card charge fails (authorize, renew, capture?)
- CRM: renewal confirmation letter.
Customer cancels hosting account
- Otaker asks if cancellation is immediate or to be scheduled on given date. Answer can include "when the domain expires." Note that the domain expiration date and the day it stops working are different.
- On cancellation date, Freeside...
- Backs up the hosting site, logs, and all databases.
- Deletes the site, logs, and associated databases.
- Cancels any DNS service for the site.
- Switches any associated domain registrations to lapse. Or, deletes the registrations.
- Parks the registered domains.
- CRM: tells the customer that cancellation has been performed.
- Deletes any associated e-mail accounts.
- Customer cancels dedicated server. On cancellation date, Freeside...
- Backs up server?
- Reformats server? Or just powers it down?
- Returns IP addresses to the pool.
- Removes DNS settings.
- Returns server to the pool.
- Customer cancels virtual server. Same as dedicated, except Freeside may delete the server immediately.