<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>CA AppLogic Forums</title>
		<link>http://forum.3tera.com</link>
		<description>Support forum operated by 3tera</description>
		<language>en</language>
		<lastBuildDate>Sat, 19 May 2012 22:38:03 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://forum.3tera.com/images/misc/rss.jpg</url>
			<title>CA AppLogic Forums</title>
			<link>http://forum.3tera.com</link>
		</image>
		<item>
			<title>How-to create a managed Ubuntu 11.04 appliance (SIMPLIFIED)</title>
			<link>http://forum.3tera.com/showthread.php?t=5101&amp;goto=newpost</link>
			<pubDate>Fri, 18 May 2012 19:10:47 GMT</pubDate>
			<description>These are the steps to create a managed ubuntu 11.04 appliance using iso2class/hvm2pv. This process is meant to be run on a AppLogic 3.0 grid or...</description>
			<content:encoded><![CDATA[<div>These are the steps to create a managed ubuntu 11.04 appliance using iso2class/hvm2pv. This process is meant to be run on a AppLogic 3.0 grid or newer, if you want to execute it on an older version, you may have to manually install APK instead of using hvm2pv. This could be used for both 32-bit and 64-bit versions.<br />
<br />
This is a simplified version of an <a href="http://forum.3tera.com/showthread.php?t=3571" target="_blank">older how-to</a>. This one has more detailed instructions for the installation process and is easier to follow, providing a lot of commands that can simply be copy-pasted. The older how-to leaves a lot of options for the process (like choosing the partitioning setup), but also requires modifications to the instructions if you decide to make an install that is different than the once that is described.<br />
<br />
<br />
<b>Run iso2class</b><br />
<br />
<i>util iso2class app_name=ubuntu-11-04 iso_volume1=ubuntu-11.04-server-amd64.iso install_size=2G console_type=graphic os=linux-64 virt_mode=xen_hvm,vmware</i><br />
<br />
<b>Open the graphical console and complete the installation.</b><br />
<br />
Few important things:<br />
- if running on a xen grid, you need to pass &lt;b&gt;xen_emul_unplug=never&lt;/b&gt; to the installer (press F6 on the install screen to get to that menu), otherwise the ubuntu install kernel will detect that it runs on xen and it will disable all devices<br />
- no need to configure network during the install<br />
- use a manual partitioning as follows:<br />
/, primary, 500MB, ext3<br />
/usr, primary, 1.6GB, ext3<br />
- make sure you install openssh-server and libc6-i386 (needed only for 64-bit appliance, you will have to go to manual package selection for this) packages.<br />
- install grub in the MBR (thats the default choice)<br />
<br />
<b> Once the installation is complete, go back to the iso2class console and proceed with the install. When prompted, say you want to run hvm2pv now.</b><br />
<br />
While hvm2pv is running, it will prompt you with the following question:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Do you want to set up a new root password for text console login?</code><hr />
</div>Say 'Y'. Before proceeding, login to the appliance that hvm2pv is running (it should be something like hvm2pv_pg-ubuntu-11-04_5133:main.LINUX64) and execute the following:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><br />
# root mount point of the boot partition, this needs to be change accordingly<br />
ROOT_MOUNT=/mnt/vol/hdc1<br />
&nbsp;<br />
# edit $ROOT_MOUNT/etc/default/grub and modify the GRUB_CMDLINE_LINUX line to include xen_emul_unplug=never<br />
sed -i $ROOT_MOUNT/etc/default/grub -e 's/GRUB_CMDLINE_LINUX=.*$/GRUB_CMDLINE_LINUX=&quot;xen_emul_unplug=never&quot;/'<br />
<br />
#Update grub2 configuration:<br />
mount -o bind /dev/ $ROOT_MOUNT/dev/<br />
mount -o bind /sys/ $ROOT_MOUNT/sys/<br />
mount -o bind /proc/ $ROOT_MOUNT/proc/<br />
sed -e 's/timeout=-1/timeout=2/' -i $ROOT_MOUNT/etc/grub.d/00_header<br />
chroot $ROOT_MOUNT/ update-grub<br />
<br />
# Create PV grub configuration the root device and kernel/initrd paths may be different, check the grub2 config for details ($ROOT_MOUNT/boot/grub/grub.cfg):<br />
cat &gt; $ROOT_MOUNT/boot/grub/menu.lst&nbsp; &lt;&lt; EOF<br />
default 0<br />
timeout 1<br />
<br />
title AppLogic Appliance<br />
&nbsp; &nbsp; &nbsp; &nbsp; root&nbsp; &nbsp; (hd0,0)<br />
&nbsp; &nbsp; &nbsp; &nbsp; kernel&nbsp; /boot/$(find $ROOT_MOUNT/boot/ -iname 'vmlinuz-2.6.38*' -printf '%f') root=UUID=$(blkid -o value -s UUID /dev/hdc1) ro console=hvc0<br />
&nbsp; &nbsp; &nbsp; &nbsp; initrd&nbsp; /boot/$(find $ROOT_MOUNT/boot/ -iname 'initrd.img-2.6.38*' -printf '%f')<br />
EOF<br />
<br />
# Update dhcp configuration<br />
<br />
ln -sf /etc/dhclient-enter-hooks $ROOT_MOUNT/etc/dhcp/dhclient-enter-hooks.d/apk<br />
<br />
sed -i 's#\(/usr[[:blank:]]\+ext3[[:blank:]]\+defaults\)\([[:blank:]]\+\)[[:digit:]]\([[:blank:]]\+\)[[:digit:]]#\1,ro\20\30#g' $ROOT_MOUNT/etc/fstab<br />
echo xen-blkfront &gt;&gt; $ROOT_MOUNT/etc/initramfs-tools/modules <br />
<br />
chroot $ROOT_MOUNT update-initramfs -u<br />
<br />
# disable apparmor for dhclient<br />
chroot $ROOT_MOUNT ln -s /etc/apparmor.d/sbin.dhclient /etc/apparmor.d/disable/<br />
<br />
# move applogic_init service from runlevel S to 2345<br />
chroot $ROOT_MOUNT update-rc.d -f applogic_init remove<br />
chroot $ROOT_MOUNT update-rc.d -f applogic_init start 01 2 3 4 5 . stop 99 0 1 6 .</code><hr />
</div><b>Proceed with the hvm2pv install. After it is done you should have a managed HVM appliance</b><br />
<br />
<b>Modify the boundary of the new class, to include 'Xen Paravirtualization' in its Virtualization modes and have a usr volume, common, read-only, shared:</b><br />
<br />
<i>class put_desc ubuntu-11-04:ISO2CLASS</i><br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">component ISO2CLASS<br />
&nbsp;  {<br />
&nbsp;  .category&nbsp; &nbsp; &nbsp; &nbsp;  = Generic<br />
&nbsp;  .description&nbsp; &nbsp; &nbsp; = &quot;iso2class singleton&quot;<br />
&nbsp;  .config_mode&nbsp; &nbsp; &nbsp; = dhcp<br />
&nbsp;  .console&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = &quot;ssh:22,text,graphic&quot;<br />
<br />
&nbsp;  volume boot&nbsp; &nbsp; &nbsp;  : class&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  , boot&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  , dev&nbsp; = /dev/sda&nbsp; , type = instantiable<br />
&nbsp;  volume usr&nbsp; &nbsp; &nbsp; &nbsp; : class&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  , shared&nbsp; &nbsp; &nbsp; &nbsp;  , ro&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; , dev&nbsp; = /dev/sdb&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; , type = common<br />
<br />
&nbsp;  resource cpu&nbsp; &nbsp; &nbsp; : min&nbsp; &nbsp; &nbsp; = 0.05 , max&nbsp; &nbsp; &nbsp; = 16&nbsp; , dflt = 0.5<br />
&nbsp;  resource mem&nbsp; &nbsp; &nbsp; : min&nbsp; &nbsp; &nbsp; = 128M , max&nbsp; &nbsp; &nbsp; = 16G , dflt = 512M<br />
&nbsp;  resource bw&nbsp; &nbsp; &nbsp;  : min&nbsp; &nbsp; &nbsp; = 1M&nbsp;  , max&nbsp; &nbsp; &nbsp; = 1G&nbsp; , dflt = 1M<br />
<br />
&nbsp;  input in&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : protocol = any<br />
&nbsp;  output out&nbsp; &nbsp; &nbsp; &nbsp; : protocol = any<br />
&nbsp;  output net&nbsp; &nbsp; &nbsp; &nbsp; : gateway&nbsp; &nbsp; &nbsp; &nbsp;  , protocol = any<br />
&nbsp;  output mon&nbsp; &nbsp; &nbsp; &nbsp; : protocol = cce<br />
<br />
&nbsp;  interface default<br />
<br />
&nbsp;  virtualization<br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; options&nbsp; &nbsp; &nbsp;  = &quot;esx_os_name=rhel6-64&quot;<br />
&nbsp; &nbsp; &nbsp; device_schema = /dev/sdX<br />
&nbsp; &nbsp; &nbsp; modes&nbsp; &nbsp; &nbsp; &nbsp;  = &quot;vmware,xen_pv&quot;<br />
&nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp;  visual<br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; color&nbsp; &nbsp; &nbsp; = violet<br />
&nbsp; &nbsp; &nbsp; style&nbsp; &nbsp; &nbsp; = medium<br />
&nbsp; &nbsp; &nbsp; size&nbsp; &nbsp; &nbsp;  = 3<br />
&nbsp; &nbsp; &nbsp; east&nbsp; &nbsp; &nbsp;  = ooo<br />
&nbsp; &nbsp; &nbsp; west&nbsp; &nbsp; &nbsp;  = i<br />
<br />
&nbsp; &nbsp; &nbsp; output out : orient = east<br />
&nbsp; &nbsp; &nbsp; input in&nbsp;  : orient = west<br />
&nbsp; &nbsp; &nbsp; output mon : orient = east<br />
&nbsp; &nbsp; &nbsp; output net : orient = east<br />
&nbsp; &nbsp; &nbsp; }<br />
&nbsp;  }</code><hr />
</div><b>Split the boot volume into two volumes:</b><br />
<i><br />
vol create ubuntu-11-04:boot par1.fs=raw par1.size=500MB<br />
vol create ubuntu-11-04:usr par1.fs=raw par1.size=500MB<br />
vol copy ubuntu-11-04:ISO2CLASS.boot%par1 ubuntu-11-04:boot%par1 --fscpy<br />
vol copy ubuntu-11-04:ISO2CLASS.boot%par2 ubuntu-11-04:usr%par1 --fscpy<br />
</i><br />
<br />
<b>Copy the MBR</b><br />
<i>vol manage ubuntu-11-04:ISO2CLASS.boot ubuntu-11-04:boot</i><br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">dd if=/dev/sdb of=/dev/sdc bs=1 count=446<br />
dd if=/dev/sdb of=/dev/sdc bs=512 seek=1 skip=1 count=2047</code><hr />
</div><br />
<b>Add the new volumes</b><br />
<br />
<i><br />
vol copy ubuntu-11-04:boot ubuntu-11-04:ISO2CLASS.boot  --overwrite --force<br />
vol copy ubuntu-11-04:usr ubuntu-11-04:ISO2CLASS.usr --overwrite --force<br />
</i><br />
<br />
<br />
<br />
<br />
<br />
<br />
-- Main.PavelGeorgiev - 08 May 2012</div>

]]></content:encoded>
			<category domain="http://forum.3tera.com/forumdisplay.php?f=6"><![CDATA[How-to  &  Troubleshooting Tips]]></category>
			<dc:creator>PavelGeorgiev</dc:creator>
			<guid isPermaLink="true">http://forum.3tera.com/showthread.php?t=5101</guid>
		</item>
		<item>
			<title>How-to create a managed Ubuntu 10.04 appliance</title>
			<link>http://forum.3tera.com/showthread.php?t=5091&amp;goto=newpost</link>
			<pubDate>Fri, 18 May 2012 18:56:35 GMT</pubDate>
			<description>These are the steps to create a managed ubuntu 10.04.4 appliance using iso2class/hvm2pv. This process is meant to be run on a AppLogic 3.0 grid or...</description>
			<content:encoded><![CDATA[<div>These are the steps to create a managed ubuntu 10.04.4 appliance using iso2class/hvm2pv. This process is meant to be run on a AppLogic 3.0 grid or newer, if you want to execute it on an older version, you may have to manually install APK instead of using hvm2pv. This could be used for both 32-bit and 64-bit versions.<br />
<br />
<b>Run iso2class</b><br />
<br />
<br />
<i>util iso2class app_name=ubuntu-10-04 iso_volume1=ubuntu-10.04.4-server-amd64.iso install_size=2G console_type=graphic os=linux-64 virt_mode=xen_hvm,vmware</i><br />
<br />
<br />
<b>Open the graphical console and complete the installation.</b><br />
<br />
Few important things:<br />
- no need to configure network during the install<br />
- use a manual partitioning as follows:<br />
/, primary, 500MB, ext3<br />
/usr, primary, 1.6GB, ext3<br />
- make sure you install openssh-server and libc6-i386 (needed only for 64-bit appliance, you will have to go to manual package selection for this) packages.<br />
- install grub in the MBR (thats the default choice)<br />
<br />
<b>Once the installation is complete, go back to the iso2class console and proceed with the install. When prompted, say you want to run hvm2pv now.</b><br />
<br />
While hvm2pv is running, it will prompt you with the following question:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Do you want to set up a new root password for text console login?</code><hr />
</div>Say 'Y'. Before proceeding, login to the appliance that hvm2pv is running (it should be something like hvm2pv_pg-ubuntu-10-04_5133:main.LINUX64) and execute the following:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"># root mount point of the boot partition, this needs to be change accordingly<br />
ROOT_MOUNT=/mnt/vol/hdc1<br />
&nbsp;<br />
#Update grub2 configuration:<br />
mount -o bind /dev/ $ROOT_MOUNT/dev/<br />
mount -o bind /sys/ $ROOT_MOUNT/sys/<br />
mount -o bind /proc/ $ROOT_MOUNT/proc/<br />
sed -e 's/timeout=-1/timeout=2/' -i $ROOT_MOUNT/etc/grub.d/00_header<br />
chroot $ROOT_MOUNT/ update-grub<br />
<br />
# Create PV grub configuration the root device and kernel/initrd paths may be different, check the grub2 config for details ($ROOT_MOUNT/boot/grub/grub.cfg):<br />
cat &gt; $ROOT_MOUNT/boot/grub/menu.lst&nbsp; &lt;&lt; EOF<br />
default 0<br />
timeout 1<br />
<br />
title AppLogic Appliance<br />
&nbsp; &nbsp; &nbsp; &nbsp; root&nbsp; &nbsp; (hd0,0)<br />
&nbsp; &nbsp; &nbsp; &nbsp; kernel&nbsp; /boot/$(find $ROOT_MOUNT/boot/ -iname 'vmlinuz-2.6.32*' -printf '%f') root=UUID=$(blkid -o value -s UUID /dev/hdc1) ro console=hvc0<br />
&nbsp; &nbsp; &nbsp; &nbsp; initrd&nbsp; /boot/$(find $ROOT_MOUNT/boot/ -iname 'initrd.img-2.6.32*' -printf '%f')<br />
EOF<br />
<br />
sed -i 's#\(/usr[[:blank:]]\+ext3[[:blank:]]\+defaults\)\([[:blank:]]\+\)[[:digit:]]\([[:blank:]]\+\)[[:digit:]]#\1,ro\20\30#g' $ROOT_MOUNT/etc/fstab<br />
<br />
# move applogic_init service from runlevel S to 2345<br />
chroot $ROOT_MOUNT update-rc.d -f applogic_init remove<br />
chroot $ROOT_MOUNT update-rc.d -f applogic_init start 01 2 3 4 5 . stop 99 0 1 6 .</code><hr />
</div><br />
<b>Proceed with the hvm2pv install. After it is done you should have a managed HVM appliance</b><br />
<br />
<b>Modify the boundary of the new class, to include 'Xen Paravirtualization' in its Virtualization modes and have a usr volume, common, read-only, shared:</b><br />
<br />
<i>class put_desc ubuntu-10-04:ISO2CLASS</i><br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">component ISO2CLASS<br />
&nbsp;  {<br />
&nbsp;  .category&nbsp; &nbsp; &nbsp; &nbsp;  = Generic<br />
&nbsp;  .description&nbsp; &nbsp; &nbsp; = &quot;iso2class singleton&quot;<br />
&nbsp;  .config_mode&nbsp; &nbsp; &nbsp; = dhcp<br />
&nbsp;  .console&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = &quot;ssh:22,text,graphic&quot;<br />
<br />
&nbsp;  volume boot&nbsp; &nbsp; &nbsp;  : class&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  , boot&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  , dev&nbsp; = /dev/sda&nbsp; , type = instantiable<br />
&nbsp;  volume usr&nbsp; &nbsp; &nbsp; &nbsp; : class&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  , shared&nbsp; &nbsp; &nbsp; &nbsp;  , ro&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; , dev&nbsp; = /dev/sdb&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; , type = common<br />
<br />
&nbsp;  resource cpu&nbsp; &nbsp; &nbsp; : min&nbsp; &nbsp; &nbsp; = 0.05 , max&nbsp; &nbsp; &nbsp; = 16&nbsp; , dflt = 0.5<br />
&nbsp;  resource mem&nbsp; &nbsp; &nbsp; : min&nbsp; &nbsp; &nbsp; = 128M , max&nbsp; &nbsp; &nbsp; = 16G , dflt = 512M<br />
&nbsp;  resource bw&nbsp; &nbsp; &nbsp;  : min&nbsp; &nbsp; &nbsp; = 1M&nbsp;  , max&nbsp; &nbsp; &nbsp; = 1G&nbsp; , dflt = 1M<br />
<br />
&nbsp;  input in&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : protocol = any<br />
&nbsp;  output out&nbsp; &nbsp; &nbsp; &nbsp; : protocol = any<br />
&nbsp;  output net&nbsp; &nbsp; &nbsp; &nbsp; : gateway&nbsp; &nbsp; &nbsp; &nbsp;  , protocol = any<br />
&nbsp;  output mon&nbsp; &nbsp; &nbsp; &nbsp; : protocol = cce<br />
<br />
&nbsp;  interface default<br />
<br />
&nbsp;  virtualization<br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; options&nbsp; &nbsp; &nbsp;  = &quot;esx_os_name=rhel6-64&quot;<br />
&nbsp; &nbsp; &nbsp; device_schema = /dev/sdX<br />
&nbsp; &nbsp; &nbsp; modes&nbsp; &nbsp; &nbsp; &nbsp;  = &quot;vmware,xen_pv&quot;<br />
&nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp;  visual<br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; color&nbsp; &nbsp; &nbsp; = violet<br />
&nbsp; &nbsp; &nbsp; style&nbsp; &nbsp; &nbsp; = medium<br />
&nbsp; &nbsp; &nbsp; size&nbsp; &nbsp; &nbsp;  = 3<br />
&nbsp; &nbsp; &nbsp; east&nbsp; &nbsp; &nbsp;  = ooo<br />
&nbsp; &nbsp; &nbsp; west&nbsp; &nbsp; &nbsp;  = i<br />
<br />
&nbsp; &nbsp; &nbsp; output out : orient = east<br />
&nbsp; &nbsp; &nbsp; input in&nbsp;  : orient = west<br />
&nbsp; &nbsp; &nbsp; output mon : orient = east<br />
&nbsp; &nbsp; &nbsp; output net : orient = east<br />
&nbsp; &nbsp; &nbsp; }<br />
&nbsp;  }</code><hr />
</div><b>Split the boot volume into two volumes:</b><br />
<i><br />
vol create ubuntu-10-04:boot par1.fs=raw par1.size=500MB<br />
vol create ubuntu-10-04:usr par1.fs=raw par1.size=500MB<br />
vol copy ubuntu-10-04:ISO2CLASS.boot%par1 ubuntu-10-04:boot%par1 --fscpy<br />
vol copy ubuntu-10-04:ISO2CLASS.boot%par2 ubuntu-10-04:usr%par1 --fscpy<br />
</i><br />
<br />
<b>Copy the MBR</b><br />
<i>vol manage ubuntu-10-04:ISO2CLASS.boot ubuntu-10-04:boot</i><br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">dd if=/dev/sdb of=/dev/sdc bs=1 count=446<br />
dd if=/dev/sdb of=/dev/sdc bs=512 seek=1 skip=1 count=2047</code><hr />
</div><b>Add the new volumes</b><br />
<br />
<i><br />
vol copy ubuntu-10-04:boot ubuntu-10-04:ISO2CLASS.boot  --overwrite --force<br />
vol copy ubuntu-10-04:usr ubuntu-10-04:ISO2CLASS.usr --overwrite --force<br />
</i></div>

]]></content:encoded>
			<category domain="http://forum.3tera.com/forumdisplay.php?f=6"><![CDATA[How-to  &  Troubleshooting Tips]]></category>
			<dc:creator>PavelGeorgiev</dc:creator>
			<guid isPermaLink="true">http://forum.3tera.com/showthread.php?t=5091</guid>
		</item>
		<item>
			<title>How-to create a managed RHEL 6.1 appliance</title>
			<link>http://forum.3tera.com/showthread.php?t=5081&amp;goto=newpost</link>
			<pubDate>Fri, 18 May 2012 18:46:22 GMT</pubDate>
			<description>These are the steps to create a managed Centos 6.1 appliance using iso2class/hvm2pv. This process is meant to be run on a AppLogic 3.0 grid or newer,...</description>
			<content:encoded><![CDATA[<div>These are the steps to create a managed Centos 6.1 appliance using iso2class/hvm2pv. This process is meant to be run on a AppLogic 3.0 grid or newer, if you want to execute it on an older version, you may have to manually install APK instead of using hvm2pv. This could be used for both 32-bit and 64-bit versions.<br />
<br />
<b>Run iso2class</b><br />
<br />
<i>util iso2class app_name=rhel-61 iso_volume1=rhel-server-6.1-x86_64-dvd.iso mem=1G install_size=1G console_type=graphic os=linux-64 virt_mode=xen_hvm,vmware</i><br />
<br />
<b>Open the graphical console and complete the installation.</b><br />
Few important things:<br />
- if you are running that on an esx grid, the mouse will not work during the install, you will need to use the keyboard to complete the installation.<br />
- use a manual partitioning as follows (create custom layout):<br />
 /, primary, 400MB, ext3<br />
 /usr, primary, 600MB, ext3<br />
 - package sleection - you will need the 'minimum' install (additional packages may be selected if desired, more disk space may be needed if you decide to include additional software)<br />
 - install grub in the MBR (thats the default choice)<br />
<br />
<b>Once the installation is complete, go back to the iso2class console and proceed with the install.</b><br />
<br />
When iso2class gives you the following prompt:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Before continuing with the final modification of the singleton class<br />
descriptor, please specify how CA AppLogic should manage the resulting<br />
appliance:<br />
&nbsp;  1.&nbsp; Windows msi/APK is installed:&nbsp; the appliance is fully managed<br />
&nbsp;  2.&nbsp; Windows msi/APK is NOT installed:&nbsp; the appliance is unmanaged<br />
<br />
Please specify a number 1-2 and then press [Enter]:</code><hr />
</div>Before you answer that, open a new shell and execute:<br />
<br />
<i>vol manage rhel-61:iso_volume1 rhel-61:ISO2CLASS.boot</i><br />
<br />
and execute the following in the filer:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">cp -va /mnt/vol/Packages/wget*.rpm /mnt/vol2/par1/root/<br />
<br />
# Execute the following only if you are installing a 64-bit OS<br />
cp -va /mnt/vol/Packages/{nss-softokn-freebl-3,glibc-2}*i686.rpm /mnt/vol2/par1/root/</code><hr />
</div><br />
<b>Exit the filer (wait for the vol manage opration to complete) and proceed with the iso2class install. When prompted, say you want to run hvm2pv now.</b><br />
<br />
While hvm2pv is running, it will prompt you with the following question:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Do you want to set up a new root password for text console login?</code><hr />
</div>Say 'Y'. Before proceeding, login to the appliance that hvm2pv is running (it should be something like hvm2pv_rhel-6.1_5133:main.LINUX64) and execute the following:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">ROOT_MOUNT=/mnt/vol/hdc1<br />
chroot $ROOT_MOUNT rpm -Uv /root/*rpm<br />
rm -fv $ROOT_MOUNT/root/*rpm<br />
ln -sf /etc/dhclient-enter-hooks $ROOT_MOUNT/etc/dhcp/dhclient-enter-hooks<br />
sed -i 's#\(/usr[[:blank:]]\+ext3[[:blank:]]\+defaults\)\([[:blank:]]\+\)[[:digit:]]\([[:blank:]]\+\)[[:digit:]]#\1,ro\20\30#g' $ROOT_MOUNT/etc/fstab<br />
sed -i $ROOT_MOUNT/boot/grub/menu.lst -e 's/ quiet/ quiet xen_emul_unplug=never/'<br />
sed -i $ROOT_MOUNT/etc/sysconfig/selinux -e 's/^SELINUX=.*$/SELINUX=disabled/'<br />
<br />
mount -o bind /dev/ $ROOT_MOUNT/dev/<br />
mount -o bind /sys/ $ROOT_MOUNT/sys/<br />
mount -o bind /proc/ $ROOT_MOUNT/proc/<br />
<br />
# Install grub<br />
chroot $ROOT_MOUNT grub --batch --no-floppy &lt;&lt; EOF<br />
device (hd0) /dev/hdc<br />
root (hd0,0)<br />
setup (hd0)<br />
quit<br />
EOF</code><hr />
</div><b>Proceed with the hvm2pv install. After it is done you should have a managed HVM appliance</b><br />
<br />
<b>Modify the boundary of the new class, to include 'Xen Paravirtualization' in its Virtualization modes and have a usr volume, common, read-only, shared</b><br />
<br />
<i>class put_desc rhel-61:ISO2CLASS</i><br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">component ISO2CLASS<br />
&nbsp;  {<br />
&nbsp;  .category&nbsp; &nbsp; &nbsp; &nbsp;  = Generic<br />
&nbsp;  .description&nbsp; &nbsp; &nbsp; = &quot;iso2class singleton&quot;<br />
&nbsp;  .config_mode&nbsp; &nbsp; &nbsp; = dhcp<br />
&nbsp;  .console&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = &quot;ssh:22,text,graphic&quot;<br />
<br />
&nbsp;  volume boot&nbsp; &nbsp; &nbsp;  : class&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  , boot&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  , dev&nbsp; = /dev/sda&nbsp; , type = instantiable<br />
&nbsp;  volume usr&nbsp; &nbsp; &nbsp; &nbsp; : class&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  , shared&nbsp; &nbsp; &nbsp; &nbsp;  , ro&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; , dev&nbsp; = /dev/sdb&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; , type = common<br />
<br />
&nbsp;  resource cpu&nbsp; &nbsp; &nbsp; : min&nbsp; &nbsp; &nbsp; = 0.05 , max&nbsp; &nbsp; &nbsp; = 16&nbsp; , dflt = 0.5<br />
&nbsp;  resource mem&nbsp; &nbsp; &nbsp; : min&nbsp; &nbsp; &nbsp; = 128M , max&nbsp; &nbsp; &nbsp; = 16G , dflt = 512M<br />
&nbsp;  resource bw&nbsp; &nbsp; &nbsp;  : min&nbsp; &nbsp; &nbsp; = 1M&nbsp;  , max&nbsp; &nbsp; &nbsp; = 1G&nbsp; , dflt = 1M<br />
<br />
&nbsp;  input in&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : protocol = any<br />
&nbsp;  output out&nbsp; &nbsp; &nbsp; &nbsp; : protocol = any<br />
&nbsp;  output net&nbsp; &nbsp; &nbsp; &nbsp; : gateway&nbsp; &nbsp; &nbsp; &nbsp;  , protocol = any<br />
&nbsp;  output mon&nbsp; &nbsp; &nbsp; &nbsp; : protocol = cce<br />
<br />
&nbsp;  interface default<br />
<br />
&nbsp;  virtualization<br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; options&nbsp; &nbsp; &nbsp;  = &quot;esx_os_name=rhel6-64&quot;<br />
&nbsp; &nbsp; &nbsp; device_schema = /dev/sdX<br />
&nbsp; &nbsp; &nbsp; modes&nbsp; &nbsp; &nbsp; &nbsp;  = &quot;vmware,xen_pv&quot;<br />
&nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp;  visual<br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; color&nbsp; &nbsp; &nbsp; = violet<br />
&nbsp; &nbsp; &nbsp; style&nbsp; &nbsp; &nbsp; = medium<br />
&nbsp; &nbsp; &nbsp; size&nbsp; &nbsp; &nbsp;  = 3<br />
&nbsp; &nbsp; &nbsp; east&nbsp; &nbsp; &nbsp;  = ooo<br />
&nbsp; &nbsp; &nbsp; west&nbsp; &nbsp; &nbsp;  = i<br />
<br />
&nbsp; &nbsp; &nbsp; output out : orient = east<br />
&nbsp; &nbsp; &nbsp; input in&nbsp;  : orient = west<br />
&nbsp; &nbsp; &nbsp; output mon : orient = east<br />
&nbsp; &nbsp; &nbsp; output net : orient = east<br />
&nbsp; &nbsp; &nbsp; }<br />
&nbsp;  }</code><hr />
</div><b>Split the boot volume into two volumes:</b><br />
<i><br />
vol create rhel-61:boot par1.fs=raw par1.size=300MB<br />
vol create rhel-61:usr par1.fs=raw par1.size=500MB<br />
vol copy rhel-61:ISO2CLASS.boot%par1 rhel-61:boot%par1 --fscpy<br />
vol copy rhel-61:ISO2CLASS.boot%par2 rhel-61:usr%par1 --fscpy<br />
</i><br />
<br />
<b>Copy the MBR</b><br />
<i>vol manage rhel-61:ISO2CLASS.boot rhel-61:boot</i><br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">dd if=/dev/sdb of=/dev/sdc bs=1 count=446<br />
dd if=/dev/sdb of=/dev/sdc bs=512 seek=1 skip=1 count=2047</code><hr />
</div><b>Add the new volumes</b><br />
<br />
<i><br />
vol copy rhel-61:boot rhel-61:ISO2CLASS.boot  --overwrite --force<br />
vol copy rhel-61:usr rhel-61:ISO2CLASS.usr --overwrite --force<br />
</i></div>

]]></content:encoded>
			<category domain="http://forum.3tera.com/forumdisplay.php?f=6"><![CDATA[How-to  &  Troubleshooting Tips]]></category>
			<dc:creator>PavelGeorgiev</dc:creator>
			<guid isPermaLink="true">http://forum.3tera.com/showthread.php?t=5081</guid>
		</item>
		<item>
			<title>How-to create a managed Centos 6.1 appliance</title>
			<link>http://forum.3tera.com/showthread.php?t=5071&amp;goto=newpost</link>
			<pubDate>Thu, 17 May 2012 23:32:48 GMT</pubDate>
			<description>These are the steps to create a managed Centos 6.1 appliance using iso2class/hvm2pv. This process is meant to be run on a AppLogic? 3.0 grid or...</description>
			<content:encoded><![CDATA[<div>These are the steps to create a managed Centos 6.1 appliance using iso2class/hvm2pv. This process is meant to be run on a AppLogic? 3.0 grid or newer, if you want to execute it on an older version, you may have to manually install APK instead of using hvm2pv. This could be used for both 32-bit and 64-bit versions.<br />
<br />
<b>Run iso2class</b><br />
<br />
<i>util iso2class app_name=Centos-61 iso_volume1=CentOS-6.1-x86_64-bin-DVD1.iso mem=1G install_size=1G console_type=graphic os=linux-64 virt_mode=xen_hvm,vmware</i><br />
<br />
<b>Open the graphical console and complete the installation.</b><br />
<br />
Few important things:<br />
- if you are running that on an esx grid, the mouse will not work during the install, you will need to use the keyboard to complete the installation.<br />
- use a manual partitioning as follows (create custom layout):<br />
/, primary, 400MB, ext3<br />
/usr, primary, 600MB, ext3<br />
- package sleection - you will need the 'minimum' install (additional packages may be selected if desired, more disk space may be needed if you decide to include additional software)<br />
- install grub in the MBR (thats the default choice)<br />
<br />
<b>Once the installation is complete, go back to the iso2class console and proceed with the install.</b><br />
<br />
When iso2class gives you the following prompt:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Before continuing with the final modification of the singleton class<br />
descriptor, please specify how CA AppLogic should manage the resulting<br />
appliance:<br />
&nbsp;  1.&nbsp; Windows msi/APK is installed:&nbsp; the appliance is fully managed<br />
&nbsp;  2.&nbsp; Windows msi/APK is NOT installed:&nbsp; the appliance is unmanaged<br />
<br />
Please specify a number 1-2 and then press [Enter]:</code><hr />
</div>Before you answer that, open a new shell and execute:<br />
<i>vol manage Centos-61:iso_volume1 Centos-61:ISO2CLASS.boot</i><br />
and execute the following in the filer:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">cp -va /mnt/vol/Packages/wget*.rpm /mnt/vol2/par1/root/<br />
<br />
# Execute the following only if you are installing a 64-bit OS<br />
cp -va /mnt/vol/Packages/{nss-softokn-freebl-3,glibc-2}*i686.rpm /mnt/vol2/par1/root/</code><hr />
</div><br />
<b>Exit the filer (wait for the vol manage opration to complete) and proceed with the iso2class install. When prompted, say you want to run hvm2pv now.</b><br />
<br />
While hvm2pv is running, it will prompt you with the following question:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Do you want to set up a new root password for text console login?</code><hr />
</div>Say 'Y'. Before proceeding, login to the appliance that hvm2pv is running (it should be something like hvm2pv_CentOS-6.1_5133:main.LINUX64) and execute the following:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">ROOT_MOUNT=/mnt/vol/hdc1<br />
chroot $ROOT_MOUNT rpm -Uv /root/*rpm<br />
rm -fv $ROOT_MOUNT/root/*rpm<br />
ln -sf /etc/dhclient-enter-hooks $ROOT_MOUNT/etc/dhcp/dhclient-enter-hooks<br />
sed -i 's#\(/usr[[:blank:]]\+ext3[[:blank:]]\+defaults\)\([[:blank:]]\+\)[[:digit:]]\([[:blank:]]\+\)[[:digit:]]#\1,ro\20\30#g' $ROOT_MOUNT/etc/fstab<br />
sed -i $ROOT_MOUNT/boot/grub/menu.lst -e 's/ quiet/ quiet xen_emul_unplug=never/'<br />
sed -i $ROOT_MOUNT/etc/sysconfig/selinux -e 's/^SELINUX=.*$/SELINUX=disabled/'<br />
<br />
mount -o bind /dev/ $ROOT_MOUNT/dev/<br />
mount -o bind /sys/ $ROOT_MOUNT/sys/<br />
mount -o bind /proc/ $ROOT_MOUNT/proc/<br />
<br />
# Install grub<br />
chroot $ROOT_MOUNT grub --batch --no-floppy &lt;&lt; EOF<br />
device (hd0) /dev/hdc<br />
root (hd0,0)<br />
setup (hd0)<br />
quit<br />
EOF</code><hr />
</div><b>Proceed with the hvm2pv install. After it is done you should have a managed HVM appliance</b><br />
<br />
<b>Modify the boundary of the new class, to include 'Xen Paravirtualization' in its Virtualization modes and have a usr volume, common, read-only, shared:</b><br />
<br />
<i>class put_desc Centos-61:ISO2CLASS</i><br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">component ISO2CLASS<br />
&nbsp;  {<br />
&nbsp;  .category&nbsp; &nbsp; &nbsp; &nbsp;  = Generic<br />
&nbsp;  .description&nbsp; &nbsp; &nbsp; = &quot;iso2class singleton&quot;<br />
&nbsp;  .config_mode&nbsp; &nbsp; &nbsp; = dhcp<br />
&nbsp;  .console&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = &quot;ssh:22,text,graphic&quot;<br />
<br />
&nbsp;  volume boot&nbsp; &nbsp; &nbsp;  : class&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  , boot&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  , dev&nbsp; = /dev/sda&nbsp; , type = instantiable<br />
&nbsp;  volume usr&nbsp; &nbsp; &nbsp; &nbsp; : class&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  , shared&nbsp; &nbsp; &nbsp; &nbsp;  , ro&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; , dev&nbsp; = /dev/sdb&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; , type = common<br />
<br />
&nbsp;  resource cpu&nbsp; &nbsp; &nbsp; : min&nbsp; &nbsp; &nbsp; = 0.05 , max&nbsp; &nbsp; &nbsp; = 16&nbsp; , dflt = 0.5<br />
&nbsp;  resource mem&nbsp; &nbsp; &nbsp; : min&nbsp; &nbsp; &nbsp; = 128M , max&nbsp; &nbsp; &nbsp; = 16G , dflt = 512M<br />
&nbsp;  resource bw&nbsp; &nbsp; &nbsp;  : min&nbsp; &nbsp; &nbsp; = 1M&nbsp;  , max&nbsp; &nbsp; &nbsp; = 1G&nbsp; , dflt = 1M<br />
<br />
&nbsp;  input in&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : protocol = any<br />
&nbsp;  output out&nbsp; &nbsp; &nbsp; &nbsp; : protocol = any<br />
&nbsp;  output net&nbsp; &nbsp; &nbsp; &nbsp; : gateway&nbsp; &nbsp; &nbsp; &nbsp;  , protocol = any<br />
&nbsp;  output mon&nbsp; &nbsp; &nbsp; &nbsp; : protocol = cce<br />
<br />
&nbsp;  interface default<br />
<br />
&nbsp;  virtualization<br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; options&nbsp; &nbsp; &nbsp;  = &quot;esx_os_name=rhel6-64&quot;<br />
&nbsp; &nbsp; &nbsp; device_schema = /dev/sdX<br />
&nbsp; &nbsp; &nbsp; modes&nbsp; &nbsp; &nbsp; &nbsp;  = &quot;vmware,xen_pv&quot;<br />
&nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp;  visual<br />
&nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; color&nbsp; &nbsp; &nbsp; = violet<br />
&nbsp; &nbsp; &nbsp; style&nbsp; &nbsp; &nbsp; = medium<br />
&nbsp; &nbsp; &nbsp; size&nbsp; &nbsp; &nbsp;  = 3<br />
&nbsp; &nbsp; &nbsp; east&nbsp; &nbsp; &nbsp;  = ooo<br />
&nbsp; &nbsp; &nbsp; west&nbsp; &nbsp; &nbsp;  = i<br />
<br />
&nbsp; &nbsp; &nbsp; output out : orient = east<br />
&nbsp; &nbsp; &nbsp; input in&nbsp;  : orient = west<br />
&nbsp; &nbsp; &nbsp; output mon : orient = east<br />
&nbsp; &nbsp; &nbsp; output net : orient = east<br />
&nbsp; &nbsp; &nbsp; }<br />
&nbsp;  }</code><hr />
</div><b>Split the boot volume into two volumes:</b><br />
<i><br />
vol create Centos-61:boot par1.fs=raw par1.size=300MB<br />
vol create Centos-61:usr par1.fs=raw par1.size=500MB<br />
vol copy Centos-61:ISO2CLASS.boot%par1 Centos-61:boot%par1 --fscpy<br />
vol copy Centos-61:ISO2CLASS.boot%par2 Centos-61:usr%par1 --fscpy<br />
</i><br />
<br />
<b>Copy the MBR</b><br />
<i>vol manage Centos-61:ISO2CLASS.boot Centos-61:boot</i><br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">dd if=/dev/sdb of=/dev/sdc bs=1 count=446<br />
dd if=/dev/sdb of=/dev/sdc bs=512 seek=1 skip=1 count=2047</code><hr />
</div><b>Add the new volumes</b><br />
<br />
<i><br />
vol copy Centos-61:boot Centos-61:ISO2CLASS.boot  --overwrite --force<br />
vol copy Centos-61:usr Centos-61:ISO2CLASS.usr --overwrite --force<br />
</i></div>

]]></content:encoded>
			<category domain="http://forum.3tera.com/forumdisplay.php?f=6"><![CDATA[How-to  &  Troubleshooting Tips]]></category>
			<dc:creator>PavelGeorgiev</dc:creator>
			<guid isPermaLink="true">http://forum.3tera.com/showthread.php?t=5071</guid>
		</item>
		<item>
			<title>Windows folder sharing between servers</title>
			<link>http://forum.3tera.com/showthread.php?t=5061&amp;goto=newpost</link>
			<pubDate>Thu, 17 May 2012 20:25:54 GMT</pubDate>
			<description><![CDATA[Hi, 
I have an application with 3 windows servers. There's a service that requires that a particular folder at each server should be shared between...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
I have an application with 3 windows servers. There's a service that requires that a particular folder at each server should be shared between all.<br />
What are your suggestions to implement this scenario?</div>

]]></content:encoded>
			<category domain="http://forum.3tera.com/forumdisplay.php?f=18">Windows-based appliances</category>
			<dc:creator>luisr</dc:creator>
			<guid isPermaLink="true">http://forum.3tera.com/showthread.php?t=5061</guid>
		</item>
		<item>
			<title>Windows folder share</title>
			<link>http://forum.3tera.com/showthread.php?t=5051&amp;goto=newpost</link>
			<pubDate>Thu, 17 May 2012 18:49:26 GMT</pubDate>
			<description>move to http://forum.3tera.com/showthread.php?t=5061</description>
			<content:encoded><![CDATA[<div>move to <a href="http://forum.3tera.com/showthread.php?t=5061" target="_blank">http://forum.3tera.com/showthread.php?t=5061</a></div>

]]></content:encoded>
			<category domain="http://forum.3tera.com/forumdisplay.php?f=10">Application/Appliance workshop</category>
			<dc:creator>luisr</dc:creator>
			<guid isPermaLink="true">http://forum.3tera.com/showthread.php?t=5051</guid>
		</item>
		<item>
			<title>Applogic and NAS need to be friends</title>
			<link>http://forum.3tera.com/showthread.php?t=5031&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 18:00:17 GMT</pubDate>
			<description>I am currently trying to set up windows 2008 server that connects to 4 external NAS devices via NFS (Ip only).The customer does not want any internet...</description>
			<content:encoded><![CDATA[<div>I am currently trying to set up windows 2008 server that connects to 4 external NAS devices via NFS (Ip only).The customer does not want any internet access to the NAS...I guess im confused because I really dont see how this is done via the NAS appliances on the grid. Has anybody done this? if so can you share an example, or anything <br />
<br />
THANKS!</div>

]]></content:encoded>
			<category domain="http://forum.3tera.com/forumdisplay.php?f=71"><![CDATA[Architects' Corner]]></category>
			<dc:creator>Jcraft</dc:creator>
			<guid isPermaLink="true">http://forum.3tera.com/showthread.php?t=5031</guid>
		</item>
		<item>
			<title>Common causes of grid instability</title>
			<link>http://forum.3tera.com/showthread.php?t=5021&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 17:47:37 GMT</pubDate>
			<description>Hi, I thought I would share some common reasons we have seen when troubleshooting grids that appear unstable. In all of items below, the issue has...</description>
			<content:encoded><![CDATA[<div>Hi, I thought I would share some common reasons we have seen when troubleshooting grids that appear unstable. In all of items below, the issue has been either configuration error or missing mandatory hotfix. In all cases, CA's support can help diagnose the issues.<br />
<br />
Here are the top possible reasons for the failure/instability (in more that 50-60% of the cases it has been the first one below):<ul><li> spanning tree (STP) is not properly/fully disabled on the backbone switch. AppLogic 2.9 as well as 3.5 beta have built-in STP detection; 3.0 and 3.1 do not. That said, we have seen some switches on which STP cannot be disabled and/or cannot be detected programmatically (very rare but exist – IIRC, low end, older premium brand switches; support knows them)</li>
<li> missing one or more mandatory hotfixes (please check the release notes of the AppLogic release you use)</li>
<li> having pre-3.1 AppLogic grids on the same backbone that don’t have the mandatory hotfix hf3240 installed – this is very insidious, since this rare condition on one unpatched grid can cause failure on other, perfectly patched grids. You should know if there are other grids on the backbone and whether they have hf3240 applied (if 2.9 grid, then hf3240 has to be re-applied if new servers are added to the grid after the hotfix is installed; not needed in 3.0); the condition can also be easily detected by running network capture or reviewing the statistics on the switches.</li>
<li> some combinations of disk controllers and hard drives (popular brand) have firmware problems under load; typically disabling NCQ fixes the problem. Support knows the procedure for detecting the problem and turning NCQ off.</li>
<li> server BIOS is not up to date – while this is a rare issue, we have seen it several times, especially on higher end servers that were purchased early in the production run. Similarly, bad memory and/or bad hard drives can cause instability.</li>
<li> backbone/switch configuration is unusual/incorrect. For example, if the backbone switch is uplinked or shared between multiple backbones (via VLANs), it is important to use the backbone ID and grid ID correctly to prevent MAC address conflicts (which will wreak havoc on multiple grids). In one case, we even found an inadvertent connection between the external and the backbone networks (by some clever but incorrect VLAN setup). AppLogic 3.5 provides some additional network topology diagnostic checks/heuristics to help avoid these but if you are doing something unusual (i.e., anything other than plain configuration), it is worth taking a look at.</li>
<li> certain switches have vendor-specific STP/broadcast storm control features that has been identified as problematic. Check out discussions on this forum and the AppLogic user group.</li>
</ul><br />
I hope this is helpful. Please feel free to comment/augment expand.<br />
<br />
Best regards,<br />
- Peter</div>

]]></content:encoded>
			<category domain="http://forum.3tera.com/forumdisplay.php?f=6"><![CDATA[How-to  &  Troubleshooting Tips]]></category>
			<dc:creator>PeterNic</dc:creator>
			<guid isPermaLink="true">http://forum.3tera.com/showthread.php?t=5021</guid>
		</item>
		<item>
			<title>Failed to allocate resources</title>
			<link>http://forum.3tera.com/showthread.php?t=5011&amp;goto=newpost</link>
			<pubDate>Tue, 15 May 2012 12:36:13 GMT</pubDate>
			<description><![CDATA[When stopping an application we notices the message Log "...failed to destroy VNA group" 
Now when trying to start the same application it reports:...]]></description>
			<content:encoded><![CDATA[<div>When stopping an application we notices the message Log &quot;...failed to destroy VNA group&quot;<br />
Now when trying to start the same application it reports:<br />
&quot;...failed to allocate resources for component&quot;<br />
&quot;...failed to create VNA&quot;<br />
<br />
It's related to the server where the error occurored. I have to assign the appliance affinity to another server to be able to boot.</div>

]]></content:encoded>
			<category domain="http://forum.3tera.com/forumdisplay.php?f=6"><![CDATA[How-to  &  Troubleshooting Tips]]></category>
			<dc:creator>luisr</dc:creator>
			<guid isPermaLink="true">http://forum.3tera.com/showthread.php?t=5011</guid>
		</item>
		<item>
			<title>adding additional ips to a vds</title>
			<link>http://forum.3tera.com/showthread.php?t=5001&amp;goto=newpost</link>
			<pubDate>Mon, 14 May 2012 19:42:31 GMT</pubDate>
			<description>Hello, 
 
In my cpanel VDS application, I would like to add a few additional ips other than primary and secondary ips. Unfortunately applogic doc...</description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
In my cpanel VDS application, I would like to add a few additional ips other than primary and secondary ips. Unfortunately applogic doc does not have a straight forward method to do this. I tried to modify the application boundary and added a third ip property value. But I think that is not enough for it to work. So I wrote a script and added it to /etc/init.d/applogic_init. But that did not work.<br />
<br />
============<br />
#!/bin/bash<br />
### script to autromatically add the additional public ips to the server ###<br />
new_ips=`cat /etc/applogic.sh |sed -e '/primary_ip/d' -e '/secondary_ip/d'|grep &quot;_ip=&quot;|sed -e 's/=/ /g' -e &quot;/''/d&quot; |awk '{print $2}'`<br />
ip_nums=`echo $new_ips|tr ' ' ' '|wc -l`<br />
#echo $ip_nums<br />
for i in $new_ips<br />
do<br />
  if [ $ip_nums -gt 0 ]<br />
   then<br />
       ifconfig eth0:$ip_nums $i netmask 255.255.255.192 up<br />
   fi<br />
let ip_nums=$ip_nums-1<br />
done<br />
=============<br />
<br />
Can anybody please explain a better way to do this? <br />
<br />
Regards<br />
John</div>

]]></content:encoded>
			<category domain="http://forum.3tera.com/forumdisplay.php?f=6"><![CDATA[How-to  &  Troubleshooting Tips]]></category>
			<dc:creator>sparkjohn</dc:creator>
			<guid isPermaLink="true">http://forum.3tera.com/showthread.php?t=5001</guid>
		</item>
		<item>
			<title>What is the right way to expend a boot volume of VDS</title>
			<link>http://forum.3tera.com/showthread.php?t=4991&amp;goto=newpost</link>
			<pubDate>Fri, 11 May 2012 10:07:18 GMT</pubDate>
			<description>Hi, 
 
I have provisioned a CentOS VDS before but now I need to expend the disk size of VDS. I use the vol resize to resized the volume and get...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I have provisioned a CentOS VDS before but now I need to expend the disk size of VDS. I use the vol resize to resized the volume and get success message in grid shell. When I log into the VDS and run fdisk command, fdisk show the new size but with following messages:<br />
<br />
Partition 1 has different physical/logical beginnings (non-Linux?):<br />
     phys=(0, 1, 2) logical=(0, 1, 9)<br />
Partition 1 has different physical/logical endings:<br />
     phys=(391, 127, 56) logical=(877, 55, 56)<br />
<br />
Does my steps are wrong and how can I fix the problem?<br />
<br />
Many thanks.</div>

]]></content:encoded>
			<category domain="http://forum.3tera.com/forumdisplay.php?f=6"><![CDATA[How-to  &  Troubleshooting Tips]]></category>
			<dc:creator>LPG</dc:creator>
			<guid isPermaLink="true">http://forum.3tera.com/showthread.php?t=4991</guid>
		</item>
		<item>
			<title>Security Hotfix hf6868 released for CA AppLogic 3.0.30 GA, 3.1.14 GA, 3.5.7 Beta</title>
			<link>http://forum.3tera.com/showthread.php?t=4981&amp;goto=newpost</link>
			<pubDate>Wed, 09 May 2012 22:35:09 GMT</pubDate>
			<description>This hotfix resolves SCR 6868 where a regular user with valid login access to a CA AppLogic grid can escalate his/her permissions. This hotfix should...</description>
			<content:encoded><![CDATA[<div>This hotfix resolves SCR 6868 where a regular user with valid login access to a CA AppLogic grid can escalate his/her permissions. This hotfix should be applied to all CA AppLogic 3.0.30 GA/3.1.14 GA/3.5.7 Beta grids.<br />
<br />
This vulnerability cannot be exploited without a valid login to the grid. CA AppLogic 2.9 and all prior versions are not vulnerable to this issue.<br />
<br />
hf6868 is a mandatory hotfix for CA AppLogic 3.0.30 GA/3.1.14 GA/3.5.7 Beta.<br />
<br />
Note: A grid reboot is not required after applying this hotfix; the hotfix takes effect immediately after it is applied to a grid.</div>

]]></content:encoded>
			<category domain="http://forum.3tera.com/forumdisplay.php?f=31">Notices and alerts</category>
			<dc:creator>EricT</dc:creator>
			<guid isPermaLink="true">http://forum.3tera.com/showthread.php?t=4981</guid>
		</item>
		<item>
			<title>3.1 Supermicro IPMI incompatible?</title>
			<link>http://forum.3tera.com/showthread.php?t=4971&amp;goto=newpost</link>
			<pubDate>Tue, 08 May 2012 17:23:36 GMT</pubDate>
			<description>Howdy. 
 
I am attempting to setup a tiny AppLogic environment with some Supermicro systems, and I am having a bear of a time. Apparently my BMC/IPMI...</description>
			<content:encoded><![CDATA[<div>Howdy.<br />
<br />
I am attempting to setup a tiny AppLogic environment with some Supermicro systems, and I am having a bear of a time. Apparently my BMC/IPMI is not compatible with AppLogic's scripts. :(<br />
<br />
Server boots to PXE linux, runs scripts, and waits instead of powering off. Checking the BFC control panel I can see that the server has been quarantined and marked as not having power control. &quot;Compute host has no power controller and will never be shut down...&quot;<br />
<br />
First thing I did was statically assign IPs to the IPMI controllers--all within the ranges I specified on the BFC's power network. I also ensured the BFC was plugged into the power network.<br />
<br />
My BFC's &quot;Administration-&gt;BFC-&gt;Backup IPMI Authentication&quot; properties are set to my IPMI admin credentials.<br />
<br />
Sometimes AppLogic's PXE linux will create a &quot;PowerAdmin__BFC&quot; on my IPMI controllers, which I will then give admin privileges and reboot the system but to no avail.<br />
<br />
Changing the BFC's &quot;Administration-&gt;BFC-&gt;IP Authority&quot; from &quot;User&quot; to &quot;System&quot; makes no difference. I would prefer not to have to enter an IP in BIOS for IPMI thus &quot;System&quot; setting would be nice.<br />
<br />
Nothing I do solves the issue.<br />
<br />
Hardware:<br />
IPMI controller seems to be &quot;Winbond WPCM450&quot;<br />
Firmware version is 2.36<br />
<a href="http://www.nuvoton.com/NuvotonMOSS/Community/ProductInfo.aspx?tp_GUID=4bfb4639-a324-4289-92fd-faea27fbf1e2" target="_blank">http://www.nuvoton.com/NuvotonMOSS/C...d-faea27fbf1e2</a> <br />
<br />
Motherboard is &quot;H8DG6-F&quot;<br />
<a href="http://www.supermicro.com/Aplus/motherboard/Opteron6000/SR56x0/H8DG6-F.cfm" target="_blank">http://www.supermicro.com/Aplus/moth...x0/H8DG6-F.cfm</a><br />
<br />
Any pointers are greatly appreciated.<br />
-bo</div>

]]></content:encoded>
			<category domain="http://forum.3tera.com/forumdisplay.php?f=6"><![CDATA[How-to  &  Troubleshooting Tips]]></category>
			<dc:creator>samware</dc:creator>
			<guid isPermaLink="true">http://forum.3tera.com/showthread.php?t=4971</guid>
		</item>
		<item>
			<title>cannot start application - Volume in use</title>
			<link>http://forum.3tera.com/showthread.php?t=4961&amp;goto=newpost</link>
			<pubDate>Mon, 07 May 2012 12:43:04 GMT</pubDate>
			<description><![CDATA[Hello, 
Somehow after stopping an application the volumes of an appliance remained 'in use' and we cannot start the applications because of that. 
Is...]]></description>
			<content:encoded><![CDATA[<div>Hello,<br />
Somehow after stopping an application the volumes of an appliance remained 'in use' and we cannot start the applications because of that.<br />
Is there a way to unlock this?</div>

]]></content:encoded>
			<category domain="http://forum.3tera.com/forumdisplay.php?f=6"><![CDATA[How-to  &  Troubleshooting Tips]]></category>
			<dc:creator>luisr</dc:creator>
			<guid isPermaLink="true">http://forum.3tera.com/showthread.php?t=4961</guid>
		</item>
		<item>
			<title>How to access guest VM console by API?</title>
			<link>http://forum.3tera.com/showthread.php?t=4951&amp;goto=newpost</link>
			<pubDate>Wed, 02 May 2012 03:41:39 GMT</pubDate>
			<description>Or other method, not grid gui contoller.</description>
			<content:encoded><![CDATA[<div>Or other method, not grid gui contoller.</div>

]]></content:encoded>
			<category domain="http://forum.3tera.com/forumdisplay.php?f=91">AppLogic API</category>
			<dc:creator>tonyjun</dc:creator>
			<guid isPermaLink="true">http://forum.3tera.com/showthread.php?t=4951</guid>
		</item>
	</channel>
</rss>

