Re-Inject keys into CloudStack System VMs

SSH Login failure after a CloudStack reinstall due to stale id_rsa keys.

[root@cloudplatform ~]# ssh -i /var/lib/cloud/management/.ssh/id_rsa -p 3922 10.102.100.132
Permission denied (publickey).

Fix:

[root@cloudplatform ~]# /usr/lib64/cloud/agent/scripts/vm/systemvm/injectkeys.sh 
Usage: injectkeys.sh  <new public key file> <new private key file> <systemvm iso path>
[root@cloudplatform ~]# bash -x /usr/lib64/cloud/agent/scripts/vm/systemvm/injectkeys.sh \
  /var/lib/cloud/management/.ssh/id_rsa.pub \
  /var/lib/cloud/management/.ssh/id_rsa \
  /mnt/ss/systemvm/systemvm-3.0.6.20121221114808.iso

Shanker Balan

Shanker Balan is a devops and infrastructure freelancer with over 14 years of industry experience in large scale Internet systems. He is available for both short term and long term projects on contract. Please use the Contact Form for any enquiry.

More Posts - Website

Follow Me:
TwitterLinkedIn

June Bangalore Apache CloudStack Meetup Announced

Introduction to Apache CloudStack 4.1 followed by a live demo/tutorial on building a private IaaS cloud on Apache Cloudstack 4.1.

Limited seats. Please RSVP at http://cloudstack-bangalore.eventbrite.com

 

Shanker Balan

Shanker Balan is a devops and infrastructure freelancer with over 14 years of industry experience in large scale Internet systems. He is available for both short term and long term projects on contract. Please use the Contact Form for any enquiry.

More Posts - Website

Follow Me:
TwitterLinkedIn

Mac Mini (2012) Memory Upgrade to 10GB

The Mac Mini 6,1 (2012) base model ships with 4GB of Memory in a 2x2GB 1600Mhz 204 pin SODIMM configuration. 4GB as it turns out, is a little inadequate for running Ubuntu, FreeBSD, CentOS and XP simultaneously. The Linux VMs seem to need more than 512MB to compile kernels and XP is super sluggish with anything less than 1GB.

transcend-jm1600ksh-8g-400x400-imadg2ygctzhcnxt

Continue reading Mac Mini (2012) Memory Upgrade to 10GB

Shanker Balan

Shanker Balan is a devops and infrastructure freelancer with over 14 years of industry experience in large scale Internet systems. He is available for both short term and long term projects on contract. Please use the Contact Form for any enquiry.

More Posts - Website

Follow Me:
TwitterLinkedIn