Problems with Cloudstack 4.2.1 installation

2014-02-11 Thread Giri Prasad
Hello All,

 I have downloaded cloudstack 4.2.1 and trying to install it in my pc. The 
system config is : i3 processor, 8 gb ram, 500 gb hard disk, 1 nic card etc etc.

 I have installed java and maven as follows:

javac -version
javac 1.7.0_51

mvn --version
Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 
20:52:22+0530)
Maven home: /usr/local/apache-maven/apache-maven-3.1.1
Java version: 1.7.0_51, vendor: Oracle Corporation
Java home: /usr/java/jdk1.7.0_51/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.32-71.el6.x86_64", arch: "amd64", family: "unix"

I extracted the file apache-cloudstack-4.2.1-src.tar.bz2. And then did:
cd apache-cloudstack-4.2.1-src
mvn -P deps

  Here it errors out with the following as listed below. Can somebody provide 
insights. Thanks in advance for your valuable comments.

Regards,
D.Giriprasad

mvn -P deps
[INFO] Scanning for projects...
[INFO] 
[INFO] Reactor Build Order:
[INFO] 
[INFO] Apache CloudStack
[INFO] Apache CloudStack Utils
[INFO] Apache CloudStack API
[INFO] Apache CloudStack Framework
[INFO] Apache CloudStack Framework - REST
[INFO] Apache CloudStack Framework - IPC
[INFO] Apache CloudStack Cloud Engine
[INFO] Apache CloudStack Cloud Engine API
[INFO] Apache CloudStack Cloud Engine Internal Components API
[INFO] Apache CloudStack Cloud Engine Schema Component
[INFO] Apache CloudStack Core
[INFO] Apache CloudStack Agents
[INFO] Apache CloudStack Framework - Jobs
[INFO] Apache CloudStack Framework - Event Notification
[INFO] Apache CloudStack Server
[INFO] Apache CloudStack Usage Server
[INFO] Apache XenSource XAPI
[INFO] Apache CloudStack Cloud Engine Compute Component
[INFO] Apache CloudStack Cloud Engine Orchestration Component
[INFO] Apache CloudStack SystemVM Patches
[INFO] Apache CloudStack Cloud Services
[INFO] Apache CloudStack Secondary Storage Service
[INFO] Apache CloudStack Engine Storage Component
[INFO] Apache CloudStack Engine Storage Volume Component
[INFO] Apache CloudStack Engine Storage Image Component
[INFO] Apache CloudStack Engine Storage Data Motion Component
[INFO] Apache CloudStack Engine Storage Cache Component
[INFO] Apache CloudStack Engine Storage Snapshot Component
[INFO] Apache CloudStack Cloud Engine API
[INFO] Apache CloudStack Cloud Engine Service
[INFO] Apache CloudStack Plugin POM
[INFO] Apache CloudStack Plugin - API Rate Limit
[INFO] Apache CloudStack Plugin - API Discovery
[INFO] Apache CloudStack Plugin - ACL Static Role Based
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor
[INFO] Apache CloudStack Plugin - Explicit Dedication Processor
[INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner
[INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner
[INFO] Apache CloudStack Plugin - Implicit Dedication Planner
[INFO] Apache CloudStack Plugin - HA Planner
[INFO] Apache CloudStack Plugin - Host Allocator Random
[INFO] Apache CloudStack Plugin - Dedicated Resources
[INFO] Apache CloudStack Plugin - Hypervisor OracleVM
[INFO] Apache CloudStack Plugin - Open vSwitch
[INFO] Apache CloudStack Plugin - Hypervisor Xen
[INFO] Apache CloudStack Plugin - Hypervisor KVM
[INFO] Apache CloudStack Plugin - RabbitMQ Event Bus
[INFO] Apache CloudStack Plugin - Hypervisor Baremetal
[INFO] Apache CloudStack Plugin - Hypervisor UCS
[INFO] Apache CloudStack Plugin - Network Elastic Load Balancer
[INFO] Apache CloudStack Plugin - Network Nicira NVP
[INFO] Apache CloudStack Plugin - BigSwitch Virtual Network Segment
[INFO] Apache CloudStack Plugin - Midokura Midonet
[INFO] Apache Cloudstack Plugin - Stratosphere SSP
[INFO] Apache CloudStack Plugin - Storage Allocator Random
[INFO] Apache CloudStack Plugin - User Authenticator LDAP
[INFO] Apache CloudStack Plugin - User Authenticator MD5
[INFO] Apache CloudStack Plugin - User Authenticator Plain Text
[INFO] Apache CloudStack Plugin - User Authenticator SHA256 Salted
[INFO] Apache CloudStack Plugin - Dns Notifier Example
[INFO] Apache CloudStack Plugin - Storage Image S3
[INFO] Apache CloudStack Plugin - Storage Image Swift provider
[INFO] Apache CloudStack Plugin - Storage Image default provider
[INFO] Apache CloudStack Plugin - Storage Image sample provider
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider
[INFO] Apache CloudStack Plugin - Storage Volume default provider
[INFO] Apache CloudStack Plugin - Storage Volume sample provider
[INFO] Apache CloudStack Plugin - SNMP Alerts
[INFO] Apache CloudStack Plugin - Syslog Alerts
[INFO] Apache CloudStack Plugin - Network Internal Load Balancer
[INFO] Apache CloudStack Test
[INFO] Apache CloudStack Console Proxy Service
[INFO] Apache CloudStack Console Proxy
[INFO] Apache CloudStack Client UI
[INFO] Apache CloudStack Console Proxy Plugin
[INFO] 
[INFO] --

Re: NFS machine not responding, timed out issue

2014-02-11 Thread Shanker Balan
Comments inline.

On 12-Feb-2014, at 9:09 am, Umair Azam  wrote:

> I am also getting following in hypervisor logs. Do you think its the issue 
> with NIC of primary storage, well i can mount that filesystem manually
>
> /var/log/messages:Feb 11 08:16:40 xenserver-Host1 kernel: [ 3103.098811] 
> e1000e: eth0 NIC Link is Down
> /var/log/messages:Feb 11 08:21:31 xenserver-Host1 kernel: [ 3393.829579] 
> e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
> /var/log/messages:Feb 11 08:21:31 xenserver-Host1 kernel: [ 3393.829687] 
> e1000e :00:19.0: eth0: 10/100 speed: disabling TSO
> /var/log/messages:Feb 11 08:23:50 xenserver-Host1 kernel: [ 3533.528756] 
> e1000e: eth0 NIC Link is Down
> /var/log/messages:Feb 11 08:23:20 xenserver-Host1 kernel: [ 23.231541] e1000e 
> :00:19.0: eth0: (PCI Express:2.5GT/s:Width x1) 00:1e:4f:fb:81:16
> /var/log/messages:Feb 11 08:23:20 xenserver-Host1 kernel: [ 23.231544] e1000e 
> :00:19.0: eth0: Intel(R) PRO/1000 Network Connection
> /var/log/messages:Feb 11 08:23:20 xenserver-Host1 kernel: [ 23.231562] e1000e 
> :00:19.0: eth0: MAC: 7, PHY: 6, PBA No: 1051FF-0FF


Your NIC link is flapping way too often and thats possibly whats causing
NFS to freak out. Try to narrow down the cause of the link flaps:

1) Force link speed settings
2) Change patch cords
3) Replace physical NIC
4) Try patching to another switch port
5) Check switch port speed settings


Hth.


--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
Bangalore - 560 055

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training
18th-19th February 2014, Brazil. 
Classroom
17th-23rd March 2014, Region A. Instructor led, 
On-line
24th-28th March 2014, Region B. Instructor led, 
On-line
16th-20th June 2014, Region A. Instructor led, 
On-line
23rd-27th June 2014, Region B. Instructor led, 
On-line

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: NFS machine not responding, timed out issue

2014-02-11 Thread Umair Azam
I am also getting following in hypervisor logs. Do you think its the 
issue with NIC of primary storage, well i can mount that filesystem manually


/var/log/messages:Feb 11 08:16:40 xenserver-Host1 kernel: [ 3103.098811] 
e1000e: eth0 NIC Link is Down
/var/log/messages:Feb 11 08:21:31 xenserver-Host1 kernel: [ 3393.829579] 
e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
/var/log/messages:Feb 11 08:21:31 xenserver-Host1 kernel: [ 3393.829687] 
e1000e :00:19.0: eth0: 10/100 speed: disabling TSO
/var/log/messages:Feb 11 08:23:50 xenserver-Host1 kernel: [ 3533.528756] 
e1000e: eth0 NIC Link is Down
/var/log/messages:Feb 11 08:23:20 xenserver-Host1 kernel: [ 23.231541] 
e1000e :00:19.0: eth0: (PCI Express:2.5GT/s:Width x1) 00:1e:4f:fb:81:16
/var/log/messages:Feb 11 08:23:20 xenserver-Host1 kernel: [ 23.231544] 
e1000e :00:19.0: eth0: Intel(R) PRO/1000 Network Connection
/var/log/messages:Feb 11 08:23:20 xenserver-Host1 kernel: [ 23.231562] 
e1000e :00:19.0: eth0: MAC: 7, PHY: 6, PBA No: 1051FF-0FF
/var/log/messages:Feb 11 08:23:20 xenserver-Host1 ovs-vsctl: 
1|vsctl|INFO|Called as /usr/bin/ovs-vsctl --timeout=20 -- 
--may-exist add-port xenbr0 eth0
/var/log/messages:Feb 11 08:23:20 xenserver-Host1 ovs-vswitchd: 
8|bridge|INFO|created port eth0 on bridge xenbr0
/var/log/messages:Feb 11 08:23:20 xenserver-Host1 kernel: [ 33.938366] 
device eth0 entered promiscuous mode
/var/log/messages:Feb 11 08:23:53 xenserver-Host1 ovs-vsctl: 
1|vsctl|INFO|Called as /usr/bin/ovs-vsctl --timeout=20 -- 
--may-exist add-port xenbr0 eth0
/var/log/messages:Feb 11 08:23:53 xenserver-Host1 fe: 6589 (/sbin/sysctl 
-q -w net.ipv6.conf.eth0.autoconf=0) exitted with code 255
/var/log/messages:Feb 11 08:23:53 xenserver-Host1 xcp-networkd: 
[error|xenserver-Host1|16 unix_rpc|Bringing up physical PIFs 
D:092bf7157fc2|network_utils] Call '/sbin/sysctl -q -w 
net.ipv6.conf.eth0.autoconf=0' exited with code 255 [stdout = ''; stderr 
= 'error: "net.ipv6.conf.eth0.autoconf" is an unknown key ']
/var/log/messages:Feb 11 08:26:00 xenserver-Host1 kernel: [ 193.221917] 
e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
/var/log/messages:Feb 11 08:26:00 xenserver-Host1 kernel: [ 193.222024] 
e1000e :00:19.0: eth0: 10/100 speed: disabling TSO
/var/log/messages:Feb 12 04:55:26 xenserver-Host1 xapi: [ 
info|xenserver-Host1|9722|Async.VM.start_on R:e4b4151f0d3d|xenops] 
xenops: VM.import_metadata {"vm": {"id": 
"231980db-76f9-dd9d-4974-51e51df5efd0", "name": "v-2-VM", "ssidref": 0, 
"xsdata": {}, "platformdata": {"generation-id": 
"4878794424447980595:5571562123714369678", "timeoffset": "0", "usb": 
"true", "usb_tablet": "true", "viridian": "true", "acpi": "1", "apic": 
"true", "pae": "true", "nx": "true"}, "bios_strings": {"bios-vendor": 
"Xen", "bios-version": "", "system-manufacturer": "Xen", 
"system-product-name": "HVM domU", "system-version": "", 
"system-serial-number": "", "hp-rombios": "", "oem-1": "Xen", "oem-2": 
"MS_VM_CERT\/SHA1\/bdbeb6e0a816d43fa6d3fe8aaef04c2bad9d3e3d"}, "ty": 
["PV", {"boot": ["Indirect", {"bootloader": "pygrub", "extra_args": "-- 
quiet 
console=hvc0%template=domP%type=consoleproxy%host=10.11.17.30%port=8250%name=v-2-VM%premium=true%zone=1%pod=1%guid=Proxy.2%proxy_vm=2%disable_rp_filter=true%eth2ip=10.11.17.114%eth2mask=255.255.255.0%gateway=10.11.17.1%eth0
/var/log/messages:Feb 12 04:58:34 xenserver-Host1 kernel: [74147.731174] 
e1000e: eth0 NIC Link is Down
/var/log/messages:Feb 12 05:03:11 xenserver-Host1 kernel: [74424.102369] 
e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
/var/log/messages:Feb 12 05:03:11 xenserver-Host1 kernel: [74424.102476] 
e1000e :00:19.0: eth0: 10/100 speed: disabling TSO
/var/log/messages:Feb 12 05:05:45 xenserver-Host1 kernel: [74578.231201] 
e1000e: eth0 NIC Link is Down
/var/log/messages:Feb 12 05:07:54 xenserver-Host1 kernel: [ 24.239617] 
e1000e :00:19.0: eth0: (PCI Express:2.5GT/s:Width x1) 00:1e:4f:fb:81:16
/var/log/messages:Feb 12 05:07:54 xenserver-Host1 kernel: [ 24.239620] 
e1000e :00:19.0: eth0: Intel(R) PRO/1000 Network Connection
/var/log/messages:Feb 12 05:07:54 xenserver-Host1 kernel: [ 24.239638] 
e1000e :00:19.0: eth0: MAC: 7, PHY: 6, PBA No: 1051FF-0FF
/var/log/messages:Feb 12 05:07:55 xenserver-Host1 ovs-vsctl: 
1|vsctl|INFO|Called as /usr/bin/ovs-vsctl --timeout=20 -- 
--may-exist add-port xenbr0 eth0
/var/log/messages:Feb 12 05:07:55 xenserver-Host1 ovs-vswitchd: 
8|bridge|INFO|created port eth0 on bridge xenbr0
/var/log/messages:Feb 12 05:07:55 xenserver-Host1 kernel: [ 35.264721] 
device eth0 entered promiscuous mode
/var/log/messages:Feb 12 05:08:27 xenserver-Host1 ovs-vsctl: 
1|vsctl|INFO|Called as /usr/bin/ovs-vsctl --timeout=20 -- 
--may-exist add-port xenbr0 eth0
/var/log/messages:Feb 12 05:08:27 xenserver-Host1 fe: 6589 (/sbin/sysctl 
-q -w net.ipv6.conf.eth0.autoconf=0) exitted with code 255
/var/log/messages:Feb 12 05:08:27 xenserver-Host

Re: NFS machine not responding, timed out issue

2014-02-11 Thread Umair Azam

Abhisek,

Yes i am able to mount manually. I dont whats the problem i m stuck here 
for last 2 weeks :/


Umair Azam

On 2/12/2014 7:22 AM, abhisek basu wrote:

Are we able to mount that NFS manually on the Xen Server?

Sent from my iPhone


On 12 Feb 2014, at 6:31 am, "Umair Azam"  wrote:

I am facing an error while setting up cloud system, following issue arises when 
management server machine requests hypervisor to launch CP/SS VM's. After this 
request hypervisor tries to contact primary storage to access storage but that 
primary storage server doesn't responds, following are the logs from Xenserver 
hypervisor.

Feb 12 04:58:34 xenserver-Host1 kernel: [74147.731174] e1000e: eth0 NIC Link is 
Down
Feb 12 04:58:38 xenserver-Host1 fe: 21450 
(/opt/xensource/bin/tapdisk-cache-stats 91ad2c66-de6b-99f1-b4d9-de264fffbb39) 
exitted with code 1
Feb 12 04:58:43 xenserver-Host1 fe: 21471 
(/opt/xensource/bin/tapdisk-cache-stats 91ad2c66-de6b-99f1-b4d9-de264fffbb39) 
exitted with code 1
Feb 12 04:58:48 xenserver-Host1 tapdisk[20281]: ERROR: errno -5 at 
vhd_complete: 
/var/run/sr-mount/64efe7d9-2e45-743b-8a7e-8631a2c36185/a30e8119-0965-49db-9e17-9a3429110d06.vhd:
 op: 2, lsec: 385070, secs: 2, nbytes: 1024, blk: 94, blk_offset: 65687
Feb 12 04:58:48 xenserver-Host1 kernel: [74161.121077] nfs: server 10.11.17.33 
not responding, timed out

(hypervisor machine reboots itself after that due to HA enabled)

Primary storage server logs are below. (centos machines)

Feb 12 04:51:00 storage-server rpc.mountd[1751]: authenticated mount request 
from 10.11.17.32:788 for /export/primary (/export)
Feb 12 04:51:00 storage-server rpc.mountd[1751]: authenticated unmount request 
from 10.11.17.32:801 for /export/primary (/export)
Feb 12 04:51:00 storage-server rpc.mountd[1751]: authenticated mount request 
from 10.11.17.32:830 for /export/primary (/export)

Issue seems to be strange because all necessary NFS ports are open in 
sysconfig/nfs file, iptables service is also off and both machines can ping 
each other successfully.

--
Umair Azam
Associate Systems Administrator
Network Operations Center
i2c Incorporated
1300 Island Drive, Suite 105
Redwood City, CA 94065-5170
Desk: +1 650.480.5291
PBX: +1 650.593.5400 x 4244
24x7 NOC: +1 650.480.5291
Fax: +1 650.593.5402
URL: www.i2cinc.com
**
CONFIDENTIALITY CAUTION
This communication (including any accompanying documents) is intended only for 
the use of the addressee(s) and contains information that is PRIVILEGED AND 
CONFIDENTIAL. Unauthorized reading, dissemination, distribution or copying of 
this communication is prohibited. If you have received this communication in 
error, please notify us immediately by e-mail, telephone or fax and promptly 
destroy the original communication. Thank you for your cooperation.





Re: NFS machine not responding, timed out issue

2014-02-11 Thread abhisek basu
Are we able to mount that NFS manually on the Xen Server?

Sent from my iPhone

> On 12 Feb 2014, at 6:31 am, "Umair Azam"  wrote:
> 
> I am facing an error while setting up cloud system, following issue arises 
> when management server machine requests hypervisor to launch CP/SS VM's. 
> After this request hypervisor tries to contact primary storage to access 
> storage but that primary storage server doesn't responds, following are the 
> logs from Xenserver hypervisor.
> 
> Feb 12 04:58:34 xenserver-Host1 kernel: [74147.731174] e1000e: eth0 NIC Link 
> is Down
> Feb 12 04:58:38 xenserver-Host1 fe: 21450 
> (/opt/xensource/bin/tapdisk-cache-stats 91ad2c66-de6b-99f1-b4d9-de264fffbb39) 
> exitted with code 1
> Feb 12 04:58:43 xenserver-Host1 fe: 21471 
> (/opt/xensource/bin/tapdisk-cache-stats 91ad2c66-de6b-99f1-b4d9-de264fffbb39) 
> exitted with code 1
> Feb 12 04:58:48 xenserver-Host1 tapdisk[20281]: ERROR: errno -5 at 
> vhd_complete: 
> /var/run/sr-mount/64efe7d9-2e45-743b-8a7e-8631a2c36185/a30e8119-0965-49db-9e17-9a3429110d06.vhd:
>  op: 2, lsec: 385070, secs: 2, nbytes: 1024, blk: 94, blk_offset: 65687
> Feb 12 04:58:48 xenserver-Host1 kernel: [74161.121077] nfs: server 
> 10.11.17.33 not responding, timed out
> 
> (hypervisor machine reboots itself after that due to HA enabled)
> 
> Primary storage server logs are below. (centos machines)
> 
> Feb 12 04:51:00 storage-server rpc.mountd[1751]: authenticated mount request 
> from 10.11.17.32:788 for /export/primary (/export)
> Feb 12 04:51:00 storage-server rpc.mountd[1751]: authenticated unmount 
> request from 10.11.17.32:801 for /export/primary (/export)
> Feb 12 04:51:00 storage-server rpc.mountd[1751]: authenticated mount request 
> from 10.11.17.32:830 for /export/primary (/export)
> 
> Issue seems to be strange because all necessary NFS ports are open in 
> sysconfig/nfs file, iptables service is also off and both machines can ping 
> each other successfully.
> 
> -- 
> Umair Azam
> Associate Systems Administrator
> Network Operations Center
> i2c Incorporated
> 1300 Island Drive, Suite 105
> Redwood City, CA 94065-5170
> Desk: +1 650.480.5291
> PBX: +1 650.593.5400 x 4244
> 24x7 NOC: +1 650.480.5291
> Fax: +1 650.593.5402
> URL: www.i2cinc.com
> **
> CONFIDENTIALITY CAUTION
> This communication (including any accompanying documents) is intended only 
> for the use of the addressee(s) and contains information that is PRIVILEGED 
> AND CONFIDENTIAL. Unauthorized reading, dissemination, distribution or 
> copying of this communication is prohibited. If you have received this 
> communication in error, please notify us immediately by e-mail, telephone or 
> fax and promptly destroy the original communication. Thank you for your 
> cooperation.
> 


NFS machine not responding, timed out issue

2014-02-11 Thread Umair Azam
I am facing an error while setting up cloud system, following issue 
arises when management server machine requests hypervisor to launch 
CP/SS VM's. After this request hypervisor tries to contact primary 
storage to access storage but that primary storage server doesn't 
responds, following are the logs from Xenserver hypervisor.


Feb 12 04:58:34 xenserver-Host1 kernel: [74147.731174] e1000e: eth0 NIC 
Link is Down
Feb 12 04:58:38 xenserver-Host1 fe: 21450 
(/opt/xensource/bin/tapdisk-cache-stats 
91ad2c66-de6b-99f1-b4d9-de264fffbb39) exitted with code 1
Feb 12 04:58:43 xenserver-Host1 fe: 21471 
(/opt/xensource/bin/tapdisk-cache-stats 
91ad2c66-de6b-99f1-b4d9-de264fffbb39) exitted with code 1
Feb 12 04:58:48 xenserver-Host1 tapdisk[20281]: ERROR: errno -5 at 
vhd_complete: 
/var/run/sr-mount/64efe7d9-2e45-743b-8a7e-8631a2c36185/a30e8119-0965-49db-9e17-9a3429110d06.vhd: 
op: 2, lsec: 385070, secs: 2, nbytes: 1024, blk: 94, blk_offset: 65687
Feb 12 04:58:48 xenserver-Host1 kernel: [74161.121077] nfs: server 
10.11.17.33 not responding, timed out


(hypervisor machine reboots itself after that due to HA enabled)

Primary storage server logs are below. (centos machines)

Feb 12 04:51:00 storage-server rpc.mountd[1751]: authenticated mount 
request from 10.11.17.32:788 for /export/primary (/export)
Feb 12 04:51:00 storage-server rpc.mountd[1751]: authenticated unmount 
request from 10.11.17.32:801 for /export/primary (/export)
Feb 12 04:51:00 storage-server rpc.mountd[1751]: authenticated mount 
request from 10.11.17.32:830 for /export/primary (/export)


Issue seems to be strange because all necessary NFS ports are open in 
sysconfig/nfs file, iptables service is also off and both machines can 
ping each other successfully.


--
Umair Azam
Associate Systems Administrator
Network Operations Center
i2c Incorporated
1300 Island Drive, Suite 105
Redwood City, CA 94065-5170
Desk: +1 650.480.5291
PBX: +1 650.593.5400 x 4244
24x7 NOC: +1 650.480.5291
Fax: +1 650.593.5402
URL: www.i2cinc.com
**
CONFIDENTIALITY CAUTION
This communication (including any accompanying documents) is intended only for 
the use of the addressee(s) and contains information that is PRIVILEGED AND 
CONFIDENTIAL. Unauthorized reading, dissemination, distribution or copying of 
this communication is prohibited. If you have received this communication in 
error, please notify us immediately by e-mail, telephone or fax and promptly 
destroy the original communication. Thank you for your cooperation.



Re: how to create a copy of a VM

2014-02-11 Thread Nux!

On 11.02.2014 22:38, Nordin, Lars P wrote:

It isn't crystal clear to me from the documentation how to do this -
I'm most familiar with using VMWare ESX.

If I understand correctly, the only way I can do this is to create a
template from my existing VM and then create a copy from the template.
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Admin_Guide/create-template-from-existing-vm.html#

I'm using CloudStack v 4.0.2.20130420145617.


Lars,

Not sure how 4.0.2 works, but the theory is to take a snapshot of the 
ROOT volume, turn it into a template and launch new instances with this 
template.


HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


how to create a copy of a VM

2014-02-11 Thread Nordin, Lars P
It isn't crystal clear to me from the documentation how to do this - I'm most 
familiar with using VMWare ESX.

If I understand correctly, the only way I can do this is to create a template 
from my existing VM and then create a copy from the template.
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Admin_Guide/create-template-from-existing-vm.html#

I'm using CloudStack v 4.0.2.20130420145617.

The information contained in this e-mail and in any attachments is intended 
only for the person or entity to which it is addressed and may contain 
confidential and/or privileged material. Any review, retransmission, 
dissemination or other use of, or taking of any action in reliance upon, this 
information by persons or entities other than the intended recipient is 
prohibited. This message has been scanned for known computer viruses.


Re: dom0 configuration of Xenserver

2014-02-11 Thread Matthew Kaufman
You're welcome, anytime :)!  I am aiming to contribute in a lot more areas
overall in many mailing lists.

I usually just read.


On Tue, Feb 11, 2014 at 2:50 PM, Umair Azam  wrote:

> Matthew,
>
> Thank you so much for detailed information.
>
> Umair Azam
>
>
> On 2/11/2014 10:20 AM, Matthew Kaufman wrote:
>
>> Hello,
>>
>> "By default, XenServer automatically tunes the dom0 settings during
>>
>> installation. IIRC, on a 4G system, ~768MB gets allocated to dom0.
>>
>>
>> The defaults should work just fine for you.
>>
>> dom0_mem = 502MB + int(physical_mem * 0.0205)
>>
>> *Table 2.1. Default Dom0 Memory Size*
>>
>>
>> Physical Memory
>>
>> Dom0 Memory
>>
>> 2 GB
>>
>> 543 MB
>>
>> 4 GB
>>
>> 585 MB
>>
>> 8 GB
>>
>> 669 MB
>>
>> 16 GB
>>
>> 837 MB
>>
>> 32 GB
>>
>> 1173 MB
>>
>> 64 GB
>>
>> 1845 MB
>>
>> 128 GB
>>
>> 3188 MB
>>
>> 256 GB
>>
>> 5875 MB
>>
>> 512 GB
>>
>> 11249 MB
>>
>> 1024 GB
>>
>> 21997 MB
>>
>> 2048 GB
>>
>> 43493 MB
>>
>>
>>
>> Hello,
>>
>> Citrix Xen related questions should probably be asked on the Citrix Xen
>> mailing lists :)
>>
>> Actually; His question is regarding dom0 Sizing WITH His Configuration of
>> 4GB RAM.
>>
>> So it shouldn't be on Citirx Xen; it applies to CloudStack hardware
>> builders too or anyone running Apache CloudStack ON physical hardware (I'd
>> imagine most everybody is here on this mailing list).
>>
>>
>>  By default, XenServer automatically tunes the dom0 settings during
>>> installation.
>>>
>>
>>
>>  IIRC, on a 4G system, ~768MB gets allocated to dom0
>>>
>>>  Here, we use the following sizing computation rules:
>>
>> Rule:
>> dom0_mem = 502 + int(physical_mem * 0.0205)
>>
>> You should always dedicate a fixed amount of RAM for Xen dom0.
>>
>> This can be done by specifying "dom0_mem=512M,max:512M" option for the Xen
>> hypervisor (usually xen.gz) in grub.conf/menu.lst. This makes sure that
>> the
>> initial amount of memory allocated for dom0 is 512 MB (note: Replace this
>> value with the amount of memory you want to allocate to dom0) and leaves
>> the rest of the host system's RAM available for other guests. See this
>> grub.conf example for GRUB1:
>>
>> *Table 2.1. Default Dom0 Memory Size*
>>
>>
>> Physical Memory
>>
>> Dom0 Memory
>>
>> 2 GB
>>
>> 543 MB
>>
>> 4 GB
>>
>> 585 MB
>>
>> 8 GB
>>
>> 669 MB
>>
>> 16 GB
>>
>> 837 MB
>>
>> 32 GB
>>
>> 1173 MB
>>
>> 64 GB
>>
>> 1845 MB
>>
>> 128 GB
>>
>> 3188 MB
>>
>> 256 GB
>>
>> 5875 MB
>>
>> 512 GB
>>
>> 11249 MB
>>
>> 1024 GB
>>
>> 21997 MB
>>
>> 2048 GB
>>
>> 43493 MB
>>
>>
>> http://wiki.xen.org/wiki/Xen_Best_Practices#Xen_dom0_
>> dedicated_memory_and_preventing_dom0_memory_ballooning
>>
>>
>


Re: Software licensing in the cloud

2014-02-11 Thread John Kinsella
I spent too much time researching this last year…I’d consider 
http://www.aidanfinn.com/?p=13090 to be the gold standard on explaining the 
topic in an understandable manner.

On Feb 11, 2014, at 4:30 AM, Ricardo Makino 
mailto:ricardo.n...@gmail.com>> wrote:

Hi Everyone,

I have a doubt about what kind of software licensing you use to provide
Microsoft instances in a IaaS environment, such like windows server
instances.

Regards,
--
Ricardo Makino

Stratosec - Compliance as a Service
o: 415.315.9385
@johnlkinsella



Re: dom0 configuration of Xenserver

2014-02-11 Thread Umair Azam

Matthew,

Thank you so much for detailed information.

Umair Azam

On 2/11/2014 10:20 AM, Matthew Kaufman wrote:

Hello,

"By default, XenServer automatically tunes the dom0 settings during

installation. IIRC, on a 4G system, ~768MB gets allocated to dom0.


The defaults should work just fine for you.

dom0_mem = 502MB + int(physical_mem * 0.0205)

*Table 2.1. Default Dom0 Memory Size*

Physical Memory

Dom0 Memory

2 GB

543 MB

4 GB

585 MB

8 GB

669 MB

16 GB

837 MB

32 GB

1173 MB

64 GB

1845 MB

128 GB

3188 MB

256 GB

5875 MB

512 GB

11249 MB

1024 GB

21997 MB

2048 GB

43493 MB



Hello,

Citrix Xen related questions should probably be asked on the Citrix Xen
mailing lists :)

Actually; His question is regarding dom0 Sizing WITH His Configuration of
4GB RAM.

So it shouldn't be on Citirx Xen; it applies to CloudStack hardware
builders too or anyone running Apache CloudStack ON physical hardware (I'd
imagine most everybody is here on this mailing list).



By default, XenServer automatically tunes the dom0 settings during
installation.




IIRC, on a 4G system, ~768MB gets allocated to dom0


Here, we use the following sizing computation rules:

Rule:
dom0_mem = 502 + int(physical_mem * 0.0205)

You should always dedicate a fixed amount of RAM for Xen dom0.

This can be done by specifying "dom0_mem=512M,max:512M" option for the Xen
hypervisor (usually xen.gz) in grub.conf/menu.lst. This makes sure that the
initial amount of memory allocated for dom0 is 512 MB (note: Replace this
value with the amount of memory you want to allocate to dom0) and leaves
the rest of the host system's RAM available for other guests. See this
grub.conf example for GRUB1:

*Table 2.1. Default Dom0 Memory Size*

Physical Memory

Dom0 Memory

2 GB

543 MB

4 GB

585 MB

8 GB

669 MB

16 GB

837 MB

32 GB

1173 MB

64 GB

1845 MB

128 GB

3188 MB

256 GB

5875 MB

512 GB

11249 MB

1024 GB

21997 MB

2048 GB

43493 MB


http://wiki.xen.org/wiki/Xen_Best_Practices#Xen_dom0_dedicated_memory_and_preventing_dom0_memory_ballooning





Re: Software licensing in the cloud

2014-02-11 Thread Tim Mackey
If you want to host Windows VMs you should really look into the Microsoft
Service Provider License Agreement (SPLA) program:
http://www.microsoft.com/hosting/en/us/licensing/splabenefits.aspx  From
the FAQ : "Microsoft SPLA is the only Microsoft Volume Licensing program
that allows Microsoft products to be used for commercial hosting."  If
you're hosting for internal users (e.g. devs) then existing licenses *may*
work, but I'd consult with your local Microsoft rep to be certain.

iirc there are other options available, but the reporting requirements can
be painful.

-tim


On Tue, Feb 11, 2014 at 9:10 AM, Ricardo Makino wrote:

> Ok understood, thanks for the help!
>
> Regards,
>
> --
> Ricardo Makino
>
>
> On Tue, Feb 11, 2014 at 11:49 AM, Sean Hamilton  >wrote:
>
> > No, the license is per processor on a physical host. We use VMware, but
> > license each host for the instances. No Hyper-V here (just yet).
> >
> >
> > On 11 February 2014 13:47, Ricardo Makino 
> wrote:
> >
> > > Ok it's a good idea, but I don't need to run Windows Server as host
> > (a.k.a
> > > hypervisor), right?
> > >
> > > Regards,
> > >
> > > --
> > > Ricardo Makino
> > >
> > >
> > > On Tue, Feb 11, 2014 at 11:35 AM, Sean Hamilton <
> s...@seanhamilton.co.uk
> > > >wrote:
> > >
> > > > From memory, licensing your compute hosts as "Microsoft Datacenter
> > > Edition"
> > > > then you can run unlimited Windows instances on that host.
> > > > If you're worried about having to license every host in your cloud,
> you
> > > > could look at host tags and see if you can ensure instances built
> with
> > > > Windows Templates are on a certain subset of hosts.
> > > >
> > > > Hope this helps.
> > > > Sean
> > > >
> > > >
> > > > On 11 February 2014 12:30, Ricardo Makino 
> > > wrote:
> > > >
> > > > > Hi Everyone,
> > > > >
> > > > > I have a doubt about what kind of software licensing you use to
> > provide
> > > > > Microsoft instances in a IaaS environment, such like windows server
> > > > > instances.
> > > > >
> > > > > Regards,
> > > > > --
> > > > > Ricardo Makino
> > > > >
> > > >
> > >
> >
>


Re: Software licensing in the cloud

2014-02-11 Thread Ricardo Makino
Ok understood, thanks for the help!

Regards,

--
Ricardo Makino


On Tue, Feb 11, 2014 at 11:49 AM, Sean Hamilton wrote:

> No, the license is per processor on a physical host. We use VMware, but
> license each host for the instances. No Hyper-V here (just yet).
>
>
> On 11 February 2014 13:47, Ricardo Makino  wrote:
>
> > Ok it's a good idea, but I don't need to run Windows Server as host
> (a.k.a
> > hypervisor), right?
> >
> > Regards,
> >
> > --
> > Ricardo Makino
> >
> >
> > On Tue, Feb 11, 2014 at 11:35 AM, Sean Hamilton  > >wrote:
> >
> > > From memory, licensing your compute hosts as "Microsoft Datacenter
> > Edition"
> > > then you can run unlimited Windows instances on that host.
> > > If you're worried about having to license every host in your cloud, you
> > > could look at host tags and see if you can ensure instances built with
> > > Windows Templates are on a certain subset of hosts.
> > >
> > > Hope this helps.
> > > Sean
> > >
> > >
> > > On 11 February 2014 12:30, Ricardo Makino 
> > wrote:
> > >
> > > > Hi Everyone,
> > > >
> > > > I have a doubt about what kind of software licensing you use to
> provide
> > > > Microsoft instances in a IaaS environment, such like windows server
> > > > instances.
> > > >
> > > > Regards,
> > > > --
> > > > Ricardo Makino
> > > >
> > >
> >
>


Re: KVM Snapshot issues

2014-02-11 Thread Tanner Danzey
Alright, will do. Thank you very much!

Tanner Danzey
Systems Engineer
Northstar Technology Group
tanner.dan...@northstar-tg.com
arkan...@gmail.com
(701) 237-9096 x7222
On Feb 9, 2014 8:59 PM, "Dave Hoffman"  wrote:

> First thing I'm seeing at the top of the error log is that a system vm
> cannot communicate over port 8250 to 10.100.0.10 which looks to be a host.
>  If the secondary storage vm cannot communicate with the host, it cannot
> copy the snapshot from the host and move it to secondary storage.  That
> would explain why the vm starts to perform a snapshot and then fail when it
> attempts to move it to the secondary storage.
>
> I would investigate that networking issue first.
>
> Ports used by Cloudstack: https://cwiki.apache.org/
> confluence/display/CLOUDSTACK/Ports+used+by+CloudStack
>
>
>
>
> On 02/09/2014 07:57 PM, Tanner Danzey wrote:
>
>> Hello all, me again. After fixing some issues, I've narrowed my KVM
>> snapshot issues down to some more specific errors. Here is a log of both
>> the management server and the agent log from the hypervisor the snapshot
>> is
>> supposed to run on.
>>
>> http://pastebin.com/raw.php?i=Lu0VBPn2
>>
>> Not captured by those logs: I try taking a snapshot by using the snapshot
>> button in the instance. Whether the instance is running or not, it tells
>> me
>> that KVM snapshots aren't enabled. The snapshots are enabled, I checked
>> and
>> double checked in global settings.
>>
>> After that, I went to Storage and selected the root volume for the
>> instance. From there, I can click the snapshot volume button and the
>> snapshot *does in fact* begin, however, after an unknown amount of time
>> (takes too long for me to actually know how long) it fails with an
>> internal
>> error (3). I have several snapshots of the process and result, but I feel
>> like there shouldn't be attachments to list messages, so if you want them
>> I
>> can send them to you. The logs coincide with the screenshots. After
>> failing, the snapshot is stuck with the status of "CreatedOnPrimary" and
>> can only be deleted.
>>
>> My question is, what am I doing wrong? Are there any steps that I have
>> missed? How do other users have KVM snapshots set up?
>>
>> Thanks in advance!
>>
>
> --
> Thanks,
> *Dave Hoffman*
> System Administrator | Appcore - the business of cloud computing®
>
> Office +1.800.735.7104 | Fax +1.515.612.7878
> Direct +1.515.612.7808 | Mobile +1.515.966.4633
> dave.hoff...@appcore.com  |
> www.appcore.com 
> --
> The information in this message is intended for the named recipients only.
> It may contain information that is privileged, confidential or otherwise
> protected from disclosure. If you are not the intended recipient, you are
> hereby notified that any disclosure, copying, distribution, or the taking
> of any action in reliance on the contents of this message is strictly
> prohibited. If you have received this e-mail in error, do not print it or
> disseminate it or its contents. In such event, please notify the sender by
> return e-mail and delete the e-mail file immediately thereafter. Thank you.
>


Re: Software licensing in the cloud

2014-02-11 Thread Sean Hamilton
No, the license is per processor on a physical host. We use VMware, but
license each host for the instances. No Hyper-V here (just yet).


On 11 February 2014 13:47, Ricardo Makino  wrote:

> Ok it's a good idea, but I don't need to run Windows Server as host (a.k.a
> hypervisor), right?
>
> Regards,
>
> --
> Ricardo Makino
>
>
> On Tue, Feb 11, 2014 at 11:35 AM, Sean Hamilton  >wrote:
>
> > From memory, licensing your compute hosts as "Microsoft Datacenter
> Edition"
> > then you can run unlimited Windows instances on that host.
> > If you're worried about having to license every host in your cloud, you
> > could look at host tags and see if you can ensure instances built with
> > Windows Templates are on a certain subset of hosts.
> >
> > Hope this helps.
> > Sean
> >
> >
> > On 11 February 2014 12:30, Ricardo Makino 
> wrote:
> >
> > > Hi Everyone,
> > >
> > > I have a doubt about what kind of software licensing you use to provide
> > > Microsoft instances in a IaaS environment, such like windows server
> > > instances.
> > >
> > > Regards,
> > > --
> > > Ricardo Makino
> > >
> >
>


Re: Software licensing in the cloud

2014-02-11 Thread Ricardo Makino
Ok it's a good idea, but I don't need to run Windows Server as host (a.k.a
hypervisor), right?

Regards,

--
Ricardo Makino


On Tue, Feb 11, 2014 at 11:35 AM, Sean Hamilton wrote:

> From memory, licensing your compute hosts as "Microsoft Datacenter Edition"
> then you can run unlimited Windows instances on that host.
> If you're worried about having to license every host in your cloud, you
> could look at host tags and see if you can ensure instances built with
> Windows Templates are on a certain subset of hosts.
>
> Hope this helps.
> Sean
>
>
> On 11 February 2014 12:30, Ricardo Makino  wrote:
>
> > Hi Everyone,
> >
> > I have a doubt about what kind of software licensing you use to provide
> > Microsoft instances in a IaaS environment, such like windows server
> > instances.
> >
> > Regards,
> > --
> > Ricardo Makino
> >
>


Re: Software licensing in the cloud

2014-02-11 Thread Sean Hamilton
>From memory, licensing your compute hosts as "Microsoft Datacenter Edition"
then you can run unlimited Windows instances on that host.
If you're worried about having to license every host in your cloud, you
could look at host tags and see if you can ensure instances built with
Windows Templates are on a certain subset of hosts.

Hope this helps.
Sean


On 11 February 2014 12:30, Ricardo Makino  wrote:

> Hi Everyone,
>
> I have a doubt about what kind of software licensing you use to provide
> Microsoft instances in a IaaS environment, such like windows server
> instances.
>
> Regards,
> --
> Ricardo Makino
>


Software licensing in the cloud

2014-02-11 Thread Ricardo Makino
Hi Everyone,

I have a doubt about what kind of software licensing you use to provide
Microsoft instances in a IaaS environment, such like windows server
instances.

Regards,
--
Ricardo Makino