yum install java-1.6.0 rpm -Uvh http://repo.rundeck.org/latest.rpm yum install rundeck service rundeckd start
2. Install MySQL on each server and create the rundeck database.
# mysql -h myamazonhost.rds.amazonaws.com -u admin --passwordEnter password:Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 6930Server version: 5.6.22-log MySQL Community Server (GPL)
Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or itsaffiliates. Other names may be trademarks of their respectiveowners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> show databases;+--------------------+| Database |+--------------------+| information_schema || innodb || mysql || performance_schema |+--------------------+4 rows in set (0.01 sec)
mysql> create database rundeck;Query OK, 1 row affected (0.01 sec)
mysql> show databases;+--------------------+| Database |+--------------------+| information_schema || innodb || mysql || performance_schema || rundeck |+--------------------+5 rows in set (0.00 sec)
mysql> grant all on rundeck.* to 'rundeck'@'%' identified by 'xxxxxxxx';Query OK, 0 rows affected (0.01 sec)
I verified connectivity from both nodes using mysql command line. I should revisit the grant, I think I just got lazy ;)
3. Add the folllowing lines the /etc/rundeck/rundeck-config.properties
dataSource.url = jdbc:mysql://myamazonhost.rds.amazonaws.com/rundeck?autoReconnect=truedataSource.username = rundeckdataSource.password = xxxxxxxxrundeck.execution.logs.fileStoragePlugin=org.rundeck.amazon-s3#regionframework.plugin.ExecutionFileStorage.org.rundeck.amazon-s3.region=myregion#name of the bucketframework.plugin.ExecutionFileStorage.org.rundeck.amazon-s3.bucket=mys3bucket#path to store the logsframework.plugin.ExecutionFileStorage.org.rundeck.amazon-s3.path=logs/${job.project}/${job.execid}.logNote: It isn't obvious that the S3 bucket is actually being used. I created a test job and ran it and then verified the existence of the log on the S3 bucket.
4. Set up Rundeck to run as a cluster:
Add the following line to /etc/rundeck/rundeck-config.properties. The first parameter sets rundeck up as a cluster and the second changes the banner on the GUI. I made the banner different on each node so I could see which node I was attaching to.
rundeck.clusterMode.enabled=truerundeck.gui.title=Job Scheduler (1) UUID=$(uuidgen) echo rundeck.server.uuid=$UUID >> /etc/rundeck/framework.properties
5. Configure the ELB
I won't go into all the details of instances, availability zones and security groups.
| Port Configuration: | 4440 (HTTP) forwarding to 4440 (HTTP) Stickiness: LBCookieStickinessPolicy, expirationPeriod='0' |
--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Alex Honor
[SimplifyOps, Inc | a...@simplifyops.com ]
Be sure to comment and vote on Rundeck Feature Development!
--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
rundeck.execution.logs.fileStoragePlugin=org.rundeck.amazon-s3
Should be in
rundeck-config.properties
Not framework.properties
1.Downloaded rundeck-s3-log-plugin-1.0.1.jar and placed it in /var/lib/rundeck/libext
2.Placed the below parameter in /etc/rundeck/rundeck-config.properties
rundeck.execution.logs.fileStoragePlugin=org.rundeck.amazon-s3
3.Mentioned the below parameters in /etc/rundeck/framework.properties
framework.plugin.ExecutionFileStorage.org.rundeck.amazon-s3.AWSAccessKeyId=XXXX
framework.plugin.ExecutionFileStorage.org.rundeck.amazon-s3.AWSSecretKey=XXXX
framework.plugin.ExecutionFileStorage.org.rundeck.amazon-s3.region=XXXX
framework.plugin.ExecutionFileStorage.org.rundeck.amazon-s3.bucket=s3://XXXX
framework.plugin.ExecutionFileStorage.org.rundeck.amazon-s3.path=logs/${job.project}/${job.execid}.log
No hope. Please let me know Evelyn Dibben am i doing some thing wrong.