How to set time on cluster nodes
We have setup of two cluster node. Both having the same time runing . Now i have to change this time to 15-20 mnts. backward on both nodes. I want to know whether online with date command can set the date on indivisual nodes or any precautions need to take ?
Thanks in advance
sanjay
use ntp: network time protocol. set up ntpd correctly to get time from external ntp server that is open to the public, or a ntp pool
Similar Messages
-
Where can I find a video that tells me how to set time on photos to 1 second each?
where can I find a video that tells me how to set time on photos to 1 second each? Where can I find a video that tells me how to add black space to the sides of all photos so that they display completely instead of only showing the center (which shows peoples' crotches but cuts off their heads- great huh?)? Would like to import whole folders of photos, set each to 1 second, have each display completely without distorting to fill. and "play" the timeline as I build it so that I can see if its working before putting in 2000 pics?
Hello Cain,
You can see the Domestic Outbound Scenario (DOT) for how to use incompatibility scenario.
You can find the Customizing guides at SAP Support Poratl.
Regards
Nitesh -
In Forms, how to set time to control editng?
hi guys, Im doing a data entry module.This module used to encode our daily transactions. Sometimes, there are editing/updating of data that happen everyday. My problem is that, i want to control this editng everday to lessen some data problem. My question is how to set time in an oracle forms to control this everyday editing or updating. I want to their editing/updating allow only during the date they encode that particular transactions.
Can anybody help me solve this problem. Thank you!
LalaDo you want to get the current date?
You can use SYSDATE for that (getting the database-date) or SYSTEM.CURRENT_DATETIME (getting the OS-date) -
How to set time zone for a session in Client Only installation
Environment:
OS : Unix (HP-UX 11.0)
Oracle DB : Ver 8.0.5
Developer : Ver 1.6 ( Client only Installation)
Developer also on Unix.
RDBMS and Developer Installed on different
home directories.
Our development is Forms 4.5 on X windows.
Runtime is forms character mode.
Probelm Description:
To run the application I am using TWO_TASK to connect to the database. In our application we have to take care of time zones. For that in previous versions(NO TWO_TASK used) I used TZ unix environment variable, to get time zone dependent time wherever sysdate is used.
Now because I am using TWO_TASK, oracle is no more using users TZ settings.
Question : Is there any way I can make oracle to use the TZ environment settingThanks for replying Johnny!
What you are referring to is adding a city. I need to know how to set the time zone in settings -> Date & Time -> Timezone. Unless & untill this is set properly the iPod will never show me the right time. Please help me with it.
I will definately use your advice on the second query.
Thanks once again!
Windows XP Pro -
How to set time in calendar?
Hi all,
is possible set time in a calendar component in WVP with JSF1.2?
i.e '10-12-2007 12:30'.
any free component that do this?
thank's in advance!No, I store ok and retrieve from DB.
But in DB I have a datetime field in Mysql and I need to store the data in this way DATE 01-10-07 and time 10:15 pm.
I need a component to do this. I don't believe that nobody had this situation.
I need like the swing component JCALENDAR http://www.toedter.com/en/jcalendar/
in JCAlendar you can set a dateformatpattern like dd/MM/yyyy HH:mm
how is possible to do this, I think that 2 textfields, one to hours other to minutes is a poor solution.
Thank's -
How to set one row or node 's height in the jtree?
How to set height of one row or node in the jtree?
I found the method :jTree.setRowHeight(height);.
But I want to set height of one row ,not all rows of a jtree.
Thanks for help!Who can help me?
-
How to set timer intervals for object + and a motion for entering stage
Hi, I am making a simple game but I have a couple problems/queries.
1) My game is a touch an object and you get a point game, currently the objects appear randomly over the screen, however I am trying to get it to slide into the screen similar to the Fruit Ninja game, but not limited to entering from one side, does anyone know how to set this?
2) As I mentioned above my objects appear randomly, I have set a timer when I change the timer from 800 to another number, it just makes all the objects on the screen last for 800 milliseconds all at the same time then disappear and appear somewhere else on the screen for another 800 milliseconds and it repeats, what I am trying to do is make them come at different intervals, for example:
Object 1 - constantly appears, so when the 800 millisecond is over, it comes back on a different part of the stage
Object 2 - I want it to appear every 5 seconds, so when the 800 millisecond is over it will come back on the stage in 5 seconds, but not instantly like Object 1
But I have no idea how to do this :/ anyone have the code needed for me to do this?
Sorry for the long questions, I only asked because I really am stuck, I have been trying to do this for over 2 weeks now.
Thanks very much.
My Code
[Code]
//importing tween classes
import fl.transitions.easing.*;
import fl.transitions.Tween;
import flash.utils.Timer;
//hiding the cursor
Mouse.hide();
var count:Number = 60;
var myTimer:Timer = new Timer(1000,count);
myTimer.addEventListener(TimerEvent.TIMER, countdown);
myTimer.start();
function countdown(event:TimerEvent):void {
myText_txt.text = String((count)-myTimer.currentCount);
if(myText_txt.text == "0"){
gotoAndStop(5)
//creating a new Star instance;
var star:Star = new Star();
var box:Box = new Box();
var bomb:Bomb = new Bomb();
//creating the timer
var timer:Timer = new Timer(800);
var timerbox:Timer = new Timer(850);
var timerbomb:Timer = new Timer(1000);
//we create variables for random X and Y positions
var randomX:Number;
var randomY:Number;
//variable for the alpha tween effect
var tween:Tween;
//we check if a star instance is already added to the stage
var starAdded:Boolean = false;
var boxAdded:Boolean = false;
var bombAdded:Boolean = false;
//we count the points
var points:int = 0;
//adding event handler to the timer;
timer.addEventListener(TimerEvent.TIMER, timerHandler);
//starting the timer;
timer.start();
function timerHandler(e:TimerEvent):void
//first we need to remove the star from the stage if already added
if (starAdded)
removeChild(star);
if (boxAdded)
removeChild(box);
if (bombAdded)
removeChild(bomb);
//positioning the star on a random position
randomX = Math.random() * 800;
randomY = Math.random() * 1280;
star.x = randomX;
star.y = randomY;
star.rotation = Math.random() * 360;
box.x = Math.random() * stage.stageWidth;
box.y = Math.random() * stage.stageHeight;
box.rotation = Math.random() * 360;
bomb.x = Math.random() * stage.stageWidth;
bomb.y = Math.random() * stage.stageHeight;
bomb.rotation = Math.random() * 360;
//adding the star to the stage
addChild(star);
addChild(box);
addChild(bomb);
//changing our boolean value to true
starAdded = true;
boxAdded = true;
bombAdded = true;
//adding a mouse click handler to the star
star.addEventListener(MouseEvent.CLICK, clickHandler);
box.addEventListener(MouseEvent.CLICK, clickHandlerr);
bomb.addEventListener(MouseEvent.CLICK, clickHandlerrr);
function clickHandlerr(e:Event):void
//when we click/shoot a star we increment the points
points += 5;
//showing the result in the text field
points_txt.text = points.toString();
if (boxAdded)
removeChild(box);
boxAdded = false;
function clickHandler(e:Event):void
//when we click/shoot a star we increment the points
points++;
//showing the result in the text field
points_txt.text = points.toString();
if (starAdded)
removeChild(star);
starAdded = false;
function clickHandlerrr(e:Event):void
gotoAndPlay(5);
[/Code]The only thing that affects TopLink is the increment by, as increasing this is what allows TopLink to reduce the number of times it needs to go to the database to get additional numbers. Ie, an increment value of 1 means TopLink needs to go the database after each insert; an increment value of 50 allows it to insert 50 times before having to get a value from the sequence. The cache on the sequence object in the database affect the database access times. While it may improve the access times when the sequence number is obtained from the database, but I believe the network access to obtain the sequence is the greater concern and slow down for most applications. It all depends on the application usage and design though - an increment (and application cache) of 50 numbers seems to be the best default.
I cannot say what effect the cache vs nocache settings will have on your application, as it will depend on the database load. Only performance testing and tuning will truly be able to tell you whats best for your application.
Best Regards,
Chris -
How to set the default tree node in JTree?
I want to set a default tree node in JTree when start the program,
what is the method or the function to call?
Thanks~If you by "default" mean "selected", then you can use one of the setSelectionXXX methods in the JTree API.
If you by "default" mean something else, never mind this post :-) -
HT1178 how to set time capsule on new network
I had a time capsule set up on a wireless network. The network changed modems and I forgot to change the time capsule. Now it will not register on the new network. How do I get it to register.
Do a factory reset.
-
How to set time delay in javascript for indesign cs2?
while am running the js, am using function date.getMonth, date.getDate()...
this function produce the error, which return the function as error message,
if i set alert before running this every time , am not getting the errror
how to solve this?
thanks in advance
subhaDear Subhaoviya
Please use the below coding and get your date and Time functions
var today = new Date();
var myDate = today.getDate();
Thanks & Regards
T.R.Harihara SudhaN -
How to set time out in the abap program?
Hi,
I want to set the execution time in the IN_UPDATE block of a BADI, could you tell me how to code that?
When the specified execution time reaches, and the badi is still running, then pop up a window and tell the end user the time out message.
Does SAP have any function regarding this? Thanks in advance.You can have the INPUT be a number of seconds, then calculate the max endtime = SY-UZEIT + INPUT. Have checks throughout the program that returns an error as OUTPUT if exittime >= SY-UZEIT(current time).
There may be an easier way but this is all I can think of as a user set timeout option. -
How to Set Time Period for KM Scheduler
Hi ,
I have created one Par based application in which i have assigned one role to perticular id dynamically and i scheduled this task by using KM Scheduler. but this scheduler assigns this task for 1 mins or greater than 1 hrs. i wanted to run this task for every 10 mins or 20mins or 30 mins. actually i tried to edit the time table property for KM Scheduler for 10 mins but it not works it take 1 hrs and 10 mins.
so is there any way to edit this time table property and set scheduler time to 10 mins or 20 mins.
Kind Regards,
RahulHi Rahul,
If you want to run the scheduler for every 10 minutes, you can create your own timetable and assign it in the scheduler tasks.
Steps:
Goto Sytem Admin -> System Config -> Knowledge Management -> Content Management -> Global Services -> Scheduler Time Table -> Time Table -> Click on New
You can find Scheduler Time Table in advanced options.
Specify the vales as mentioned below and save it:
ID: <any ID as you want>
Minute : 10
Time Zone : GMT+05:30 (Asia/Calcutta) India Standard Time
For other parameters, no need to specify any value.
Then go to Global Services -> Scheduler Tasks -> Your Scheduler Component -> Select the new timetable you have created for timetable parameter and click OK
I have specified timezone as IST time. You can change the time zone as you require.I have done this and its working for me.
Hope this helps.
PS:Reward points for useful answers
Regards,
Yoga
Edited by: Yogalakshmi on Feb 27, 2008 6:14 AM -
How to set time capsule as a device in finder
Im trying to download some video and photos from my time cpsule. the problem is that I dont see it as a device in finder. I mnaged somehow to see it once and then i upload some photos but now I can not view them. I can do backup without any problem. I just need to find out how to get it as a device in finder.
You will not see the Time Capsule as a Device in the Finder.
Open Finder or Macintosh HD and look for the Time Capsule icon under the SHARED heading on the left side of the window.
Click on the Time Capsule icon and a folder representing the Time Capsule disk will appear to the right.
Double click the folder to mount the Time Capsule drive on the desktop. You can drag/drop or copy/paste to the drive. -
How to set property for Cluster Environment for JMS Adapter
Hi All,
I am moving from DEV to Prod environment which is cluster.
Can you Please explain me what property I need to Set for Cluster Environment for JMS Adapter, so that I could avoid race condition for Dequeue/enqueue.
I am using soa suite 10.1..3.4
Thanks in Advance.
Edited by: vikky123 on Jul 12, 2010 7:03 AMput something like this
<activationAgents>
<activationAgent className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent" partnerLink="PARNERLINKNAME">
<property name="clusterGroupId">SOMEUNIQUEVALUE</property>
<property name="portType">PARTNERLINK_PORTTYPE</property>
</activationAgent>
</activationAgents> -
How to set value to Model Node of cardinality 0..N
hi
I am looking for a way to set value to a model node of cardinality 0..N
i imported a WSDL into my applicaion , which has the following Node Structure.
Context
--- ModelNode_Request
---ModelNode2_Input
---ModleNode3_Roles [ cardinality 0..n singleton 1..1]
****Model_Attribute RoleID <<<<<<<<<<<<
****Model_Attribute SysID <<<<<<<<<<<<
---ModelNode_Response
i tried with the below code but effort went in vain.
i tried following ways to set the value but , i get Nullpointer expection error.
wdContext.nodeRequest__SubmitRequest().nodeRequestDetails().nodeRoles().
currentRolesElement().setRoleId("BASIC");
wdContext.nodeRequest__SubmitRequest().nodeRequestDetails().nodeRoles().
currentRolesElement().setSysId("R3_220");
i aslo looked into the forum https://www.sdn.sap.com/irj/scn/thread?messageID=2035342 but couldnt find any solid solution.
It would be great if some one can throw some snippets on the same.
Thanks
Edited by: RR on Dec 22, 2008 5:48 PMHi RR,
As far as i know u can set model nodes and values nodes are different. whats shown in the link is for values node. u should do differently for model node..
Since this is a model node...u first need to create an object of the node type. then create an arraylist for that and then add values..
try this..
// Create an object for structures in the node to be used
Yweb_Po_Items objPOItems = null; // where Yweb_Po_Items is the structure of the node...
// Create an abstractlist for structures in the RFC node to be used, if u are planning to give single or multiple rows (in node/table) as input to the RFC
AbstractList POObjAbsList = new Yweb_Po_Items.Yweb_Po_Items_List();
objPOItems = new Yweb_Po_Items();
// /set first set of values
objPOItems.setColumn1(u201Cabcu201D); // here hard codede for example
objPOItems.setColumn2(u201Cabcfghu201D);
// add the object to the abstract list
POObjAbsList.add(objPOItems);
// /set second set of values
objPOItems.setColumn1(u201Cnewabcu201D);
objPOItems.setColumn2(u201Cnewabcfghu201D);
// add the object to the abstract list again
POObjAbsList.add(objPOItems); // now u got 2 records
// now set the abstractlist to the node in the RFC
objGoodsReceiptPO.setPo_Items_In(POObjAbsList);
Hope this information is useful...
Thanks
Md. Yusuf
Maybe you are looking for
-
ThinkPad Updates Annoying :S
hi i have several questions about Updates about my machine - ThinkPad Edge 13 - 0196-2zg 1. in the lenovo site downloads drivers link , when i write my type number and operations system choice i see the list of drivers but there are many and also so
-
I forget my security answer can you help me?
I forget my security answer can you help me?
-
Jump to search term in a query output...
Hi, I have the results of a query outputted in a table. Depending on the user, this can be a longish query - maybe 100+ results. All these results have a checkbox next to them. The user checks the records they need to select, then submits the form to
-
Since updating to Firefox 4.0.1. many people report being unable to open folders in their Eircom Webmail. There are two versions of Eircom Webmail-Basic and Advanced- and the problem only occurs in Advanced version. When clicking on folder it 'greys
-
I am trying to execute this sentence : SELECT PERNR BEGDA ZZCPRENDA ZZDPRENDA ZZTPRENDA ZZPROV from ZPREN_EMP_FUNC into (wa_entr-n_pers,