Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Administering

...

Moves

...

The

...

entities

...

that

...

need

...

to

...

be

...

administered

...

for

...

moves

...

are

...

listed

...

below.

...

  1. #ContainerRequirements
  2. #Repositories
  3. #Environments
  4. #Stacks
  5. #Containers
  6. #Applications
  7. #RemovingArtifacts

Anchor
ContainerRequirements
ContainerRequirements

Container Configuration Requirements

For OAS deployments, ${user.home}

...

is

...

typically

...

/home/oracle

...

,

...

and

...

$

...

{user.dir}

...

is

...

typically

...

the

...

oc4j

...

j2ee/home

...

directory

  1. each container must have a properties file called ${user.home}/sais-moves-web.properties

...

  1. .

...

  1. each

...

  1. container

...

  1. must

...

  1. have

...

  1. a

...

  1. folder

...

  1. called

...

  1. $

...

  1. {user.home}/sais-moves-web

...

  1. .

...

  1. The

...

  1. name

...

  1. of

...

  1. this

...

  1. folder

...

  1. can

...

  1. be

...

  1. overwritten

...

  1. using

...

  1. property

...

  1. name

...

  1. moves.home

...

  1. in

...

  1. $

...

  1. {user.home}/sais-moves-web.properties.

...

  1. The

...

  1. default

...

  1. maven

...

  1. home

...

  1. folder

...

  1. is

...

  1. $

...

  1. {user.home}/sais-moves-web/maven

...

  1. .

...

  1. (Typically

...

  1. this

...

  1. folder

...

  1. is

...

  1. a

...

  1. soft

...

  1. link

...

  1. to

...

  1. a

...

  1. specific

...

  1. distribution

...

  1. of

...

  1. maven

...

  1. like

...

  1. apache-maven-2.2.1

...

  1. ).

...

  1. The

...

  1. name

...

  1. of

...

  1. this

...

  1. folder

...

  1. can

...

  1. be

...

  1. overwritten

...

  1. using

...

  1. property

...

  1. name

...

  1. maven.home

...

  1. in

...

  1. $

...

  1. {user.home}/sais-moves-web.properties.

...

  1. Subversion

...

  1. client

...

  1. must

...

  1. be

...

  1. installed.

...

  1. The

...

  1. command

...

  1. for

...

  1. running

...

  1. subversion

...

  1. must

...

  1. be

...

  1. svn

...

  1. ,

...

  1. and

...

  1. must

...

  1. be

...

  1. in

...

  1. the

...

  1. path.

...

  1. The

...

  1. default

...

  1. subversion

...

  1. username

...

  1. is

...

  1. isdasnap.

...

  1. An

...

  1. alternate

...

  1. subversion

...

  1. username

...

  1. can

...

  1. be

...

  1. set

...

  1. using

...

  1. property

...

  1. name

...

  1. subversion.username

...

  1. in

...

  1. $

...

  1. {user.home}/sais-moves-web.properties.

...

  1. The

...

  1. default

...

  1. subversion

...

  1. private

...

  1. key

...

  1. location

...

  1. is

...

  1. $

...

  1. {user.home}/sais-moves-web/sais.private

...

  1. .

...

  1. An

...

  1. alternate

...

  1. subversion

...

  1. private

...

  1. key

...

  1. location

...

  1. can

...

  1. be

...

  1. set

...

  1. using

...

  1. property

...

  1. name

...

  1. subversion.private.key.location

...

  1. in

...

  1. $

...

  1. {user.home}/sais-moves-web.properties.

...

In general you should set entities up in the order that they appear above. The entities are described in detail below.

Anchor
Repositories
Repositories

Repositories

Repositories are maven repositories, accessible to moves over http/https. An example is the the SAIS Group repository at https://mv-ezproxy-com.ezproxyberklee.flo.org/nexus/content/groups/saisGroupRepoImage Added.

...

Maven

...

has

...

a

...

well

...

defined

...

format,

...

which

...

specifies

...

where

...

to

...

find

...

an

...

application

...

within

...

a

...

repository.

...

Each

...

Application

...

has

...

an

...

'ArtifactId',

...

a

...

'GroupId'

...

and

...

a

...

'Version'.

...

So,

...

for

...

example,

...

moves

...

itself

...

has

...

artifactId=sais-moves-web,

...

groupId=edu.mit.ist.es,

...

versionId=2.0.0.

...

Maven

...

will

...

translate

...

this,

...

by

...

default

...

into

...

a

...

final

...

location

...

of

...

https://mv-ezproxy-com.ezproxyberklee.flo.org/nexus/content/groups/saisGroupRepo/edu/mit/ist/es/sais-moves-web/2.0.0/sais-moves-web-2.0.0.warImage Added"

...

The

...

properties

...

you

...

need

...

to

...

configure

...

for

...

a

...

repository

...

are:

...

  • server

...

  • (e.g.

...

  • maven.mit.edu)

...

  • port

...

  • (e.g.

...

  • null

...

  • -

...

  • if

...

  • port

...

  • is

...

  • null,

...

  • moves

...

  • uses

...

  • the

...

  • default

...

  • port

...

  • for

...

  • the

...

  • protocol

...

  • supplied)

...

  • protocol

...

  • (e.g.

...

  • https)

...

  • base

...

  • url

...

  • (e.g.

...

  • /nexus/content/groups/saisGroupRepo)

...

Anchor
Environments
Environments

Environments

Environments are really just a lookup that identifies the function of containers within a stack. The standard environments are 'Production',

...

'QA',

...

and

...

'Development'.

...

These

...

are

...

already

...

set

...

up

...

when

...

Moves

...

is

...

deployed,

...

so

...

they

...

will

...

not

...

need

...

to

...

be

...

changed.

...

However,

...

we

...

allow

...

creation

...

of

...

new

...

future

...

environments

...

(for

...

example

...

'Continuous

...

Integration'

...

or

...

'Staging').

...

Anchor
Stacks
Stacks

Stacks

A Stack is simply a grouping of Containers by Environment. Stacks allow Moves to answer the question 'What is the container for Application 'X' in Environment 'Y'. Once you create a Stack, you can add containers to it for each environment. When we subsequently configure an application, we will tell it what Stack is associated with that application. (So, for example, the application 'OGS Application' might reference 'OGS Stack'. 'OGS Stack' references containers for 'Production', 'QA', and 'Development'). By looking at these relationships, Moves knows which container to deploy to when asked to deploy to a particular environment.

Anchor
Containers
Containers

Containers

A container is the service that an application is deployed to. When you configure a new Container, you will be asked to select from one of the container types. The two container types that are currently available are

  • OC4J Container (deploys to Oc4j containers)
  • Mock Container (does nothing, used to test workflows)
    In the future we will implement other containers according to MIT needs (tomcat/weblogic etc). For the Oc4j container, the deployerUrl must be configured. This is the url you would normally type if you are manually deploying an application using the oracle admin_client.jar utility. (TODO: discuss the optional and required parameters in more detail)

Anchor
Applications
Applications

Applications

Applications represent web apps (.war or .ear applications) that can be deployed to a container. (TODO: discuss the optional and required parameters in more detail)

Anchor
RemovingArtifacts
RemovingArtifacts

Removing Artifacts

A utility exists within the Moves Application for deleting old Log and File entries. Simply select a date and click submit. Artifacts/Logs older than this date will be removed.