Cloud Computing Made Easy®


From kaavo wiki
Jump to: navigation, search

How do I upload a file from my local server to the server in the cloud or down-load a file from the server in the cloud to my local computer?

There are two ways for doing this, one is to write an action in the System Definition File to automatically perform this other is perform this manually using the SFTP from the Console applet to transfer files; console applet can be launched from the drop down menu of the server you want to file transfer to or from. The applet will automatically connect to the server. From console file menu select SFTP then you can use put and get commands to move the files between local server and the server in the cloud. Here are some common sFTP commands:

  • cd Change the directory on the remote computer
  • ls List the files in the current directory on the remote computer
  • exit Close the connection to the remote computer and exit SFTP
  • get Copy a file from the remote computer to the local computer
  • lcd Change the directory on the local computer
  • lls See a list of the files in the current directory on the local computer
  • put Copy a file from the local computer to the remote computer
  • pwd Show the current directory (present working directory) on the remote computer

Why monitoring data is not coming for my server?

Please make sure that you are allowing the monitoring system to communicate with your server over ports 10050 and 10051. For Amazon EC2 we open these ports automatically using firewall group configuration api supported by Amazon. For other providers, this step is performed in the post start up actions in the System Definition file. If you are creating / deploying your own system, please refer to the sample provided in IMOD for your provider to see how to accomplish this. E.g. Rackspace requires iptables update. Refer to the list of operating systems we haves tested for monitoring. Also note that IMOD uses port 22 to communicate with your server over ssh for automatic deployment and run-time management.

How can I save system definitions locally or load an existing system definition from local file to IMOD?

Starting from version 1.8 of IMOD you can load the XML system definition file from the local drive using the Import System function available on the left hand navigation bar on the n-tier dashboard. To save your system definition file to the local drive go to the Definition tab for the system and click on Export button. Check out the UI Wizard video tutorial for more details.

How do I find out what images are provided by Kaavo for Amazon EC2 in the US and Europe?

After logging in IMOD go to the dashboard page, the image tab by default shows all the AMIs provided by Kaavo. On the top left hand of the screen use the Region drop down switch toggle the list of AMIs in the US and Europe. See below for the visual cue.


Can I manage my custom images from IMOD, instead of using Kaavo provided images?

Yes, we believe in providing maximum flexibility and customization ability to the end users and believe that it impossible for a company to manage and maintain images required for every possible combination for various custom applications. We designed IMOD from day one to address the need for flexibility and ability to run and manage complex custom applications on IMOD. For monitoring and encryption we install agents on images, we will publish instructions on how users can install agents on their custom images(Installing Monitoring Agents, Installing SSH Support on Windows, Installing Encryption Agent). To keep IMOD independent of OS system, IMOD engine connects to the server over SSH, on Linux SSH support is already provided by default, for Windows images we install an Agent for SSH support. Please also refer to the FAQ related to managing Custom Windows images from IMOD. Also note that all cloud Linux servers support connections over SSH so you can use single click deployment capability of IMOD without having to install any agent for Linux servers. Without agents you obviously wouldn't get the monitoring and encryption functionality, however, you can still deploy and execute complex run-time actions/workflows with a single click. If you need any help in managing your custom images from IMOD please contact Kaavo Support.

How can I deploy and manage applications using my custom Windows images from IMOD?

For single click deployment and runtime management we connect to servers over SSH, for Windows servers to connect over SSH we deploy a Windows SSH agent. Unlike Linux OS, for the Windows OS Amazon doesn't automatically copy public key on the image, so we have to deploy a bootup script on Windows server to automatically download the public key on the image from the Amazon server. We are going to publish instructions on how to configure your custom images for management by IMOD, in the mean time if you want to do this, please contact the Kaavo Support. Please also refer to the FAQ related to Managing Custom Images from IMOD

I changed my Amazon AccessID and secrets for my AWS account. I have added the new details in the profile page and I am able to work on the Dashboard. However when I am trying to deploy the n-tier system, I am getting exceptions. Why n-tier system is giving account not found exception?

If you have changed the AccessID and secrets the old key pair will not work. You need to create the new key pair and save it on IMOD. Please make sure that the key-pair name you are using in System Definition File is saved on the IMOD server otherwise IMOD can’t connect to server over SSH.

How do I move images from one cloud provider to another, is there any tool or process to support image interoperability?

Easiest way to ensure interoperability is to use the base OS image and use the System Definition File for deploying software and configuring your server dynamically on start-up. IMOD automates the process of installing software and configuring servers. This way as long as you get the same OS image on any provider you don't need to worry about image migration as IMOD will automatically install the software for you on supported clouds during system start-up per your specifications in the System Definition File. However, if you want to migrate images by converting your existing images here are some links to guide you:

What is the difference b/w Aggregate and Non-Aggregate monitoring thresholds for events?

Selecting aggregate for an event implies that the monitoring system evaluates all the selected servers in the group and take an average function to determine if the threshold is breached for triggering the event. Whereas Non-Aggregate event is triggered when any of the monitored device in the group breaches the threshold.

Can I convert my existing vmware images to EC2 and manage them on EC2 using Kaavo's IMOD?

Yes. Here is the link to a detailed article describing the steps for migrating the vmware images to EC2 .

Can we integrate IMOD with external monitoring solutions?

Yes, in addition to built-in monitoring IMOD can be integrated with external monitoring solutions, we have tested the integration with Nagios, Zabbix, and Hyperic. Our standards based modular architecture allows plugging in different monitoring tools. Please contact us if you want to use other monitoring tools with IMOD for application centric management.

How can I track versions for the changes to the System Definition File

If you make frequent changes to the System Definition File for a system and want to track your changes, we recommend that you use version control system of your choice for keeping track of the versions. Since all the deployment information for the system is captured in a single System Definition File you only need to track one file per deployed system. You can export your deployed system definition file from IMOD to your local drive and commit it to the version control system and you can also get the latest copy of the System Definition File from the version control system to your local drive and load it to IMOD for deploying the system from the version control system.

How can I debug scripts and code that is dynamically generated and executed on the servers?

If you are using the embedded Velocity templates to have IMOD dynamically generate scripts or code copy them and execute them on the specified server location during start-up or in response to an event, you need to rely tools available in language used for debugging. E.g. output and logs of the commandline scripts can be piped to a file and that file can be accessed from the SSH console to review the error/logs during execution.

Launching Windows AMI sometimes timeout on EC2. What is going on?

Kaavo Workflow engine waits for the Windows SSH service to come up before start executing the configuration/deployment workflows. After the Windows server is up on EC2, Amazon EC2 reboots the server and run some AWS scripts before making the fully functional server available. Sometimes it is possible that after the SSH service on Windows comes up before the Amazon does the soft reboot, IMOD engine start configuring the server and the reboot during configuration of the server by Amazon EC2 causes problems and server configuration timeout. We have addressed this issue by installing a boot script on Windows to make sure that SSH service is started only after the server is ready after Amazon finishes the soft reboot. The Windows JIRA example in IMOD has the Kaavo AMI with the proper work around the Amazon soft boot. If you want to use your own Windows AMI instead of Kaavo provided image from IMOD please read these instructions. Note: IMOD engine uses SSH to automate the deployment and run-time management, so before using IMOD for any Windows server, please make sure that SSH is installed on the server. Don't hesitate to contact us if you have any questions or issues.