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
Author: Jackie Chen
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
My Home Lab Solution
I am pretty happy with how I set up my home lab so far. A simple and free solution, but can meet nearly all my needs.I run all my test machines as VirtualBox virtual machines on my Ubuntu laptop. I setup an RHEL 5.5 box as the main infrastructure server in my lab domain - … Continue reading My Home Lab Solution
Spacewalk Installation Step by Step
To evaluate Spacewalk, I have installed it in my lab. Spacewalk Server: RHEL01 (RHEL5.5/ 1vCPU/ 2G vRAM/ 20G vHDD) Spacewalk Client: RHEL02 (RHEL5.5/ 1vCPU/ 1G vRAM/ 8G vHDD) Install Spacewalk Server 1) Install the Spacewalk Server yum repo rpm -Uvh http://spacewalk.redhat.com/yum/1.8/RHEL/5/i386/spacewalk-repo-1.8-4.el5.noarch.rpm 2) Install EPEL yum repo rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm 3) Install Spacewalk server and its dependencies yum … Continue reading Spacewalk Installation Step by Step