Log.io is a small simple but effective application build on top of Node.js and Socket.io, which allows to monitor Linux servers log files in real time through web interface screen widgets.
How to install and configure log.io:
Virtualization and something more...
If you need to reserve static ip address for your VM, follow the commands below:
1. Set static ip:
New-AzureReservedIP -ReservedIPName "postgresql" -Location "West US"
2. Assign static ip, defined above to VM named postgresql –vm
I have one task for today: to upload hyper-v vhdx image to azure and start vm. So let's try to realize this interesting thing.
Do the following steps:
(you can read detailed steps here)
Yes! It's works.
First of all you need to install packer. After that – Azure plugin for Packer (you could download executable package or compile proper package with GOlang placing it to directory with packer plugins).
In my case I used *.exe files, downloaded from Github release. Also you can find packer configuration for different OS here.
Lets analyze my configuration file and run packer to azure.
If your working a lot with parameters and inputs you need to check if variables have the right value and are not “null”.
You can check that (check if $variablename has $null as value):
You'll need to get a usb-serial adapter and then connect with a console cable.
Connecting to the Console Port with Mac OS X. To connect a Mac OS X system USB port to the console using the built-in OS X Terminal utility, follow these steps:
Step 1. Use the Finder to go to Applications > Utilities > Terminal.
Step 2. Connect the OS X USB port to the router.
Step 3. Enter the following commands to find the OS X USB port number:
If you received error uploading cookbook to chef server:
knife cookbook upload rundeck
Uploading rundec
ERROR: Cookbook rundeck depends on cookbooks which are not currently
ERROR: being uploaded and cannot be found on the server.
ERROR: The missing cookbook(s) are: 'java' version '>= 0.0.0', 'yum' version '>= 0.0.0', 'apt' version '>= 0.0.0', 'supervisor' version '>= 0.0.0', 'database' version '>= 0.0.0', 'mysql2_chef_gem' version '~> 1.0.2', 'mysqld' version '~> 1.0.3'
A workstation is a computer that is configured to run knife, to synchronize with the chef-repo, and interact with a single Chef server. The workstation is the location from which most users will do most of their work.
We need ti install on our workstation:
Today we will install chef server in our home lab based on proxmox 3.4.6. So we have installed server 2cpu, 2Gb memory, Centos 6.7
First of all I switched off selinux, and configured hostname of server in /etc/sysconfig/network and /etc/hosts
Let's go on:
#wget https://web-dl.packagecloud.io/chef/stable/packages/el/6/chef-server-core-12.1.2-1.el6.x86_64.rpm
# rpm -Uvh chef-server-core-12.1.2-1.el6.x86_64.rpm
# chef-server-ctl reconfigure
The host upgrade from ESXi 5.5 to ESXi 6.0 failed with the following error: „Cannot execute upgrade script on host“.