Use Cases
Contents
- 1 Freeside Use Cases
- 1.1 Introduction
- 1.2 Use Cases
- 1.2.1 New customer
- 1.2.1.1 Ordering web hosting
- 1.2.1.2 Domain Registration with a registrar that requires a client user name and password
- 1.2.1.3 Customer changes DNS, user name, password, etc. through hosting control panel.
- 1.2.1.4 Daily domain registration tasks
- 1.2.1.5 Customer moves hosting without telling us ("no longer hosted with us")
- 1.2.1.6 Manual domain renewal
- 1.2.1.7 Customer cancels hosting account
- 1.2.1 New customer
Freeside Use Cases
Introduction
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.
Use Cases
Agents:
- The otaker, or order taker, i.e. the Freeside operator.
- The customer, or person acting as the customer's agent.
Abbreviations:
- CRM: customer relationship management, i.e. e-mails, faxes, or letters to the customer.
New 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. (Error condition: may be existing customer.)
- 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, Otaker asks if customer wants to transfer it to our registrar.
- 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 as we cannot host an unregistered domain?
- if already registered, Otaker asks if customer owns that domain
- If customer registered or transfered a domain, Otaker tells customer credentials for their domain management account. For some registrars, customer credentials are required before registration or transfer can be initiated.
- 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.
Variations:
- 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 orders shared hosting (rare). No domain registration is required. Subdomain must be free for customer's use. Policies for subdomain availability are likely to be similar to those for user name availability. Subdomain name suggestion may be useful if the desired subdomain is already taken.
Domain Registration with a registrar that requires a client user name and password
Some registries/registrars require the creation of a client account for managing a domain portfolio. The ISP will have credentials, but must assign credentials to each customer:
- A customer can use the same credentials for all domains at the same registrar.
- A customer could have different credentials, and a different client account, for each domain in his/her portfolio.
- A customer could be registering domains for friends and family, and wish to have several client accounts for portions of his/her domain portfolio.
- Where an ISP registers domains through multiple registries/registrars, customers may find it easier to use the same credentials for all registrars.
- Prior to initiating domain registration or transfer, Freeside will search the customer account for existing registrar/registry client accounts and display a list.
- Otaker will always be able to create a new registry/registrar client account (if the registry/registrar requires it) by providing a new credential set.
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.
Variations:
- 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.