Locking a query for a while
Hi all,
is it possible to lock a query for a while so users can't execute it.
The idea is to avoid that users run the query while data is being cleaned/loaded into a infocube.
thx in advance
Take it way from the role it has been assigned to, so that no one see the query.
thanks.
Wond
Similar Messages
-
Error while creating a query for my custom infotype
Hi,
I have created a custom infotype with fields currency amount and currency field .
While I am creating a query for it its giving an error
Message no. AQ_AD_HOC221 Error when generating the report(see long text )
I tried to execute the standard program RPUMS40CCI but still I am facing same error .
I have also maintained table T777i for my infotype but still problem exists.
Please help.
PHi
Check in PM01 -
Error while executing a sql query for select
HI All,
ORA-01652: unable to extend temp segment by 128 in tablespace PSTEMP i'm getting this error while i'm executing the sql query for selecting the data.I am having 44GB of temp space, while executing the below query my temp space is getting full, Expert please let us know how the issue can be resolved..
1. I dont want to increase the temp space
2. I need to tune the query, please provide your recomendations.
insert /*+APPEND*/ into CST_DSA.HIERARCHY_MISMATCHES
(REPORT_NUM,REPORT_TYPE,REPORT_DESC,GAP,CARRIED_ITEMS,CARRIED_ITEM_TYPE,NO_OF_ROUTE_OF_CARRIED_ITEM,CARRIED_ITEM_ROUTE_NO,CARRIER_ITEMS,CARRIER_ITEM_TYPE,CARRIED_ITEM_PROTECTION_TYPE,SOURCE_SYSTEM)
select
REPORTNUMBER,REPORTTYPE,REPORTDESCRIPTION ,NULL,
carried_items,carried_item_type,no_of_route_of_carried_item,carried_item_route_no,carrier_items,
carrier_item_type,carried_item_protection_type,'PACS'
from
(select distinct
c.REPORTNUMBER,c.REPORTTYPE,c.REPORTDESCRIPTION ,NULL,
a.carried_items,a.carried_item_type,a.no_of_route_of_carried_item,a.carried_item_route_no,a.carrier_items,
a.carrier_item_type,a.carried_item_protection_type,'PACS'
from CST_ASIR.HIERARCHY_asir a,CST_DSA.M_PB_CIRCUIT_ROUTING b ,CST_DSA.REPORT_METADATA c
where a.carrier_item_type in('Connection') and a.carried_item_type in('Service')
AND a.carrier_items=b.mux
and c.REPORTNUMBER=(case
when a.carrier_item_type in ('ServicePackage','Service','Connection') then 10
else 20
end)
and a.carrier_items not in (select carried_items from CST_ASIR.HIERARCHY_asir where carried_item_type in('Connection') ))A
where not exists
(select *
from CST_DSA.HIERARCHY_MISMATCHES B where
A.REPORTNUMBER=B.REPORT_NUM and
A.REPORTTYPE=B.REPORT_TYPE and
A.REPORTDESCRIPTION=B.REPORT_DESC and
A.CARRIED_ITEMS=B.CARRIED_ITEMS and
A.CARRIED_ITEM_TYPE=B.CARRIED_ITEM_TYPE and
A.NO_OF_ROUTE_OF_CARRIED_ITEM=B.NO_OF_ROUTE_OF_CARRIED_ITEM and
A.CARRIED_ITEM_ROUTE_NO=B.CARRIED_ITEM_ROUTE_NO and
A.CARRIER_ITEMS=B.CARRIER_ITEMS and
A.CARRIER_ITEM_TYPE=B.CARRIER_ITEM_TYPE and
A.CARRIED_ITEM_PROTECTION_TYPE=B.CARRIED_ITEM_PROTECTION_TYPE
AND B.SOURCE_SYSTEM='PACS'
Explain Plan
==========
Plan
INSERT STATEMENT ALL_ROWSCost: 129 Bytes: 1,103 Cardinality: 1
20 LOAD AS SELECT CST_DSA.HIERARCHY_MISMATCHES
19 PX COORDINATOR
18 PX SEND QC (RANDOM) PARALLEL_TO_SERIAL SYS.:TQ10002 :Q1002Cost: 129 Bytes: 1,103 Cardinality: 1
17 NESTED LOOPS PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 129 Bytes: 1,103 Cardinality: 1
15 HASH JOIN RIGHT ANTI NA PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 129 Bytes: 1,098 Cardinality: 1
4 PX RECEIVE PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 63 Bytes: 359,283 Cardinality: 15,621
3 PX SEND BROADCAST PARALLEL_TO_PARALLEL SYS.:TQ10001 :Q1001Cost: 63 Bytes: 359,283 Cardinality: 15,621
2 PX BLOCK ITERATOR PARALLEL_COMBINED_WITH_CHILD :Q1001Cost: 63 Bytes: 359,283 Cardinality: 15,621
1 MAT_VIEW ACCESS FULL MAT_VIEW PARALLEL_COMBINED_WITH_PARENT CST_ASIR.HIERARCHY :Q1001Cost: 63 Bytes: 359,283 Cardinality: 15,621
14 NESTED LOOPS ANTI PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 65 Bytes: 40,256,600 Cardinality: 37,448
11 HASH JOIN PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 65 Bytes: 6,366,160 Cardinality: 37,448
8 BUFFER SORT PARALLEL_COMBINED_WITH_CHILD :Q1002
7 PX RECEIVE PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 1 Bytes: 214 Cardinality: 2
6 PX SEND BROADCAST PARALLEL_FROM_SERIAL SYS.:TQ10000 Cost: 1 Bytes: 214 Cardinality: 2
5 INDEX FULL SCAN INDEX CST_DSA.IDX$$_06EF0005 Cost: 1 Bytes: 214 Cardinality: 2
10 PX BLOCK ITERATOR PARALLEL_COMBINED_WITH_CHILD :Q1002Cost: 63 Bytes: 2,359,224 Cardinality: 37,448
9 MAT_VIEW ACCESS FULL MAT_VIEW PARALLEL_COMBINED_WITH_PARENT CST_ASIR.HIERARCHY :Q1002Cost: 63 Bytes: 2,359,224 Cardinality: 37,448
13 TABLE ACCESS BY INDEX ROWID TABLE PARALLEL_COMBINED_WITH_PARENT CST_DSA.HIERARCHY_MISMATCHES :Q1002Cost: 0 Bytes: 905 Cardinality: 1
12 INDEX RANGE SCAN INDEX PARALLEL_COMBINED_WITH_PARENT SYS.HIERARCHY_MISMATCHES_IDX3 :Q1002Cost: 0 Cardinality: 1
16 INDEX RANGE SCAN INDEX PARALLEL_COMBINED_WITH_PARENT CST_DSA.IDX$$_06EF0001 :Q1002Cost: 1 Bytes: 5 Cardinality: 1 -
Erro while running query for a Scheduled work book
The following error found while running query for a schedule workbook:
ORA-12801: Error signaled in parallel query server P000
ORA-01652: uable to extend temp segment by 14720 in tablespace SYSTEM
ORA-27068: skgfdisp: buffer is not aligned properly
OSD-04005: SetFilePointer() failure, unable to read it from file
We are using discoverer 4.1.
Any help is highly appreciated.
nullCandi,
Have your DBA check for trace file and contact Oracle Support: RDBMS group to track these errors down...
Chris
null -
Issue While executing the Query for Pagination using ROWNUM with like
Issue While executing the Query for Pagination using ROWNUM with like.
Database is Oracle11G.
Oracle Database Table contains 8-9 lakh records
1) SQL equal (=)
SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
WHERE A.REFERENCE = 'KMF22600920'
Execution Time:- 0.00869245 seconds
Returns 2 resultsets
2) SQL like (one %)
SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
WHERE A.REFERENCE = 'KMF22600920%'
Execution Time:- 0.01094301 seconds
Returns 2 resultsets
3) SQL like (two%)
SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
WHERE A.REFERENCE like '%KMF22600920%'
Execution Time:- 6.43989658 seconds
Returns 2 resultsets
In Pagination, we are using Modified version of SQL Query 3) with ROWNUM as mentioned below :-
4) SELECT * FROM (
SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
WHERE REFERENCE like '%KMF22600920%' AND ROWNUM <= 20 ) WHERE RNUM > 0
Execution Time:- Infinite
ResultSets:- No as execution time is infinite
a) Instead of like if we use = in the above query it is returning the 2 resultsets (execution time 0.02699282 seconds)
b) Instead of two % in the above query, if use one example REFERENCE like 'KMF22600920%' it is returning the 2 resultsets (execution time 0.03313019 seconds)
Issue:- When using two % in like in the above query i.e. REFERENCE like '%KMF22600920%' AND ROWNUM <= 20 ) , it is going to infinite.
Could you please let us know what is the issue with two % used in like and rownum
5) Modified version of Option1 query (move out the RNUM condition AND RNUM <= 20)
SELECT * FROM (
SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
WHERE REFERENCE like '%KMF22600920%' ) WHERE RNUM > 0 AND RNUM <= 20
Execution Time:- 7.41368914 seconds
Returns 2 resultsets
Is the above query is best optimized query which should be used for the Pagination or still can improve on this ?This would be easier to diagnose if there was an explain plan posted for the 'good' and 'bad' queries. Generally speaking using '%' on both sides precludes the use of any indexes.
-
An error occurred while querying for the Webfolders path.
Hi Guys,
I have a logic file that runs a stored procedure and dtsx gets to that step it gives an error saying :"An error occurred while querying for the Webfolders path."
I saw that there were a similar post a while ago, but i am running the package from the DM.
Any ideas?
Regards,
AvdBHi Guys,
Thanks for the replies. Please have a look at the code and let me know what I am doing wrong.
'DEBUG(on)
TASK(ImportAccount,USER,%USER%)
TASK(ImportAccount,APPSET,%APPSET%)
TASK(ImportAccount,APP,%APP%)
TASK(ImportAccount,LOGICFILE,C:\BPC\Data\Webfolders\NewClicks\AdminApp\FINANCE\account_load.lgf)
TASK(ImportAccount,LOGICMODE,1)
PROMPT(MESSAGE,"When this package is running, end user functionality will be affected (i.e. data cannot be sent to the database or incorrect numbers can be retrieved from the database while this package is running)")
TASK(CreateAccount,DESCRIPTION,CreateAccount)
TASK(CreateAccount,APPSET,%APPSET%)
TASK(CreateAccount,APP,%APP%)
TASK(CreateAccount,USERID,%USER%)
TASK(CreateAccount,PROCESSMODE,4)
TASK(CreateAccount,DIMENSIONNAME,Account)
TASK(CreateAccount,SOURCETABLE,mbrAccount_shadow)
TASK(CreateAccount,BAPPLICATIONPROCESS,1)
TASK(CreateAccount,BTAKESYSTEMAVAILABLE,1)
Is there any documentation around this code? It is very difficult to debug something without the relevant documentation.
Regards,
Andries -
My iPad isn't locking automatically when I listen to iTunes Radio for a while. I checked my auto lock settings and it is set to 2 minutes but it isn't locking when I listen to iTunes Radio
iTunes radio and Pandora are designed to play after the screen turns dark so you can listen to music without wasting energy on a lite screen. The main thing is that the screen goes dark after two minute. Also after listening to iTunes or Pandora when you are done be sure to double click the home button and swipe up to close the app.
-
QUERY FOR HOW TO ACCESS NEXT ROW WHILE IN CURRENT ROW
Hi, can you please make a oracle sql query for the following.
My Data in table dt0attlog:
ID staffid logdt login logout
01 aw101 01.12.11 01.12.11 08.30
01 aw101 01.12.11 01.12.11 10.30
01 aw101 01.12.11 01.12.11 11.40
01 aw101 01.12.11 01.12.11 14.30
01 aw101 01.12.11 01.12.11 15.00
01 aw101 01.12.11 01.12.11 17.45
01 aw102 01.12.11 01.12.11 19.20
01 aw102 01.12.11 01.12.11 20.30
01 aw102 01.12.11 01.12.11 21.50
01 aw102 01.12.11 01.12.11 23.10
01 aw102 01.12.11 01.12.11 23.20
01 aw102 02.12.11 02.12.11 07.00
01 aw102 02.12.11 02.12.11 18.00
01 aw102 03.12.11 03.12.11 04.30
01 aw103 01.12.11 01.12.11 09.40
01 aw104 01.12.11 01.12.11 18.00
My required output:
ID staffid logdt login logout diff-in-seconds
01 aw101 01.12.11 01.12.11 08.30 01.12.11 10.30 7200
01 aw101 01.12.11 01.12.11 11.40 01.12.11 14.30 10200
01 aw101 01.12.11 01.12.11 15.00 01.12.11 17.45 9900
01 aw102 01.12.11 01.12.11 19.20 01.12.11 20.30 4200
01 aw102 01.12.11 01.12.11 21.50 01.12.11 23.10 4800
01 aw102 01.12.11 01.12.11 23.20 02.12.11 07.00 27600
01 aw102 02.12.11 02.12.11 18.00 03.12.11 04.30 37800
01 aw103 01.12.11 01.12.11 09.40
01 aw104 01.12.11 01.12.11 18.00
Here record aw102 & dt. 01.12.11 / 02.12.11, it should shows the next day out in
the current date ie. 01.12.11.
thanks and await your great help please.the followings are the testcase
SQL> create table dt0device (
2 deviceid varchar2(15),
3 staffid varchar2(10),
4 logdt date,
5 in_out_flag varchar2(3));
Table created.
SQL> insert into dt0device values('01','aw101',to_date('01.12.2011 08:30','DD/MM/RRRR HH24.MI'),'IN');
1 row created.
SQL> insert into dt0device values('01','aw101',to_date('01.12.2011 10:30','DD/MM/RRRR HH24.MI'),'OUT');
1 row created.
SQL> insert into dt0device values('01','aw101',to_date('01.12.2011 11:40','DD/MM/RRRR HH24.MI'),'IN');
1 row created.
SQL> insert into dt0device values('01','aw101',to_date('01.12.2011 14:30','DD/MM/RRRR HH24.MI'),'OUT');
1 row created.
SQL> insert into dt0device values('01','aw101',to_date('01.12.2011 15:00','DD/MM/RRRR HH24.MI'),'IN');
1 row created.
SQL> insert into dt0device values('01','aw101',to_date('01.12.2011 17:45','DD/MM/RRRR HH24.MI'),'OUT');
1 row created.
SQL>
SQL> insert into dt0device values('01','aw102',to_date('01.12.2011 19:20','DD/MM/RRRR HH24.MI'),'IN');
1 row created.
SQL> insert into dt0device values('01','aw102',to_date('01.12.2011 20:30','DD/MM/RRRR HH24.MI'),'OUT');
1 row created.
SQL> insert into dt0device values('01','aw102',to_date('01.12.2011 21:50','DD/MM/RRRR HH24.MI'),'IN');
1 row created.
SQL> insert into dt0device values('01','aw102',to_date('01.12.2011 23:10','DD/MM/RRRR HH24.MI'),'OUT');
1 row created.
SQL> insert into dt0device values('01','aw102',to_date('01.12.2011 23:20','DD/MM/RRRR HH24.MI'),'IN');
1 row created.
SQL> insert into dt0device values('01','aw102',to_date('02.12.2011 07:00','DD/MM/RRRR HH24.MI'),'OUT');
1 row created.
SQL> insert into dt0device values('01','aw102',to_date('02.12.2011 18:00','DD/MM/RRRR HH24.MI'),'IN');
1 row created.
SQL> insert into dt0device values('01','aw102',to_date('03.12.2011 04:30','DD/MM/RRRR HH24.MI'),'OUT');
1 row created.
SQL>
SQL> insert into dt0device values('01','aw103',to_date('01.12.2011 09:40','DD/MM/RRRR HH24.MI'),'IN');
1 row created.
SQL> insert into dt0device values('01','aw104',to_date('01.12.2011 18:00','DD/MM/RRRR HH24.MI'),'OUT');
1 row created.
SQL> create table dt0attlogdevice
2 ( staffid varchar2(10),
3 logdt date,
4 login date,
5 logout date);
Table created.
SQL> insert into dt0attlogdevice select staffid,logdt,
2 decode(in_out_flag,'IN',logdt,null) login,
3 decode(in_out_flag,'OUT',logdt,null) logout
4 from dt0device;
16 rows created.
SQL> select staffid,to_char(logdt,'DD/MM/RR') logdt, to_char(login,'DD/MM/RR HH24.MI') login,
2 to_char(logout,'DD/MM/RR HH24.MI') logout
3 from dt0attlogdevice;
STAFFID LOGDT LOGIN LOGOUT
aw101 01/12/11 01/12/11 08.30
aw101 01/12/11 01/12/11 10.30
aw101 01/12/11 01/12/11 11.40
aw101 01/12/11 01/12/11 14.30
aw101 01/12/11 01/12/11 15.00
aw101 01/12/11 01/12/11 17.45
aw102 01/12/11 01/12/11 19.20
aw102 01/12/11 01/12/11 20.30
aw102 01/12/11 01/12/11 21.50
aw102 01/12/11 01/12/11 23.10
aw102 01/12/11 01/12/11 23.20
STAFFID LOGDT LOGIN LOGOUT
aw102 02/12/11 02/12/11 07.00
aw102 02/12/11 02/12/11 18.00
aw102 03/12/11 03/12/11 04.30
aw103 01/12/11 01/12/11 09.40
aw104 01/12/11 01/12/11 18.00
16 rows selected.
===
from the above table , I want to generate ouput as below:
staffid logdt login logout diff-in-seconds
aw101 01.12.11 01.12.11 08.30 01.12.11 10.30 7200
aw101 01.12.11 01.12.11 11.40 01.12.11 14.30 10200
aw101 01.12.11 01.12.11 15.00 01.12.11 17.45 9900
aw102 01.12.11 01.12.11 19.20 01.12.11 20.30 4200
aw102 01.12.11 01.12.11 21.50 01.12.11 23.10 4800
aw102 01.12.11 01.12.11 23.20 02.12.11 07.00 27600
aw102 02.12.11 02.12.11 18.00 03.12.11 04.30 37800
aw103 01.12.11 01.12.11 09.40
aw104 01.12.11 01.12.11 18.00
Here record aw102 & dt. 01.12.11 / 02.12.11, it should shows the next day out in
the current date ie. 01.12.11.
I dont know how to make query for the above output.
please help me. -
Lock a tcode for particular user
Hi Experts
i need to lock few transaction for particular users only. we have n number of roles and the transactions have been assigned to some tcodes to be reasticted for a list of users. is there any method or program to built to restrict the users for few tcodes.is there any more query pl trigger me
regards
balahi
sagar:
as you said if i start creating roles to restrict some users then there atleast 25 tcodes are there to restrict and 120 roles are to be analyzed and the job becomes hefty by creating roles and there will too many number of roles and it becomes confusion in future forecast. there fore i nedd any suggestion like that the userscan be restricted when they are trying to access that particular code or lock the screen or inform them to not access these tcodes thro some message or writing a program to restrict the users while the user exits. i have an idea but i dont know how it will work - ( I am not a ABAPER) there should be tcode or program which should list tcodes authorized for particular users and where they can be locked like SM01 ( but it will lock for all) but locking for particular users
Am i more advanced??
regards
bala -
File locking over AFP for GnuPG?
I'm trying to get Network Home directories working for our company as we have a few hotseat MacMini's and don't want to have local profiles on each. I've got that working as expected, the issue I'm having now is that we use GnuPG quite extensively and I can't get it to work over the network share. After a bit of digging it looks like it need to lock the key files while they're being accessed.
The error I'm seeing is:
gpg: lock not made: link() failed: Operation not supported
gpg: can't lock `/Network/Servers/macmini-server.local/Volumes/UserData/Network Users/testuser/.gnupg/secring.gpg'
gpg: DBG: Oops, `/Network/Servers/macmini-server.local/Volumes/UserData/Network Users/testuser/.gnupg/secring.gpg.lock' is not locked
gpg: keyblock resource `/Network/Servers/macmini-server.local/Volumes/UserData/Network Users/testuser/.gnupg/secring.gpg': General error
I know about the 'lock-never' option for GnuPG, but that doesn't work when setting a new key, and isn't the ideal solution.
Is there an option on the AFP server that needs to be set to enable locking?
SteveI am sure Apple provide a means to do file locking and/or record locking. However your software might need to be written to properly call Apple's APIs to do this. I know Microsoft as an example always (tried) to do this their own way and as a result it pretty much never worked properly with Office for Mac.
This sort of query is going to be better pursued via Apple's Developer forums. -
IOS7 installed OK to my iPhone 4S and worked OK for a while but I have somehow managed to completely jam my iPhone 4s. The touch screen won't work except for up and down gestures (some of the time). I can't make or answer calls, I can't even power if off. I can't access the hardward ID which Apple support seems to require for Chat.
It might have happened when I was accessing my camera bypassing the lock screen!
All I know is that the thing is now useless and it looks like I will have to wait for the battery to run down to see if powering it back up afterwards will solve the problem.I have since discovered the "hold down home key and power button" together for a few seconds and this seems to have worked .... phew!
-
IPhone 3G in a coma state though I was using iOS4 for a while.
iPhone 3G in a coma state though I was using iOS4 for a while (until today that is). Now "restored" to iOS4.2.
The problem still persists. When it's plugged into PC and charging, pressing Power / Home button always wakes iPhone from lock / sleep.
When taken off power, it still allows me to wake the phone from lock / sleep, but only if I do it every 5 seconds. After around 5 seconds, pressing the Power / Home button doesn't wake the phone from sleep, therefore necessitating a Hard Reboot (Power + Home held for 10 seconds).
There's also a very visible lag when using anything, even though my phone has no songs / apps / videos in it anymore.
When calling to the iPhone or sending SMS', the sender finds as though the iPhone is working, but the iPhone itself makes no response to show that a message has been received or that it is being called.
This is just infuriating, because if it can't do any of the other functions, it could at least be usable as a phone
This is an emergency, I don't know how to get ahold of another phone, and I have exams for which I need my phone to coordinate things like transport, or calls /messages from the exam centre.No help, anyone ?
It feels such a waste to have a perfectly usable and amazing (though apparently obsolete) phone which can't be used for a tiny little bug when it's not connected to the charging station :C -
Lock at a Customer level - while creating a dispute or working on the ColWL
Please, provide workarounds for:
SAP creates a lock at a Customer level while doing the following activities
u2022 Clearing an item
u2022 Creation of a Dispute case
u2022 Working on Collections worklist for a particular customer
As a result of the lock at the customer level, no other user can work on the same customer at the same time.
Many thanks,
Mario.Hi Mario,
This is how system is supposed to work, so that only one user can work at a time on a particular customer. Without such a control, things could go wrong. Eg. You might be making a payment to the customer invoice, simulataneously other user could be trying to clear the same invoice using some credit memo.
So there is not workaround.
Thanks
Krishna -
Operations manager failed to run a wmi query for wmi events (0x800706ba)
Hi everyone,
I've been working on this issue for a while and I am still no closer to finding out what the problem is. If anybody can offer any other advice or things to check, I'm all ears.
I'm running SCOM 2012 R2 with UR2, and the Cluster Management Pack v6.0.7063.0
My problem is on one particular batch of cluster servers where I am getting the following error.
Name: Operations Manager failed to run a WMI query for WMI events
Alert Description:
Module was unable to enumerate the WMI data
Error: 0x800706ba
Details: The RPC server is unavailable
Workflow name: Microsoft.Windows.Cluster.Node.StateMonitoring
Instance Name: servername.domain.local
Instance ID: {instance_id}
Management group: SCOM_Management_Grp_Name
I am getting this alert regardless of whether I run the Windows Cluster Action Account as Local System, or as a domain user with full local admin privileges on all the cluster nodes.
When looking at the management pack and the workflow in particular (Microsoft.Windows.Cluster.Node.StateMonitoring), I can see that it's trying to access
MSCluster_Node in the root\MSCLUSTER WMI namespace.
This is the workflow for your information...
<UnitMonitor> ID="Microsoft.Windows.Cluster.Node.StateMonitoring" Accessibility="Public" Enabled="onEssentialMonitoring" Target="ClusLibrary!Microsoft.Windows.Cluster.Node" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="ClusLibrary!Microsoft.Windows.Cluster.CheckState" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Cluster.Node.StateMonitoring.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="ClusLibrary!Microsoft.Windows.Cluster.Node"]/ClusterName$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Success" MonitorTypeStateID="Online" HealthState="Success" />
<OperationalState ID="Warning" MonitorTypeStateID="Partial" HealthState="Warning" />
<OperationalState ID="Error" MonitorTypeStateID="NotOnline" HealthState="Error" />
</OperationalStates>
<Configuration>
<ClusterObjectName>$Target/Property[Type='ClusLibrary!Microsoft.Windows.Cluster.Node']/NodeName$</ClusterObjectName>
<PollInterval>60</PollInterval>
<ClusterObjectClass>MSCLUSTER_Node</ClusterObjectClass>
<OnlineExpression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='EventNewState']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">0</Value>
</ValueExpression>
</SimpleExpression>
</OnlineExpression>
<OnlineExpressionOnDemand>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">0</Value>
</ValueExpression>
</SimpleExpression>
</OnlineExpressionOnDemand>
<PartialExpression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='EventNewState']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">2</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='EventNewState']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">3</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</PartialExpression>
<PartialExpressionOnDemand>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">2</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">3</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</PartialExpressionOnDemand>
<NotOnlineExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='EventNewState']</XPathQuery>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value Type="String">0</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='EventNewState']</XPathQuery>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value Type="String">2</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='EventNewState']</XPathQuery>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value Type="String">3</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</NotOnlineExpression>
<NotOnlineExpressionOnDemand>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value Type="String">0</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value Type="String">2</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value Type="String">3</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</NotOnlineExpressionOnDemand>
<WMIFields>Name, State</WMIFields>
</Configuration>
</UnitMonitor>
I can confirm that I am able to browse the MSCluster_Node class locally, as well as remotely using WMIEXPLORER and WBEMTEST,
however it only works when I set the Authentication Level to
Packet Privacy. If I do not select Packet Privacy, a WMI event log error 5605 is logged on the remote servers application log that says...
The root\mscluster namespace is marked with the RequiresEncryption flag. Access to this namespace might be denied if the script or application does not have the appropriate authentication level. Change the authentication level to Pkt_Privacy
and run the script or application again.
I can confirm that all firewalls are turned off, and there are no firewalls between the management servers and the agents in question. AV exclusions have been done and appear to be in place. The nodes are all Windows 2008 R2 with SP1. As
far as I can tell there is plenty of memory available on each of the nodes in question (50%+) of RAM is available.
If I manually run the "Discover the Windows Server 2008 R2 Cluster Components" task in the Cluster Service State section of the management pack in the Monitoring Pane in the console, on the nodes in question - the discovery runs successfully.
Does anybody have any other ideas or suggestions I could try?
Many thanks in advance,
Noel.
http://www.dreamension.netHi,
Common causes of RPC errors include:
Errors resolving a DNS or NetBIOS name.
The RPC service or related services may not be running.
Problems with network connectivity.
File and printer sharing is not enabled.
For more information, please review the link below:
Windows Server Troubleshooting: "The RPC server is unavailable"
http://social.technet.microsoft.com/wiki/contents/articles/4494.windows-server-troubleshooting-the-rpc-server-is-unavailable.aspx#Identify
Troubleshooting RPC Errors
http://technet.microsoft.com/en-us/magazine/2007.07.howitworks.aspx
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Due to a bad install of Mavericks, my macbook was just on a loop. I correctly formatted a new external drive and installed Yosemite there and was able to retrieve my files onto the external drive. So for a while I was able to run my mac from the os on the external drive and it was fine. I built up enough courage to clear the internal hard drive. or so i thought. It will no longer recognize my admin password and I can't gain access through my Apple store and iCloud password so I have effectively been locked out. i have tried all suggested ways to deal with that. I can't seem to install the os from my external drive on to the macbook internal drive. My dvd/cd player hasn't worked for a long time so I can't install a snow leopard disc and upgrade from there. I really need help here. thanks
Tried this just now, but it didn't work. I copied it to my internal drive, but if I then selected that file and told it to open in iTunes, it played the one on my external drive.
However, it was possible to play the copied movie in QuickTime Player. I wonder, though, would that approach work with a rented movie? The movie I was using was one I bought from iTunes.
Maybe you are looking for
-
Mission Control Lion 10.7.3 assigning apps to desktops
How do I get an app to stick in a desktop. I have the mission control desktop and then desktops 1 through 7. I have them all opening up various applicaitons, but even though I move the app to the desktop I want, and I shut down with the app open in t
-
Converting Recovery Partition to logical - Is it logical?!
Hello everybody, My new dv6-6070se with win7 64bit has 4 primary partitions. As a result I can't create new partitions. But if I delete or convert one of them to logical, then It will be possible to create new partitions. I have already made a set of
-
Have downloaded three times. Each time download completes and receive generic "error message". Appears download won't run. Have 4gb memory and plenty of hard drive space. Running OS Lion.
-
BC Partner site not appearing in DW CC
I am a BC partner, and when I use DW CC to edit my sites I can't see my free partner site. When I go to the list of my BC sites, the list is empty. Can I use DW CC to edit my partner site? Nick
-
Aperture 1.1.1 out..
Aperture 1.1.1 Update addresses several issues related to performance, stability, color correction, and display compatibility. This update is recommended for all Aperture users. Note: You must first update to Aperture 1.1 and Mac OS X 10.4.6 or later