高可用衡量标准:corosync:集群管理引擎SAForum——>OpenAIS——>Wilson——>corosync向后延伸为衍生出来的版本REHL6.xRHCS:corosyncREHL5.xRHCS:OpenAIS,cman,rgmanagercorosync:MessagingLayer需要CRM(+pacemaker)SUSELinuxEnterpriseserver
分类:
系统相关 时间:
2019-08-14 18:55:04
阅读次数:
166
https://www.cnblogs.com/wxw16/p/6105624.html select * from mst_crse where crse_cd in (SELECT crse_cd from mst_crm_cur where crm_cd='crm1') ...
分类:
数据库 时间:
2019-08-13 13:32:21
阅读次数:
122
hasattr(f,'instance') 为true f.instance 可能会报错 但调用f.instance.id 不会报错 ...
分类:
其他好文 时间:
2019-08-13 00:28:04
阅读次数:
86
onablclick 双击事件 字符串 影号是外双内单 在标签内绑定事件,函数名可以不加影号 ...
分类:
其他好文 时间:
2019-08-13 00:06:19
阅读次数:
77
a._meta.fields_map 获取与a对象表关联的所有表 a._meta.fields a对象表所有字段对象 a._meta.related_objects 反向关联的表 alert-danger ...
分类:
其他好文 时间:
2019-08-12 01:13:09
阅读次数:
189
input标签 绑定onchange事件,移出输入框才触发;绑定oninput事件,是实时触发 jQuery:v.toUpperCase() 变大写 v.search(n) n不存在字符串v中,返回-1 ...
分类:
其他好文 时间:
2019-08-12 01:06:26
阅读次数:
191
类在实例化之前会执行__new__方法 cls.base_fields ——》form字段 admin_class.model._meta.fields——》model字段 from django.forms import ModelForm def create_dynamic_model_for ...
分类:
其他好文 时间:
2019-08-09 01:46:17
阅读次数:
100
生成类 f=type("Foo" , (object,) , {'func': }) {% extends 'kingadmin/index.html' %} {% load kingadmin_tags %} {% block right-content-container %} <h2 clas ...
分类:
其他好文 时间:
2019-08-09 01:17:07
阅读次数:
102
a.get_status_display() 获取choice对应的值 models.User._meta.fields 获取model所有的字段对象 models.User._meta.get_field() 获取某个字段的对象 field.get_internal_type() 获取某个字段对象 ...
分类:
其他好文 时间:
2019-08-08 23:10:26
阅读次数:
142