RE: SSVM showing alert status

2013-12-04 Thread Geoff Higginbottom
Jake,

If it's simply the Secondary Storage which is at alert state, then follow these 
steps to resolve (its effectively a bug)

http://dave.ie/cloudstack-secondarystorage-alarm-on-dashboard/

However if it's your SSVM that is at alert state, the simple thing to do is 
destroy it and let the system re-create it.  If the new SSVM also goes to alert 
state take a look at 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM%2C+templates%2C+Secondary+storage+troubleshooting
 for more help

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Kirk Kosinski [mailto:kirkkosin...@gmail.com]
Sent: 04 December 2013 05:11
To: users@cloudstack.apache.org
Subject: Re: SSVM showing alert status

Hi, Jake.  Is the SSVM really in Alert state, or is it actually the Secondary 
Storage share?  If the latter is in Alert state it can be ignored.  The state 
of the share is not used or updated and will likely be in Alert state unless 
you manually update it in the database.

Best regards,
Kirk

On 12/02/2013 01:33 AM, Jake G. wrote:
 Hi all,

 My SSVM is showing ALERT as its status. How can I troubleshoot this? Also, 
 Any tips on how to log into the SSVM and CPVM?

 Thanks,
 Jake

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: SSVM showing alert status

2013-12-03 Thread Shashi Dahal
Hi Jake, 

In this case, you need to check multiple things to pinpoint the issue.  
This document will provide some pointers to get started. 

https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting

Cheers,
Shashi


-Original Message-
From: Jake G. [mailto:dj_dark_jungl...@yahoo.com] 
Sent: dinsdag, 03 december, 2013 08:11
To: users@cloudstack.apache.org
Subject: Re: SSVM showing alert status

I finally figured out how to login. Thanks for the hint that I needed to be on 
the host where the SSVM is located.
That said, I get the error no matter which host the SSVM is on and the alert 
status does not go away after recreating the SSVM.

Result of ssvm-check.sh *No errors found 

First DNS server is  69.55.167.1
PING 69.55.167.1 (69.55.167.1): 56 data bytes
64 bytes from 69.55.167.1: icmp_seq=0 ttl=62 time=2.911 ms
64 bytes from 69.55.167.1: icmp_seq=1 ttl=62 time=1.426 ms
--- 69.55.167.1 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss round-trip 
min/avg/max/stddev = 1.426/2.168/2.911/0.743 ms
Good: Can ping DNS server

Good: DNS resolves download.cloud.com

NFS is currently mounted
Mount point is /mnt/SecStorage/4349cbdb-573e-37bb-aa77-ec51eb5ee400
Good: Can write to mount point
Mount point is /mnt/SecStorage/252fb5ca-7f32-3da7-af4c-7b8d2f6baab9
Good: Can write to mount point

Management server is 10.3.4.50. Checking connectivity.
Good: Can connect to management server port 8250 

Good: Java process is running

Tests Complete. Look for ERROR or WARNING above.




On Monday, December 2, 2013 10:07 PM, Shashi Dahal s.da...@leaseweb.com wrote:
 
Hi, 

Even if you recreate and it shows alert, then you need to first find out the 
hypervisor where its running, and connect to it locally using the Link Local 
IP Address  shown in the management interface.  It is in the format 169.254.x.x


Login to the hypervisor as root

# ssh -i /root/.ssh/.id_rsa.cloud  -p 3922  root@169.254.x.x

It's a standard Debian template. 
Some commands: 

To check the systemVM version:  cat /etc/cloudstack-release To do a basic 
troubleshooting:  /usr/local/cloud/systemvm/ssvm-check.sh

You can apt-get install package to install tools to troubleshoot, but when 
you re-create the systemVM, these packages will be lost. 

Alert state could be due to networking, or disk-space being full ( logs ) or 
something  went corrupt and the file-system went to read-only mode.   All 
systemVM are safe to be destroyed and they will get re-created again.

Cheers,
Shashi








-Original Message-
From: Jake G. [mailto:dj_dark_jungl...@yahoo.com]
Sent: maandag, 02 december, 2013 10:33
To: users@cloudstack.apache.org
Subject: SSVM showing alert status

Hi all,

My SSVM is showing ALERT as its status. How can I troubleshoot this? Also, Any 
tips on how to log into the SSVM and CPVM? 

Thanks,
Jake


Re: SSVM showing alert status

2013-12-03 Thread Kirk Kosinski
Hi, Jake.  Is the SSVM really in Alert state, or is it actually the
Secondary Storage share?  If the latter is in Alert state it can be
ignored.  The state of the share is not used or updated and will likely
be in Alert state unless you manually update it in the database.

Best regards,
Kirk

On 12/02/2013 01:33 AM, Jake G. wrote:
 Hi all,
 
 My SSVM is showing ALERT as its status. How can I troubleshoot this? Also, 
 Any tips on how to log into the SSVM and CPVM? 
 
 Thanks,
 Jake
 


RE: SSVM showing alert status

2013-12-02 Thread Sanjay Tripathi
This might be helpful for you: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM%2C+templates%2C+Secondary+storage+troubleshooting

--Sanjay

-Original Message-
From: Jake G. [mailto:dj_dark_jungl...@yahoo.com] 
Sent: Monday, December 2, 2013 3:03 PM
To: users@cloudstack.apache.org
Subject: SSVM showing alert status

Hi all,

My SSVM is showing ALERT as its status. How can I troubleshoot this? Also, Any 
tips on how to log into the SSVM and CPVM? 

Thanks,
Jake


Re: SSVM showing alert status

2013-12-02 Thread Shanker Balan

On 02-Dec-2013, at 3:27 pm, Jake G. dj_dark_jungl...@yahoo.com wrote:

 Thanks! I read that but I am unable to log in to the server.
 Port 3922 Connection Refused.

Jake,

SSVM are stateless. You can destroy them and CloudStack will create a new one 
in its place.
Alternatively, you could try and debug the issue further by attaching a console 
to it.

Regards.

--
@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

CloudStack Bootcamp Training on 27/28 November, Bangalore
http://www.shapeblue.com/cloudstack-training/




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: SSVM showing alert status

2013-12-02 Thread Jake G.
I finally figured out how to login. Thanks for the hint that I needed to be on 
the host where the SSVM is located.
That said, I get the error no matter which host the SSVM is on and the alert 
status does not go away after recreating the SSVM.

Result of ssvm-check.sh *No errors found

First DNS server is  69.55.167.1
PING 69.55.167.1 (69.55.167.1): 56 data bytes
64 bytes from 69.55.167.1: icmp_seq=0 ttl=62 time=2.911 ms
64 bytes from 69.55.167.1: icmp_seq=1 ttl=62 time=1.426 ms
--- 69.55.167.1 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.426/2.168/2.911/0.743 ms
Good: Can ping DNS server

Good: DNS resolves download.cloud.com

NFS is currently mounted
Mount point is /mnt/SecStorage/4349cbdb-573e-37bb-aa77-ec51eb5ee400
Good: Can write to mount point
Mount point is /mnt/SecStorage/252fb5ca-7f32-3da7-af4c-7b8d2f6baab9
Good: Can write to mount point

Management server is 10.3.4.50. Checking connectivity.
Good: Can connect to management server port 8250

Good: Java process is running

Tests Complete. Look for ERROR or WARNING above.




On Monday, December 2, 2013 10:07 PM, Shashi Dahal s.da...@leaseweb.com wrote:
 
Hi, 

Even if you recreate and it shows alert, then you need to first find out the 
hypervisor where its running, and connect to it locally using the Link Local 
IP Address  shown in the management interface.  It is in the format 169.254.x.x


Login to the hypervisor as root

# ssh -i /root/.ssh/.id_rsa.cloud  -p 3922  root@169.254.x.x

It's a standard Debian template. 
Some commands: 

To check the systemVM version:  cat /etc/cloudstack-release
To do a basic troubleshooting:  /usr/local/cloud/systemvm/ssvm-check.sh

You can apt-get install package to install tools to troubleshoot, but when 
you re-create the systemVM, these packages will be lost. 

Alert state could be due to networking, or disk-space being full ( logs ) or 
something  went corrupt and the file-system went to read-only mode.   All 
systemVM are safe to be destroyed and they will get re-created again.

Cheers,
Shashi








-Original Message-
From: Jake G. [mailto:dj_dark_jungl...@yahoo.com] 
Sent: maandag, 02 december, 2013 10:33
To: users@cloudstack.apache.org
Subject: SSVM showing alert status

Hi all,

My SSVM is showing ALERT as its status. How can I troubleshoot this? Also, Any 
tips on how to log into the SSVM and CPVM? 

Thanks,
Jake