Version 1 (modified by aydan, 10 years ago)

--

Configuration file for a container with a single site:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<configuration xmlns="http://issg.cs.duke.edu/sharp/boot">
	<global>
		<startTime>-1</startTime>
		<cycleMillis>1000</cycleMillis>
		<firstTick>0</firstTick>
		<manualTicks>false</manualTicks>
		<guid>482f3cfc-ce66-4b9e-b800-71a1516a373a</guid>
		<locations>
			<location protocol="local" />
			<location protocol="soapaxis2" url="http://localhost:13000/orca" />
		</locations>
		<database>
			<className>orca.manage.container.db.MySqlContainerManagementDatabase</className>
			<properties>
				<property name="db.mysql.server" value="localhost" />
				<property name="db.mysql.db" value="orca3" />
				<property name="db.mysql.user" value="orca" />
				<property name="db.mysql.password" value="" />
				<property name="db.admin.first" value="Orca" />
				<property name="db.admin.last" value="Admin" />
				<property name="db.admin.login" value="admin" />
				<property name="db.admin.password" value="" />
				<property name="db.admin.roles" value="home,users,broker,admin" />
			</properties>
		</database>
	</global>
	<actors>
		<actor>
			<name>site</name>
			<description>site</description>
			<guid>d35f69b1-375c-4d3c-a1d8-e7a5bea0f15e</guid>
			<instance>
				<className>orca.shirako.core.Authority</className>
			</instance>
			<mapper>
				<className>orca.policy.core.AuthorityCalendarPolicy</className>
				<parameters>
					<parameter base="orca.policy.core.IResourceControl" name="ResourceControl" type="instance">
						<instance>
							<className>orca.cod.control.IdControlChange</className>
							<properties>
								<property name="resource.type" value="1" />
							</properties>
						</instance>
					</parameter>
				</parameters>
			</mapper>
			<plugin>
				<className>orca.cod.plugins.Site</className>
				<properties>
					<!-- Storage servers to be transferred to this site -->
					<property name="inventory.storage" value="demo-iscsi-server demo-zfs-server" />
					<!-- Physical machines to be transferred to this site -->
					<property name="inventory.machines" value="demo001 demo002 demo003 demo004" />
					<!-- Resource pool configuration -->
					<property name="resource.pools.count" value="1" />
					<!-- 	First resource pool configuration -->
					<property name="resource.pool.0" value="1" />
					<property name="resource.pool.name.0" value="demo" />
					<property name="resource.pool.type.0" value="1" />
					<property name="resource.pool.properties.0" value="memory=2048,cpu=100,bandwidth=1000" />
					<property name="resource.pool.machines.0" value="demo001 demo002 demo003 demo004" />
					<!--    Source ticket configuration -->
					<property name="resource.pool.ticket.units.0" value="3" />					
					<property name="resource.pool.ticket.start.0" value="0" />
					<property name="resource.pool.ticket.end.0" value="10000000" />					
					<!-- Handler configuration -->
					<property name="resource.pool.handler.packageId.0" value="583c10bfdbd326ba:-523aeda8:11644bdcf54:-8000" />
					<property name="resource.pool.handler.pluginId.0" value="1" />
					<property name="resource.pool.handler.properties.0" value="server.name=demo-zfs-server,server.guid=583c10bfdbd326ba:-6692ff28:1168c1874d3:-8000,server.ip=10.10.10.2,server.base=sata/images/shirako/,server.control=10.10.0.1" />
				</properties>
				<parameters>
					<parameter base="orca.cod.plugins.NetworkConfigurationManager" name="NetworkManager" type="instance">
						<instance>
							<className>orca.cod.plugins.NetworkConfigurationManager</className>
							<parameters>
								<parameter base="orca.cod.plugins.NetworkConfiguration" name="NetworkConfiguration" type="instance">
									<instance>
										<className>orca.cod.plugins.NetworkConfiguration</className>
										<properties>
											<property name="network.base" value="192.16.192.0" />
											<property name="network.mask" value="255.255.224.0" />
											<property name="network.subnet" value="255.255.255.0" />
											<property name="network.min" value="10" />
											<property name="network.gateway" value="" />
										</properties>
									</instance>
								</parameter>
								<parameter base="orca.cod.plugins.DnsConfiguration" name="DnsConfiguration" type="instance">
									<instance>
										<className>orca.cod.plugins.DnsConfiguration</className>
										<properties>
											<property name="dns.prefix" value="default" />
											<property name="dns.zone" value="cod.cs.duke.edu" />
											<property name="dns.mx" value="10 cod.cs.duke.edu" />
										</properties>
									</instance>
								</parameter>
							</parameters>
						</instance>
					</parameter>
					<parameter base="orca.shirako.api.IDatabase" name="Database" type="instance">
						<instance>
							<className>orca.cod.plugins.db.MySqlAuthorityCodDatabase</className>
							<properties>
								<property name="db.mysql.server" value="localhost" />
								<property name="db.mysql.db" value="orca3" />
								<property name="db.mysql.user" value="orca" />
								<property name="db.mysql.password" value="" />
							</properties>
						</instance>
					</parameter>
					<parameter base="orca.shirako.plugins.config.Config" name="Config" type="instance">
						<instance>
							<className>orca.cod.plugins.config.CodAntConfig</className>
							<properties>
								<property name="config.count" value="1" />
								<property name="config.type.0" value="1" />
								<property name="config.file.0" value="standard/handler.xml" />
							</properties>
						</instance>
					</parameter>
				</parameters>
			</plugin>
		</actor>
	</actors>
	<topology>
		<edges>
			<edge>
				<from name="broker" type="agent" guid="bb2bd689-06af-4b5d-99eb-29aeef475b1b">
					<location protocol="soapaxis2" url="http://localhost:12000/orca/services/broker" />
<certificate>
MIICaDCCAdECBEocghEwDQYJKoZIhvcNAQEEBQAwezELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAk5D
MQ8wDQYDVQQHEwZEdXJoYW0xDTALBgNVBAoTBG9yY2ExEDAOBgNVBAsTB3NoaXJha28xLTArBgNV
BAMTJGJiMmJkNjg5LTA2YWYtNGI1ZC05OWViLTI5YWVlZjQ3NWIxYjAeFw0wOTA1MjYyMzU4MDla
Fw0wOTA4MjQyMzU4MDlaMHsxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJOQzEPMA0GA1UEBxMGRHVy
aGFtMQ0wCwYDVQQKEwRvcmNhMRAwDgYDVQQLEwdzaGlyYWtvMS0wKwYDVQQDEyRiYjJiZDY4OS0w
NmFmLTRiNWQtOTllYi0yOWFlZWY0NzViMWIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAKao
Le+HMqkIbQuqEu6dDGHFzPdPLfmwhDopwo71iL6vDdSmWKdDkPN7tA6nt+z5wTrFYiC8h0/ygC0V
Kq8VTTxsUavi27KPKNo6hueT76TfQ3P+8fQc4JNrgkl/ChpWMbLUA8uR7dHgUFDT6YEbKCgyU3Wa
4iDPRkdYNfOCaXuPAgMBAAEwDQYJKoZIhvcNAQEEBQADgYEAIKSAMktlbTHy6iQupoxYNo1+ynr+
YlFGF5ZKSvL3mwxxlvdZQ2wc3SlVWL5pnfSi7Xbsj0RM0GspfOwuuyukdSPuTktk2aLo7FbXJh3z
hWd29o+kB8O+J808PbFwT4J+OiECMW4tx5EOYlmHhL8LjzsXXWpx3skHLSaOxDTxfK4=
</certificate>
				</from>
				<to name="site" type="authority" />
			</edge>
		</edges>
	</topology>
</configuration>