Comparing to the server provisioning and VM archive, this workflow is a little bit more complicated. What it does is Checking the power status –> Shutdown VM if it is running –> Archive the VM –> Send requester the archive results –> Ask user to confirm whether to remove the VM –> Send the result … Continue reading vCO: Server Decommission Workflow
Tag: DevOps
vCO: Virtual Machine Backup/Archive Workflow
The purpose of having this workflow is to allow the user to backup or archive the virtual machine by themselves. In my example, I use TSM (Tivoli Storage Manager) as the backup/archive solution. This is a really simple workflow. The key step is to run TSM Virtual Machine backup from command line then send the … Continue reading vCO: Virtual Machine Backup/Archive Workflow
vCO: Server Provisioning Workflow
I have created the server provisioning workflow in vCO and used it to create couple Windows 2008 servers, really nice and neat! What it does is to Clone a template –> Sysprep it –> Configure it (IP address, hostname, admin password, join domain ….) –> Send an Email to notify the requester when the server … Continue reading vCO: Server Provisioning Workflow
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