Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Admin Documentation | ||||||||
Line: 83 to 83 | ||||||||
Upgrade OSG Version | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
osg_repos::release: x condor::condor_version: y condor::gwms_version: z | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
-- JeffreyDost - 2016/02/09 |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Admin Documentation | ||||||||
Line: 45 to 45 | ||||||||
puppet cert sign hostname | ||||||||
Changed: | ||||||||
< < | Create relevant yaml in /etc/puppet/hiera/nodes/ | |||||||
> > | Create relevant yaml in /etc/puppetlabs/code/environments/production/hieradata/nodes/ | |||||||
Changed: | ||||||||
< < | Generate a node specific ssh auth keys file from /etc/puppet/environments/production/modules/uclhc-admin/files/root.ssh | |||||||
> > | Generate a node specific ssh auth keys file from /etc/puppetlabs/code/environments/production/modules/uclhc_admin/files/root.ssh | |||||||
Changed: | ||||||||
< < | Ensure host certs are copied and named appropriately into /etc/puppet/environments/production/modules/host_cert/files/ and check permissions | |||||||
> > | Ensure host certs are copied and named appropriately into /etc/puppetlabs/code/environments/production/modules/host_cert/files/ and check permissions | |||||||
Line: 67 to 67 | ||||||||
yum update --exclude=condor* --exclude=glideinwms* | ||||||||
Changed: | ||||||||
< < | Upgrade OSG Version | |||||||
> > | GIT Change Management | |||||||
Changed: | ||||||||
< < |
| |||||||
> > | UCLHC puppet modules are hosted at:
https://github.com/jdost321/uclhc-puppet
The master branch corresponds to the production puppet environment, and is cloned at /etc/uclhc-puppet/production . The development branch corresponds to the development puppet environment and is cloned at /etc/uclhc-puppet/development . Changes should be made in /etc/uclhc-puppet/development and tested on the uclhctest.t2.ucsd.edu host before pushed to production.
Assuming changes are committed and pushed back to github from development, the following steps merge the changes to production: | |||||||
cd /etc/uclhc-puppet/production git fetch git merge origin/development git push | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
Upgrade OSG Version
| |||||||
osg_repos::release: x condor::condor_version: y condor::gwms_version: z |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Admin Documentation | ||||||||
Line: 35 to 35 | ||||||||
Start puppet: | ||||||||
Changed: | ||||||||
< < | puppet resource service ensure=running enable=true | |||||||
> > | puppet resource service puppet ensure=running enable=true | |||||||
On uclhcpup: |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Admin Documentation | ||||||||
Added: | ||||||||
> > | Puppetize brickOpen firewall inuclhcpup ; see /etc/sysconfig/iptables
rpm -ivh https://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm yum install puppetModify /etc/puppet/puppet.conf and fill in the relevant hostname:
[main] vardir = /var/lib/puppet logdir = /var/log/puppet rundir = /var/run/puppet ssldir = $vardir/ssl [agent] pluginsync = true report = true ignoreschedules = true daemon = false ca_server = uclhcpup.t2.ucsd.edu certname = hostname environment = production server = uclhcpup.t2.ucsd.edu configtimeout = 10mStart puppet: puppet resource service ensure=running enable=trueOn uclhcpup: Look for and sign hostname: puppet cert list puppet cert sign hostnameCreate relevant yaml in /etc/puppet/hiera/nodes/
Generate a node specific ssh auth keys file from /etc/puppet/environments/production/modules/uclhc-admin/files/root.ssh
Ensure host certs are copied and named appropriately into /etc/puppet/environments/production/modules/host_cert/files/ and check permissions
In foreman, assign relevant host group (UCLHC/ATLAS / UCLHC/CMS):hosts -> click host -> edit -> hostgroup pulldown click submit. To apply classes immediately, run: puppet agent --test | |||||||
Brick Yum UpdateWe pin some packages to specific version numbers and only upgrade through puppet, these should be excluded in a normal yum update: |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
Admin DocumentationBrick Yum UpdateWe pin some packages to specific version numbers and only upgrade through puppet, these should be excluded in a normal yum update:yum update --exclude=condor* --exclude=glideinwms* Upgrade OSG Version
|