Skip to content

Commit

Permalink
added bi_server to oim domain extension
Browse files Browse the repository at this point in the history
  • Loading branch information
biemond committed Mar 15, 2016
1 parent dcfce0a commit 59e04a8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manifests/domain.pp
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@

$oim_nodemanager_log_dir = "${domain_dir}/servers/oim_server1/logs"
$oam_nodemanager_log_dir = "${domain_dir}/servers/oam_server1/logs"
$bi_nodemanager_log_dir = "${domain_dir}/servers/bi_server1/logs"

$wcCollaboration_nodemanager_log_dir = "${domain_dir}/servers/WC_Collaboration/logs"
$wcPortlet_nodemanager_log_dir = "${domain_dir}/servers/WC_Portlet/logs"
Expand All @@ -359,9 +360,9 @@
$bam_nodemanager_log_dir = $log_dir
$ess_nodemanager_log_dir = $log_dir


$oim_nodemanager_log_dir = $log_dir
$oam_nodemanager_log_dir = $log_dir
$bi_nodemanager_log_dir = $log_dir

$wcCollaboration_nodemanager_log_dir = $log_dir
$wcPortlet_nodemanager_log_dir = $log_dir
Expand Down
11 changes: 11 additions & 0 deletions templates/domains/extensions/oim_oam_template.py.erb
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ OIM_JAVA_ARGUMENTS = '<%= @java_arguments['OIM'] %>'
OIM_JAVA_ARGUMENTS = '-XX:PermSize=512m -XX:MaxPermSize=512m -Xms1024m -Xmx1024m -Dweblogic.Stdout=<%= @oim_nodemanager_log_dir %>/oim_server1.out -Dweblogic.Stderr=<%= @oim_nodemanager_log_dir %>/oim_server1_err.out'
<% end %>
<% if @java_arguments['BI'] %>
BI_JAVA_ARGUMENTS = '<%= @java_arguments['BI'] %>'
<% else %>
BI_JAVA_ARGUMENTS = '-XX:PermSize=512m -XX:MaxPermSize=512m -Xms1024m -Xmx1024m -Dweblogic.Stdout=<%= @bi_nodemanager_log_dir %>/bi_server1.out -Dweblogic.Stderr=<%= @bi_nodemanager_log_dir %>/bi_server1_err.out'
<% end %>

REPOS_DBURL = '<%= @repository_database_url %>'
REPOS_DBUSER_PREFIX = '<%= @repository_prefix %>'
REPOS_DBPASSWORD = '<%= @repository_password %>'
Expand Down Expand Up @@ -99,6 +105,10 @@ print 'Change oim_server1'
cd('/')
change_managed_server('oim_server1', 'LocalMachine', '<%= @adminserver_address %>', None, OIM_JAVA_ARGUMENTS, '<%= @oim_nodemanager_log_dir %>', JAVA_HOME, JSSE_ENABLED)

print 'Change bi_server1'
cd('/')
change_managed_server('bi_server1', 'LocalMachine', '<%= @adminserver_address %>', None, BI_JAVA_ARGUMENTS, '<%= @bi_nodemanager_log_dir %>', JAVA_HOME, JSSE_ENABLED)

print 'Change datasources'

change_datasource('EDNDataSource' , REPOS_DBUSER_PREFIX + '_SOAINFRA', REPOS_DBPASSWORD, REPOS_DBURL)
Expand Down Expand Up @@ -128,6 +138,7 @@ closeDomain();
create_boot_properties_file(DOMAIN_PATH + '/servers/soa_server1/security', 'boot.properties', ADMIN_USER, ADMIN_PASSWORD)
create_boot_properties_file(DOMAIN_PATH + '/servers/oim_server1/security', 'boot.properties', ADMIN_USER, ADMIN_PASSWORD)
create_boot_properties_file(DOMAIN_PATH + '/servers/oam_server1/security', 'boot.properties', ADMIN_USER, ADMIN_PASSWORD)
create_boot_properties_file(DOMAIN_PATH + '/servers/bi_server1/security', 'boot.properties', ADMIN_USER, ADMIN_PASSWORD)

print('Exiting...')
exit()

0 comments on commit 59e04a8

Please sign in to comment.