Set resource attribute with srvctl instead of crsctl ?
Hello,
We're in 11gR2, Grid Infrastructure.
CMOS note 790189.1 states that "using crs_* or crsctl commands on resources with the prefix ora.* (resources provided
by Oracle) remains unsupported".
So do you think there's a way to modify the AUTO_START attribute of a cluster resource through the use of srvctl instead
of crsctl ?
(I found no "srvctl modify resource" option likely to do this trick...)
Thanks.
Seb
Is your end goal to stop the service from starting automatically? If so, then use srvctl disable service. You will have to enable it before it can be started.
Cheers,
Brian
Similar Messages
-
Issue Setting Resource Attributes via Workflow Process
I'm currently trying to set resource attributes via a workflow process, but for whatever reason the attribute is not detected as "changed" and the update object has nothing about the attribute. I'm wondering if I'm just doing something wrong with the way I'm setting it, or if I'm missing a piece to apply the upate.
What I'm doing is...
1. Checking out the user view
2. updating the attribute via code something like this...
<set name='user.accounts[ldap].attributeIWantToChange'>
Logic in here
</set>
3. then I'm checking the view back in.
Anyone know why this isn't working(I can set other attributes like waveset.roles fine this way)?
Edited by: UNO-AD-HM on Jul 6, 2009 12:54 PMFigured it out, have to load a different form in when I check the view out, the tabbed user's form will not update resource attributes.
-
Setting camera attributes with the PCI-1405
I have the PCI-1405 Imaq card. I was wondering how I set camera attributes like gain and exposure time. Every time I try to use the set camera attribute VI I get an error message saying the attribute is not valid.
khsay--
Installing the driver will allow the framegrabber (1405) to communicate with the computer. I want to verify that you are using Measurement and Automation Explorer (MAX) to test the sanp/grab features of your camera. This will allow you to directly interact with the hardware.
If you are, and this is where you are getting the extract image error. First double-check that you know what kind of communication standard the camera uses (for instance, CCIR or RS170) and make sure that this is selected in MAX.
The camera might not be using a known standard, in which case you will need a camera file that tells the computer and framegrabber how to interpret the camera's information and signal. You can look in MAX and see if the camera is listed, if it is the camera file is If not, you can try going to www.ni.com/camera and see if you can get a camera file there. If not you will need to try contacting the manufacturer to see if they have one, and if not you will need to create one using the camera file generator from the ni.com/camera.
Just let us know if this information helped to solve the issue and if not reply back so that we can help. Also, in the future if you have a new issue you might consider posting in a new thread.
Regards,
John H.
Applications Engineer
National Instruments -
How to correctly set puppet attributes with AppD?
Hello,
I'm trying to add a value to a puppet attribute within AppD. The value is an array and should look something like this ['ntp1.testlab.local'] for puppet to work. The problem is after AppD processes it, it ends up looking like this '["ntp1.testlab.local"]' in the node's manifest, which doesn't work. I've tried several variations with no joy. Can anyone please show me how to correctly set puppet variables within AppD?
From the node manifest created by AppD:
[root@ar-syslog-tlab-01 appd_nodes]# grep "Puppet_ntp_v3_1_2_servers =" /etc/puppetlabs/puppet/manifests/appd_nodes/CentOS-LON4FRQT.pp
$Puppet_ntp_v3_1_2_servers = '["ntp1.testab.local"]'
From stdout and stderr log available on VM at /tmp/25/CG_Puppet_ntp_v3.1.2_AI-REMEDIATE_NODE/task.stdlog.
- !ruby/object:Puppet::Util::Log
level: !ruby/sym err
tags:
- err
message: "Could not retrieve catalog from remote server: Error 400 on SERVER: Could not parse for environment production: Syntax error at '['; expected ']' at /etc/puppetlabs/puppet/manifests/appd_nodes/CentOS-IEU4RJWH.pp:17 on node centos-lon4frqt"
source: Puppet
If I edit the node's manifest to read
$Puppet_ntp_v3_1_2_servers = [ 'ntp1.testab.local' ]
it works fine.
Any tips would be greatly appreciated.
Thanks.If it is a bug, you maybe have a workaround by adding a script task in the execution plan the Blueprint as the first task to edit /etc/puppetlabs/puppet/manifests/appd_nodes/CentOS-LON4FRQT.pp to modify the value of $Puppet_ntp_v3_1_2_servers, and then the rest tasks will get the correct value format for $Puppet_ntp_v3_1_2_servers.
-
Unable set session attribute with certain types.
Hello I was surprise that when I execute HttpSession.setAttribute("somekey", new HashMap()), "somekey" will not be stored in the Session. I can replace HashMap with HashSet and it's okay.
Out of curiosity, I create a Java class like below :
public class abc implements Serializable {
public String def = "def";
And I have the same issue with HashMap and it will not get stored in the Session attribute. Does anyone know what kind of valid object and what makes the object storable into the Session's attribute? Any inputs are appreciated. Thanks.
yienActually never mind. It have something to do with BEA's Portal Ad services. I will post this into the appropriate forum.
-
Trying to set dynamic attribute with Image URI
vo.getCurrentRow().setAttribute("XXStatusLightAttr",<Img Src="/OA_MEDIA/green_circle.gif"/>)
is not working >please Suggest
Whats wrong in this
if(!vo.isPreparedForExecution()){
vo.executeQuery();
if (vo != null)
vo.addDynamicAttribute("XXStatusLightAttr"); //Adding ViewAttribute to VO
vo.reset();
vo.next();
//Starting do-while for setting value in all the table row...
do
String str=vo.findAttributeDef("XXStatusLightAttr").toString();
System.out.println(str);
vo.getCurrentRow().setAttribute("XXStatusLightAttr",<Img Src="/OA_MEDIA/green_circle.gif"/>);
vo.next();
while (vo.hasNext());
vo.first();
Please SuggestThe button calls a procedure which can take several minutes to complete. It calculates and stores values for display. I'd like to open up a modal window so that the user has more concrete feedback that the calculation process is underway. I'd also like to tie it to the refresh of a particular region on the page that shows a list of the stored calculations.
-
Code for set the attribute with sysdate
OADBTransactionImpl oadbtr= (OADBTransactionImpl)oapagecontext.getRootApplicationModule().getOADBTransaction();
Date sysdate = oadbtr.getCurrentDBDate();
// vo.getCurrentRow().setAttribute("Attribute11",sysdate);
OAViewObject oaviewobject = (OAViewObject)oapagecontext.getApplicationModule(oawebbean).findViewObject("CashAndOtherLinesVO");
oaviewobject.reset();
OARow oarow = (OARow)oaviewobject.next();
while(oaviewobject.hasNext())
oarow.setAttribute("Attribute11",sysdate);
}Prakashjava wrote:
Hi Friends,
Happy to get back. I need a valid sample code to display the menu bar with menu items in a JSP page with struts.Then what you need is a Google search. -
Limit User View To Not Include Resource Attributes
Although I've created custom workflow and forms I'm still unclear on what exactly initiates the loading of views when starting for example the Tabbed User Form. Can you control what gets loaded into the view, specifically not load resource attributes?
We currently have approximately 700 resources and growing. This significantly lengthens the load time of the Tabbed User Form because Identity Manager connects to several hundred resources. We normally do not edit resource attributes directly but instead set them using globals or role attributes. This latency also has an affect throughout the tool, for example end-users requesting roles requires the Tabbed User Form to load.
Ideally the view would only load the waveset and globals values and only connect to the necessary resources upon saving the view.
Any ideas or further explanation on what controls the view attributes would be greatly appreciated.Dynamic Tabbed User Form will not help here as the resource attributes are loaded anyway, regardless whether the form displays it or not.
The problem is the user view itself that checks every linked resource. I don't think you can limit the view by providing some arguments. You would have to create your own view along with the necessary handlers for checkout and checkin. -
How can i set "Createdby" attribute When using Custom JheadStart Security
Hello
We do not use JASS for Authentication , please help us how can i set createtby attributes with jhs.username in application for any entity object?
thanksSee a similar question at History Attributes when using Custom Authentication Type
-
IDM8 resource attribute.
Dear Experts,
I am using IDM8 and created a AD resource with resource attribute like
"Exchange Server" . I want to create a select box for this resource
attribute. I know that i can create a field with "Display Class: Select"
in Tabbed User Form > MainTabs > FMATTRIBUTES.
However, this select box will be display in attribute tab when user creation, no matter AD roles assigned or not.
Question: How to make this resource attribute with select box available when user assigned AD role.?
Thanks,
AngusHi Angus,
Try the following
<Field....
<Disable>
<and>
<eq>
<length>
<ref>user.update.accounts[Lighthouse].changes[roles].new</ref>
</length>
<i>0</i>
</eq>
<eq>
<length>
<ref>user.update.accounts[Lighthouse].changes[roles].old</ref>
</length>
<i>0</i>
</eq>
</and>
</Disable>
</Field> -
Problem with setting custom attribute and it being searchable
I'm having an issue with setting a custom attribute and having it be searchable using Portal 10.1.4. The situation that we have is that we initially added a bunch of files to Oracle Portal using webdrive. Later on, we decided that we needed another custom attribute called "Pinned Item" that will be used for searching (boolean value) and gave it a default value of false. The attribute was then added to the "File" item type in the "Shared Objects" group.
It appears that since this attribute wasn't initially available on the file object, we couldn't search on it so we decided to set it programatically. First, I tried using wwsbr.set_attribute but it errored out seemingly because the value wasn't set in the first place. If I set a value first by using the web front end, I could then use the set_attribute procedure.
So, I moved on to using wwsbr_api.modify_item and it appears to set it (although everything is being set to false until I changed it to "text" instead of "boolean" which is OK because that's what I wanted anyway... see metalink bug 390618.1). I'm using the method outlined in metalink doc 413079.1. When I do set it to a "1", and edit the item the check box is checked indicating that it is set correctly. And if I just click "OK" to save the attributes after I open it everything works like it should.
However, the advanced search (and custom search portlet) and the search APIs are not picking it up. I'm not sure if I'm hitting Metalink bug ID 5592472 or not as that's using the "set_attribute" procedure instead of the modify_item procedure. And their "workaround" of setting the attribute in the UI isn't really feasible for a couple thousand files.
So far I've tried the following things to get it working:
1. I am calling wwpro_api_invalidation.execute_cache_invalidation
2. I have executed wwv_context.sync
3. I cleared the page group cache
4. I invalidated all of the web cache
Does anyone else have any other suggestions?I'm having an issue with setting a custom attribute and having it be searchable using Portal 10.1.4. The situation that we have is that we initially added a bunch of files to Oracle Portal using webdrive. Later on, we decided that we needed another custom attribute called "Pinned Item" that will be used for searching (boolean value) and gave it a default value of false. The attribute was then added to the "File" item type in the "Shared Objects" group.
It appears that since this attribute wasn't initially available on the file object, we couldn't search on it so we decided to set it programatically. First, I tried using wwsbr.set_attribute but it errored out seemingly because the value wasn't set in the first place. If I set a value first by using the web front end, I could then use the set_attribute procedure.
So, I moved on to using wwsbr_api.modify_item and it appears to set it (although everything is being set to false until I changed it to "text" instead of "boolean" which is OK because that's what I wanted anyway... see metalink bug 390618.1). I'm using the method outlined in metalink doc 413079.1. When I do set it to a "1", and edit the item the check box is checked indicating that it is set correctly. And if I just click "OK" to save the attributes after I open it everything works like it should.
However, the advanced search (and custom search portlet) and the search APIs are not picking it up. I'm not sure if I'm hitting Metalink bug ID 5592472 or not as that's using the "set_attribute" procedure instead of the modify_item procedure. And their "workaround" of setting the attribute in the UI isn't really feasible for a couple thousand files.
So far I've tried the following things to get it working:
1. I am calling wwpro_api_invalidation.execute_cache_invalidation
2. I have executed wwv_context.sync
3. I cleared the page group cache
4. I invalidated all of the web cache
Does anyone else have any other suggestions? -
How do I get and set column attributes in a table or a treetable with Java?
Using 11.1.1.4.0
Hi,
How do I get and set column attributes in a table or a treetable with Java? For a simple example, say I have a table and want certain roles to see all columns (including address), and other roles can see only certain columns (no address). In a Java method, I want to test if a table's column visible attribute is true and if so, set it to false before rendering it.
Thanks in advance,
TroyHi,
this use case would be a perfect example for using seeded MDS customization. Instead of checking what users are allowed to see or not upon rendering time, you have a customization class and thus the framework doing this for you.
http://www.oracle.com/technetwork/developer-tools/adf/learnmore/31-mds-sample-169173.pdf
In this paper and sample, specific users see different layouts. It also contains a customization class that shows how this can leverage ADF Security
Frank -
Resource Rooms replying with tentative instead of accepting - Exchange 2013
We setup new resource rooms in Exchange 2013, but they are replying with tentative instead of accepting. Here are the settings to one of them:
RunspaceId : e360afe4-859c-4cd1-ba2e-4efb13350e3b
AutomateProcessing : AutoUpdate
AllowConflicts : False
BookingWindowInDays : 180
MaximumDurationInMinutes : 1440
AllowRecurringMeetings : True
EnforceSchedulingHorizon : True
ScheduleOnlyDuringWorkHours : False
ConflictPercentageAllowed : 0
MaximumConflictInstances : 0
ForwardRequestsToDelegates : True
DeleteAttachments : True
DeleteComments : True
RemovePrivateProperty : True
DeleteSubject : True
AddOrganizerToSubject : True
DeleteNonCalendarItems : True
TentativePendingApproval : True
EnableResponseDetails : True
OrganizerInfo : True
ResourceDelegates : {}
RequestOutOfPolicy : {}
AllRequestOutOfPolicy : False
BookInPolicy : {}
AllBookInPolicy : True
RequestInPolicy : {}
AllRequestInPolicy : False
AddAdditionalResponse : False
AdditionalResponse :
RemoveOldMeetingMessages : True
AddNewRequestsTentatively : True
ProcessExternalMeetingMessages : False
RemoveForwardedMeetingNotifications : False
MailboxOwnerId : domain.local/Users/Room - Boardroom
Identity : domain.local/Users/Room - Boardroom
IsValid : True
ObjectState : Changed
Any ideas?
Thanks!
--Kenthttp://technet.microsoft.com/en-us/library/dd335046(v=exchg.150).aspx
Please change automateprocessing value to autoaccept
Set-CalendarProcessing -Identity "5th Floor Conference Room" -AutomateProcessing AutoAccept -
Roles Setting and Removing Resource Attributes
Hello All,
I have a quick question (Which I hope has a quick answer). I am trying to set up a role, so that when it is assigned to a user, sets an attribute value on an LDAP resource. Then, when the role is removed from the user, the attribute value is cleared. When setting up the role, I specified the resource as assigned, and then set the attribute. When I set the role on a user, it is successfully setting the value in the attribute. When I remove the role from the user, it is not removing the value in the attribute. Is there an easy way to do this?
Thanks!Hi,
When setting the RoleAttribute you need to set "Authoritive Set to Value, Clear Existing", then when the Role is removed from the user the attribute value is deprovisioned. Unfortunately this also has the affect of removing any other value that the attribute may have (especially true since many LDAP attributes are multi-valued).
HTH,
Paul Walker -
Custom resource/attribute not visible in FIM portal for non-admins
hi all
I have a problem I am not able to solve and hope somebody can help. We have created an custom Resource in the FIM portal called Customer. It is an User Resource Type and attribute type customer, data type=reference.
We have made this attribute visible in the Users Properties by editing the RCDC for Configuration for User Creation, Configuration for User Editing and Configuration for User Viewing. It is now visible for alle users in the FIM Portal.
But when an non-admin searches for an attribute in that Field, nothing shows up.... only member of the administrator set, are able to display the results.
I have added the Resource to Filter permission - Administrator Filter permission + non-administrator filter permission.
I have added the Resource to MPR - General: Users can read non-administrative configuration resources?
Can anyone help?
Best regards Andre
AndreHi,
To be clear,
You have create one new resource type 'Customer' and one attribute 'Customer' (Reference, binded to Person object)
Update RCDC for Person (create/edit/view) to add a picker attribute with those parameters
UsageKeywords: This is an optional string property. You can define a list of search scopes to be used in the Resource Picker by providing a list of the usage keywords that are supported by the SearchScopeConfiguration structure, where each keyword is separated by a (‘).
ResultObjectType: This is an optional string property. The resource type is used to render resources in the pop-up dialog-box list. This is used with the Filter to help the Identity Picker identify what resource type is returned by the Filter, and render the data accordingly. This property is mutually exclusive with the UsageKeywords property (see above). When the search scope is applied, this has no effect. The string that is accepted for this property is any single, valid, resource-type name, for example, Person. When the filter is expected to return multiple resource types, Resource is used.
Modify MPR "User management: Users can read attributes of their own" and "User management: Users can read selected attributes of other users" to add this new attribute
Create a new MPR to give the right of all users to view new resource 'Customer' on all attributes
Is that right?
Regards,
Sylvain
Maybe you are looking for
-
Using Bash script to edit config file
This is a really simple question, but given that I'm just learning Bash scripting and having this solved now would be really illustrative for me, I would really thank some help here. I'm using uzbl, and running Tor+Polipo. So, as you will see below i
-
why is there a third opening next to the phone speaker (besides the camera) on the white iPhone 5 but not on the black version
-
File sharing reports too many users connected
SPECS: Mac Mini Core 2 Duo 2 GHz, 2G RAM, Mac OS X 10.6.4. Other users in office also running similar hardware and Mac OS X 10.6.4. CLARIFICATION: This Mini is used as a file server in a small law office (4 other workstations). It is running Mac OS X
-
Yesterday my belowed N95 passed away... Time to move on and get me another phone. What can you people recommend? GPS, WLAN, deacent camera, good music, 3G, big screen... Solved! Go to Solution.
-
Hello, Is there any SQL function in order to separate the data by identifier ? Like this : A/B/C in this sentence, I used the â/â as an identifier. Results : A B C I have to separate the data by using the identifier. Help pleaseâ¦. Thanks in adv