Puppet Enterprise 2016.x : Puppet Agent installation

Puppet Agent Installation Note: There are many ways in Installing the Puppet agent . Below is one example  1. Download puppet RPM based on the linux version. https://yum.puppetlabs.com/ puppet-agent-1.4.1-1.el6.x86_64.rpm #rpm -ivh puppet-agent-1.4.1-1.el6.x86_64.rpm 2. configure puppet.conf root@hostpp$ cat /etc/puppetlabs/puppet/puppet.conf [main] certname = hostpp.example.com       [… Read More

Puppet Enterprise 2016.x : Start & Stop scripts

STOP Puppet Services. $ more puppet_stop.sh #!/usr/bin/shpuppet resource service puppet ensure=stopped puppet resource service pe-puppetserver ensure=stopped puppet resource service pe-activemq ensure=stopped puppet resource service mcollective ensure=stopped puppet resource service pe-puppetdb ensure=stopped puppet resource service pe-postgresql ensure=stopped puppet resource service pe-console-services ensure=stopped puppet resource service pe-nginx… Read More

Oracle : Change AWR Retention

Check existing retention and current snapshot interval. set linesize 300 select extract( day from snap_interval) *24*60+extract( hour from snap_interval) *60+extract( minute from snap_interval ) snapshot_interval, extract( day from retention) *24*60+extract( hour from retention) *60+extract( minute from retention ) retention_interval, topnsql from dba_hist_wr_control; Below query is… Read More