beautypg.com

Troubleshooting object store, Restarting the object store services – HP StoreAll Storage User Manual

Page 171

background image

To enable service monitoring:

ibrix_objectstoremonitor -m [-h FMLIST]

Restarting the Object Store services

Use the following command to restart Object Store services after monitoring has been disabled
for maintenance. Using this command will reload any monitoring configuration changes as well
as restarting the services.

ibrix_objectstoremonitor -c [-h FMLIST]

Troubleshooting Object Store

Understanding and troubleshooting HTTP response codes

An HTTP code of 200, 201, 202 or 204 indicates success. When you see a success code, you
can assume the operation has completed and any expected response body or response headers
are available for use. When you see an error code (4xx or 5xx), you must examine the HTTP code
to determine how to respond.

When responding to an error code, HP recommends that you retry the operation instead of
abandoning the task. Wait for one second and then retry. If this fails, wait for a longer period
before retrying. If after several retries (generally 5 attempts) the operation continues to fail, you
can consider the failure as unrecoverable.

Table 22 HTTP status codes

Notes/Suggested actions

Description

Code

The actual response will depend on the specific
operation. The HTTP code is transferred before

Standard response for successful
requests.

200 OK

the body of a request, so you should check that
the body has not been truncated by comparing
with the content-length and ETag response
headers.

The actual response will depend on the specific
operation.

Standard response for successful
creation of a container. Object

201 Created

creation usually returns this code, even
if an object of the same name already
exists. In terms of how the service
works, this is correct since you are
creating a copy of the object.
However, when creating an object in
a version-enabled container, 200 OK
is returned if an object of the same
name already exists.

The actual response will depend on the specific
operation.

Standard response for successful
updates to account, container or
object.

202 Accepted

The response is in the response headers, there is
no body in the response. The object HEAD

Standard response to HEAD
operations. It is also the response

204 No Content

response does not use this code. It uses 200 OK
instead.

when listing an account or container
and there are no names in the list.

Check your code.

The request cannot be fulfilled due to
bad syntax.

400 Bad Request

If the token was valid at some stage and you then
get this error, it has probably expired and you
simply need to get a new authorization token.

This can mean you are not authorized
to perform an operation. However,
this might also mean tthat the

401 Unauthorized

authorization token in
X-Auth-Token

is invalid (or

missing).

Troubleshooting Object Store

171