Also see the Pacemaker Quick Ref for a better, more complete guide.
crmsh # crm configure show
pcs # pcs cluster cib
crmsh # crm status
# config/initializers/active_admin_mongoid_patch.rb | |
require "active_admin" | |
require "active_admin/resource_controller" | |
require 'ostruct' | |
module ActiveAdmin | |
class Namespace | |
# Disable comments | |
def comments? |
We will now go down to the car to look at the damage that has been done. The barricade impact wasn't square, it was uh, at a slight angle. We believe that the bumper's harbor(?) will work and that will be all right. | |
We will now go down to the car. | |
The uh, motor, is all right. It looks like that the angular impact...uh, moved the bumpers back more on one side than the other. However, they work properly. It doesn't look like the uh, mediary was struck. | |
The screen seems to be all right on the other side... I believe the motor will run. Let's, let's try and see if the motor will run....get the battery and check it. | |
The radiator lost it's uh, fluid. They were sprayed with some uh, liquid. But uh, otherwise it looks like they weren't injured...??? No places where they struck, on the wheel or on the dash. The car looks like it might operate...if we have luck with it here. We'll try it now. |
FIELDS = ['cmd', 'command', 'start', 'end', 'delta', 'msg', 'stdout', 'stderr'] | |
def human_log(res): | |
if type(res) == type(dict()): | |
for field in FIELDS: | |
if field in res.keys(): | |
encoded_field = res[field].encode('utf-8') | |
print '\n{0}:\n{1}'.format(field, encoded_field) |
Also see the Pacemaker Quick Ref for a better, more complete guide.
crmsh # crm configure show
pcs # pcs cluster cib
crmsh # crm status