1. Skip the small talk

“What’s up with this weather?” and “How ’bout them [insert local sports team]?” are as bad as cheesy pick-up lines when it comes to starting a conversation. Avoid tired topics. Every situation is unique, so you should be able to find a unique conversation starter.

2. Ask for their opinion

Everyone has one! For someone you don’t know well, start with light subjects like the food, the music, the atmosphere, etc. “Do you like your Margaritas with salt or without? Do you like this song?” It’s probably best to stay away from really sticky subjects like politics unless you already know the person very well.

3. Ask for their advice or recommendations

This works very well when commenting on someone’s outfit or accessories, as in “What a great tie! Where did you get it?” or on the food, as in, “Everything looks good. What are you having?”

4. Ask them a question — that’s easy to answer

This is great when you know or find out that a person has expertise in a particular field. If you’re talking to your company’s IT guy, for example, you could ask him whether he’s the guy who installs hardware or software. But avoid asking anyone to explain something super complex or involved; if that’s where the conversation leads, great, but asking a really complicated question up front can feel demanding.

5. Comment on the environment

No matter where you are, there are things to comment on: the music, the food, the lights, the guests, and so on. Even if you are stuck in an elevator with someone, you can comment on the music, the speed, the crowdedness, etc.

6. Ask for an update

If you know someone a little or know them by reputation, ask for an update on something you know they’ve been doing, for example, “Oh, Mary mentioned you were taking swing dance classes. How’s that going?”

7. Ask open-ended questions whenever possible

If your question can be answered with a simple yes or no, don’t be surprised if that’s what you get. Having follow-up questions ready can also help the conversation flow. If you are asking what kind of food they’re having, for example, you might follow up with, “That sounds good. Do you know what kind of wine would go well with that?” Almost everything can be followed up with, “Why?” (Just don’t ask it too many times and end up sounding like a three-year-old!)

8. Ask a hypothetical question

These can be great conversation starters, but try to tie them into something happening at the event or in current events to avoid seeming too random. You might say something like, “I just saw this movie where all the laws were revoked for one day. What would you do if there were no laws for a day?”

9. Ask about their kids, pets, or hobbies

People love to talk about the things that are important to them. If you know that your boss loves to sail, asking him about his latest trip is a surefire way to get him talking.

10 Linkedin groups every Enterprise Architect should join: http://www.corso3.com/blog/bid/337069/10-LinkedIn-groups-every-Enterprise-Architect-should-join

Building an Openstack lab from scratch with PackStack on AWS and Google Cloud – Installing OpenStack via Packstack: https://www.ravellosystems.com/blog/openstack-packstack-installation-on-aws/#more-5830

When you boot standard Ubuntu Cloud image in the Openstack, no password or user is generated in the image by default. You can configure your Ubuntu Cloud image to set a static password or generate a password in the first boot of the image. You need to configure metadata service in the Openstack in order to use this.

Step 1:

Firstly, download your Ubuntu cloud image from this link: https://cloud-images.ubuntu.com/

Step 2:

Install guestfish in your server. This server probably will be your Glance image server. :

aptget install guestfish
Step 3:
In order to edit the image file open it with guestfish:
guestfish rw a preciseservercloudimgamd64disk1.img
root@ppm-dc-c3sv3-ju:~/sandbox# guestfish –rw -a precise-server-cloudimg-amd64-disk1.img
Step 4:
Now you will be taken to tje guestfish shell.
Welcome to guestfish, the guest filesystem shell for
editing virtual machine filesystems and disk images.

Type: ‘help’ for help on commands
‘man’ to read the manual
‘quit’ to quit the shell

Step 5:
><fs> run
Step 6:
><fs> list-filesystems
/dev/sda1: ext4
Step 7:
><fs> mount /dev/sda1 /
Step 8:
><fs> vi /etc/shadow
Blank the password for ubuntu user as follows
ubuntu::16548:0:99999:7:::
Step 9:
Now add this image to openstack glance and launch the instance.
Step 10:
You can log into the instance from the openstack horizon vnc console.
Once you log in as the ubuntu user, you can change the password with
the passwd command to one of your choice.

Here is a simple and useful URL about OpenStack APIs.

http://www.linux.com/learn/tutorials/802976-introduction-to-the-openstack-api

Using Libvirt to boot a VM.

Posted: December 30, 2014 in Uncategorized

My previous post was about how to boot a VM using KVM.

Let’s focus now on booting a VM using Libvirt.

The following example shows how to use the qemu-img command to create an empty image file. virt-install command to start up a virtual machine using that image file.

1. First create a .qcow2 image file

————————————————————————————————————————————————-

root@xyz:~# qemu-img create -f qcow2 /home/nazarite/ubuntu-14.04-server.qcow2 250G

———————————————————————————————————————————————–

2. Use net-start in virsh to start the default network

——————————

virsh # net-start default
Network default started

——————————-

3. I am going to use virt-install tool to boot the virtual machine through libvirt and connect to the graphical console from a VNC client installed on your local machine.

—————————————————————————————————————————————————-

root@xyz:~# virt-install –virt-type kvm –name ubuntu-14.04-server –ram 10240 –cdrom=/home/nazarite/ubuntu-14.04.1-server-amd64.iso –disk path=/home/ppmuser/ubuntu-14.04-server.qcow2,size=250,format=qcow2 –network network=default –graphics vnc,listen=0.0.0.0 –noautoconsole –os-type=linux –os-variant=ubuntutrusty

Starting install…
Creating domain…                                                                                                          |    0 B     00:00
Domain installation still in progress. You can reconnect to
the console to complete the installation process.

——————————————————————————————————————————————————

4. Use the ‘virsh vncdisplay vm-name’ command to get the VNC port number.

# virsh vncdisplay ubuntu-14.04-server
:1

5. Connect to a vnc client like tightvnc with the I.P Addresss_of_host:

Using KVM to boot a VM

Posted: December 8, 2014 in Uncategorized

To create an image:

root@zion:~# qemu-img create -f qcow2 ubuntu.img 10G

To Install from the .iso image:

root@zion:~# qemu-system-x86_64 -enable-kvm -m 10000 -cdrom ubuntu-14.04.1-server-amd64.iso -drive file=ubuntu.img,if=virtio,index=0 -boot d -net nic -net user -nographic -vnc 10.x.x.178:1

Use a VNC client to log into the VNC session. Enter 10.x.x.178:1 to log into the VNC Session and complete the installation.

Once the installation is complete, login to the VM using any vnc client.

kvm -m 10000 -drive file=ubuntu.img,if=virtio,index=0 -boot c -net nic -net user -nographic -vnc :1