仓酷云

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 1497|回复: 8
打印 上一主题 下一主题

[学习教程] MSSQL网站制作之Is iSQL Plus running

[复制链接]
深爱那片海 该用户已被删除
跳转到指定楼层
楼主
发表于 2015-1-16 22:38:25 | 显示全部楼层 回帖奖励 |倒序浏览 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
对于update操作,只需要把event中的旧行和新行值对调即可。iSQL*PlusPage
iSQL*PlusisaproductindependentofEnterpriseManager.TheiSQL*PlususerinterfacerunsinawebbrowserconnectedtotheInternetoryourintranet.iSQL*PlusenablesyoutouseawebbrowsertoconnecttoanOracledatabaseandperformthesameactionsasyouwouldthroughthecommandlineversionofSQL*Plus(knownasSQL*Plusinthisguide).YoucanuseiSQL*PlustowriteSQL*Plus,SQLandPL/SQLcommandsto:

Enter,edit,runandsaveSQLcommandsandPL/SQLblocks.

Calculate,andprintqueryresults.

YoucanusetheiSQL*PlusWorkspacetowrite,load,saveandexecutescripts.YoucanenterscriptsasyouwouldincommandlineSQL*Plus.ThescriptoutputcanbedisplayedintheWorkspacescreenorsavedtoafileonyourclientmachine.

TheiSQL*Plusapplicationcanbeusedbytwotypesofusers;adatabaseuserwithNORMALroleandaWebDBAuser.Forsecurityreasons,ifyouwanttoconnectasSYSOPERorSYSDBA,youmustcreateandconfigureaWebDBAuserthatisHTTPauthenticated.

ConfiguringiSQL*Plus

IfyoureceiveanerrormessagepageafteryouclicktheiSQL*PluslinkontheDatabaseHomepage,youshouldcheckthefollowing:
IsiSQL*Plusconfiguredproperly?
ForGridControl,iSQL*PluswillnotbeshippedwiththeOMS(OracleManagementServer).SoiSQL*Plusneedstobemanuallyconfiguredtopointtoanyrunning10GiSQL*Plusserver.AllthetargetdatabasesdiscoveredinthisGridControlapplicationwillusethisiSQL*Plusserverfortheirqueries.

ForDatabaseControl,theiSQL*PlusinstallationwillautomaticallyconfiguretousetheiSQL*Plusservershippingwiththistarget.

ToconfigureiSQL*Plus,twoentriesinthe$ORACLE_HOME/sysman/config/emoms.propertiesfileontheOMS(OracleManagementServer)machineneedstobepopulatedbyreplacingthefollowingplaceholders:replace%ISQLPLUS_PROTOCOL%,%ISQLPLUS_HOST%and%ISQLPLUS_PORT%withtheprotocol,thehostandtheportoftheiSql*Plusserveryouwanttouse.

ForadatabaseuserwithNORMALrole:
oracle.sysman.db.isqlplusUrl=%ISQLPLUS_PROTOCOL%://%ISQLPLUS_HOST%:%ISQLPLUS_PORT%/isqlplus/dynamic

ForadatabaseuserwithSYSOPERandSYSDBArole(requiresadditionalsetupforiSQL*PlusDBAaccess):
oracle.sysman.db.isqlplusWebDBAUrl=%ISQLPLUS_PROTOCOL%://%ISQLPLUS_HOST%:%ISQLPLUS_PORT%/isqlplus/dba/dynamic

Forexample:

oracle.sysman.db.isqlplusUrl=http://chablis.au.oracle.com:5560/isqlplus/dynamic

oracle.sysman.db.isqlplusWebDBAUrl=http://chablis.au.oracle.com:5560/isqlplus/dba/dynamic

ForRACapplications,theemoms.propertiesfileforallnodesoftheclustermustalsohavethesetwoentriesconfigured.

Afterconfiguringtheentries,theOMSneedstoberestartedtopickupthechange.
IsiSQL*Plusrunning?
IfiSQL*Plusisnotstarted,youmaystartiSQL*Plususingthecommand:

$ORACLE_HOME/bin/isqlplusctlstart
IsiSQL*PlusDBAAccessSetup?
IfiSQL*Plusisconfiguredproperly,theiSQL*PlusConnectionRolepagepromptsyoutoselecttheroleyouwanttousetoconnecttoiSQL*Plus--Normal,SYSOPER(WebDBA)orSYSDBA(WebDBA).

ToconnectasSYSOPERorSYSDBA,theWebDBAusermustbesetupandauthenticatedusingtheOracleJAASProvider,knownasJAZN(JavaAuthoriZationN).ThisisOraclesimplementationoftheJavaAuthenticationandAuthorizationService(JAAS).WheniSQL*PlusWebDBAURLisinvoked,youmustenteravalidJAZNusernameandpasswordinadialogtogainaccesstotheiSQL*PlusDBAURL.ThisusernameandpasswordmaybedifferenttotheusernameandpasswordforyourOracledatabaseinstance.

ForinstructionsonhowtosetupaccesstoiSQL*PlusDBAURL,seetheSQL*PlusUsersGuideandReference.

Formoreinformationaboutthejaznadminsetup,seetheiSQL*PlusInstallationandConfigurationguideorgoto:

wiggum.ce.columbia.edu:7778/iplus/help/us/toc.htm
操作被同步到从库上后,则主从都“回天无力”。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|仓酷云 鄂ICP备14007578号-2

GMT+8, 2024-6-16 09:47

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表