创建命名空间

<p class="shortdesc">在开始使用DTMS前,需先创建命名空间。</p> <section class="section prereq" id="create_namespace__prereq_l4n_myl_wpb"><div class="tasklabel"><h2 class="doc-tairway">前提条件</h2></div> <p class="p">您已拥有平安金融云账号,且完成实名认证。</p> </section> <section><div class="tasklabel"><h2 class="doc-tairway">操作步骤</h2></div><ol class="ol steps"><li class="li step stepexpand" id="create_namespace__step_u3y_wbm_wpb"> <span class="ph cmd">登录<a class="xref" href="/console/dtms/namespace" target="_blank">分布式事务DTMS控制台</a>。</span> </li><li class="li step stepexpand"> <span class="ph cmd">单击页面右上角<span class="ph uicontrol">创建</span>。</span> </li><li class="li step stepexpand"> <span class="ph cmd">在<span class="ph uicontrol">创建命名空间</span>页面,根据如下说明完成设置,然后单击<span class="ph uicontrol">确认</span>。</span> <div class="itemgroup info"> <img class="image" id="create_namespace__image_ald_5yl_wpb" src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20211006103131-183f69919575.png"> <table class="table" id="create_namespace__table_wtn_vyl_wpb"><caption></caption><colgroup><col><col></colgroup><thead class="thead"> <tr class="row"> <th class="entry" id="create_namespace__table_wtn_vyl_wpb__entry__1">配置项</th> <th class="entry" id="create_namespace__table_wtn_vyl_wpb__entry__2">说明</th> </tr> </thead><tbody class="tbody"> <tr class="row"> <td class="entry" headers="create_namespace__table_wtn_vyl_wpb__entry__1 "> <p class="p">地域</p> </td> <td class="entry" headers="create_namespace__table_wtn_vyl_wpb__entry__2 "> <p class="p">选择命名空间所在地域。</p> <div class="note important note_important"><span class="note__title">重要:</span> <ul class="ul" id="create_namespace__ul_ytn_vyl_wpb"> <li class="li">命名空间所在地域需与数据源所在地域一致。</li> <li class="li">同一个地域下的不同可用区中部署的应用,可以使用同一个DTMS命名空间,以满足在同城双活环境下用户应用的分布式事务的场景。</li> </ul> </div> </td> </tr> <tr class="row"> <td class="entry" headers="create_namespace__table_wtn_vyl_wpb__entry__1 "> <p class="p">命名空间名称</p> </td> <td class="entry" headers="create_namespace__table_wtn_vyl_wpb__entry__2 "> <p class="p">命名空间名称默认由系统自动生成。单击名称右侧<img class="image" id="create_namespace__image_nlz_bzl_wpb" src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20211006103131-168a9a6f9c3b.png">可修改命名空间名称。</p> <div class="note note note_note"><span class="note__title">说明:</span> <ul class="ul" id="create_namespace__ul_a5n_vyl_wpb"> <li class="li">命名空间名称长度限制为1~24个字符。仅支持包含数字、字母和”_”,不能以”_”开头。</li> <li class="li">命名空间创建成功后,无法修改命名空间名称。</li> <li class="li">命名空间名称在DTMS范围内是全局唯一的。</li> </ul> </div> </td> </tr> <tr class="row"> <td class="entry" headers="create_namespace__table_wtn_vyl_wpb__entry__1 "> <p class="p">命名空间描述</p> </td> <td class="entry" headers="create_namespace__table_wtn_vyl_wpb__entry__2 "> <p class="p">根据需要选填命名空间描述。</p> </td> </tr> </tbody></table> </div> </li><li class="li step stepexpand"> <span class="ph cmd">在<span class="ph uicontrol">创建成功</span>页面,确认提示信息,然后单击<span class="ph uicontrol">确认</span>。</span> <div class="itemgroup info"> <img class="image" id="create_namespace__image_bmd_3zl_wpb" src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20211006103131-137205309fd8.png"> </div> </li></ol></section> <section class="section result" id="create_namespace__result_p4n_pzl_wpb"><div class="tasklabel"><h2 class="doc-tairway">执行结果</h2></div> <div class="p">在<strong class="ph b">命名空间</strong>页面,可查看到刚刚创建的命名空间,<strong class="ph b">状态</strong>为<strong class="ph b">可用</strong>。<img class="image" id="create_namespace__image_k4r_rzl_wpb" src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20211006103131-17d4bf3892b9.png"></div> </section>
以上内容是否解决了您的问题?
请补全提交信息!
联系我们

电话咨询

400-151-8800

邮件咨询

fincloud@ocft.com

在线客服

工单支持

解决云产品相关技术问题