
These are the SQL files for the CRAM DPE network model.

The nets table lists the names of the network tables in the database

The network tables named in nets each represent machine nodes with full name, hardware options, processor/OS info, I/O facilities, etc.

The services tables describe service types (constraint templates) and concrete services (characteristics and requirements)

The applications table describes run-time configurations of CRAM applications.

Installation and Setup

	Install PostgresSql (I use version 7.3.3)
	Edit the configuration files (typ. in /usr/local/pgsql/data) to allow tcp-ip connections
	Start the PGSQL postmaster
	Add users as needed
	Add a database named "cram"
	Do a load_all usng the script in this directory
	Edit the Manager's parameters in the method DBUtil>>defaultParameters
	
Starting PostgresSql

	sudo -u postgres /usr/local/pgsql/bin/pg_ctl start

Running: Load
	
	psql --help

	psql -d cram -f tables.sql 
	psql -d cram -f machines.sql 
	psql -d cram -f services.sql
	psql -d cram -f applications.sql

	These are all done by the script ./load_all
	
Now try
	
	psql -d cram 
	and type SQL
		select * from ridl; 
		select * from svctypes; 
		select * from applications;
