Google announced Today that they will shut down Google Reader on July 1st. As a Google Reader user, I have found a new tool to replace it. Feedly is a cloud based RSS application which works on smartphones, tablet and multiple browsers, and also supports seamless transition from Google Reader. More info about Feely: http://blog.feedly.com/2013/03/14/google-reader/
ESXi PowerCLI Enable ssh service
1) Enable SSH service on all ESXi hosts.Get-VMHost | Foreach { Start-VMHostService -HostService ($_ | Get-VMHostService | Where { $_.Key -eq “TSM-SSH”} ) }2) Enable SSH service on a single host.Start-VMHostService -HostService (Get-VMHostService -VMHost ESXi-01.my.lab | where {$_.Key -eq "TSM-SSH"})
ESXi 5 SSH Service Auto Stop
For security, by default ESXi 5 stops the SSH service after 1800 seconds since starting it. If user logins in within the 30 minutes windows, the session will be kept. To change the default value to meet your needs, you have to change the value of 'UserVars.ESXiShellTimeOut' in the Advanced Settings.Here is my example of … Continue reading ESXi 5 SSH Service Auto Stop
Puppet User and Group Configuration Example
1) Create a user node "UT-9c8e99e3959e"{ user { 'john': ensure => 'present', managehome => true, password => '$6$gQtfKwwf$riyyLGkm2EtsUjkG03SPhE/PfcrmqDaTrZ1kayHao8s3J1xr8WuC3gWdceFu1RGfCOslh5jSDy8x4xeVx3xYc/' } } Example: generic@UT-9c8e99e3959e:~$ cat /etc/passwd | grep john generic@UT-9c8e99e3959e:~$ sudo puppet agent --test info: Caching catalog for ut-9c8e99e3959e info: Applying configuration version '1362628656' notice: /Stage[main]//Node[ut-9c8e99e3959e]/User[john]/ensure: created notice: Finished catalog run in … Continue reading Puppet User and Group Configuration Example
Puppet Service Configuration Example
1) Ensure service is always running node "UT-9c8e99e3959e"{ service { "cron": enable => true, ensure => "running", } } Example: generic@UT-9c8e99e3959e:~$ sudo service cron status cron stop/waiting generic@UT-9c8e99e3959e:~$ sudo puppet agent --test info: Caching catalog for ut-9c8e99e3959e info: Applying configuration version '1362528911' notice: /Stage[main]//Node[ut-9c8e99e3959e]/Service[cron]/ensure: ensure changed 'stopped' … Continue reading Puppet Service Configuration Example