In some of the Solaris Build 79 based images it may be possible that it doesn't have AMI/API tool bundled.

If the Solaris Build 79 image you are using does not have the Sun AMI/API tools installed.  You can follow the steps below to load/install the tools on your instance.
The archive of the current tools can be retrieved with the following command:

# curl -O http://s3.amazonaws.com/sun-osol-tools/sun-amiapi-tools-latest.cpio
Once the archive is loaded, the checksum can be easily checked to make sure that you have the right file:
# md5sum sun-amiapi-tools-latest.cpio
1de19f491d32a2fe23b9a0515ec025dd  sun-amiapi-tools-latest.cpio

Then extract the archive as shown below. Full paths are used in the archive so the tools are always extracted in the same location.

# cpio -icvdum < sun-amiapi-tools-latest.cpio
Once the tools are installed, rebundling can be done as documented in the Sun Amazon EC2 Getting Started Guide.
http://www.sun.com/third-party/global/amazon/Sun_AmazonEC2_GettingStarted050208.pdf

Note that the guide references mounting disks at /mnt but that is completed automatically in certain AMI's.
The following command can be run to see if there is a preconfigured filesystem at /mnt.
# df -kl /mnt

Comments:

Post a Comment:
Comments are closed for this entry.

This blog copyright 2008 by rrajesh