Clone Application Server
Hi All
There is an application server and oracle database on same server in same drive in diffrent folder.I wanna clone this structure to diffrent server for test purpose.
I have read http://oraclelon1.oracle.com/docs/cd/B25221_04/core.1013/b25209/cloning.htm
but I didnt understand exactly. do I need install oracle application server and database software into other machine ? paths must equal ? and What is your suggestions ?
Best Regards..
I think this sentence from chapter 9.1 says it all:
"Cloning enables you to create a new installation with all patches applied to it in a single step. This is in contrast to separately installing, configuring and applying any patches to Oracle Application Server."
Similar Messages
-
10G Application Server Clone.
Hi Hussein,
I am trying to clone application server and I would like to change the ports, its like cloning the 10gAS, could you let me know any document on 10g AS clone.
Regarards,
Satya.Hi Hussein,
As part of upgrade I created an exact copy as PORD application server and I dont have any issues with the database server, but i cant bringup the middle tier services as the config files has the same port number as PROD which will conflict, now I want to change the middle tier ports, kindly let me know what is the procedure and if I change the middly tier ports do I need to do any changed at DB tier
Regards,
Satya. -
Oracle Application Server 10g Cloning
Hi All,
Could anyone please advice on How we can create a cloned copy of 10g AS(including infra DB) for DR purpose.Any document or guideline will be highly appreciated.
Regards,Hi,
</p>
Please correct me if I am wrong, but I think cloning is fine to copy or clone a middle-tier instance. But for a copy of infrastructure DB one needs to use the chapter next to the referred one.
</p>
11 Staging a Test Environment from a Production Environment</p>
Oracle® Application Server Administrator's Guide <br>
10g Release 2 (10.1.2) <br>
B13995-06 <br>
</p>
The term cloning is commonly used for copying the systems but in Oracle AS, it is for copying the middle-tier instances only. That difference is often misleading.
</p>
hope that helps. <br>
syed -
Oracle Application Server 10g Cloning - Urgent
Hello All,
I have been given a new assignment which involves Oracle Applications server 10g, i am new to oracle application server and hoping that some one will please clarify my doubts.
i have to clone a production machine (Solaris 10) which has oracle AS 10g, this machine had oracle database 10g before and just the application server was installed on it, i have to clone a test environment for this machine, i have the following two doubts
1) Is it possible to just install Oracle Application server 10g on a machine which already contains oracle 10g database, if so then what about the database that gets installed when installing Oracle application server 10g.
2) How to clone the above production machine, should the oracle 10g database be cloned first and then oracle application server 10g cloned on the new machine?
Eagerly waiting for a replyuser12077492 wrote:
i have to clone a production machine (Solaris 10) which has oracle AS 10g, this machine had oracle database 10g before and just the application server was installed on it, i have to clone a test environment for this machine, i have the following two doubts
1) Is it possible to just install Oracle Application server 10g on a machine which already contains oracle 10g database, if so then what about the database that gets installed when installing Oracle application server 10g.
2) How to clone the above production machine, should the oracle 10g database be cloned first and then oracle application server 10g cloned on the new machine?1) Yes, it is possible. The DB that comes with OAS as the infrastructure DB for it (I presume you are installing a full OAS with infrastructure and midtier both) does not affect the DB you already have on your system ... obviously ... as long as you install them in their separate homes.
2) I always say, this term cloning is somewhat loosely used in general communication meaning making copies. In OAS context, Cloning works for middletiers only. You cannot clone an infrastructure.
To make a redundant/alternate environment for OAS, you can do the following:
- a) either use the same infra on machine 1, and install another midtier and register with the same infra.
- b) or install a separate infra on machine 2, and also a midtier registered with it.
Here for the first option a), Cloning can be used because you can (*only*) clone a middle-tier. There are pros and cons for this setup, including that you share the SSO, and OID, and hence users and groups bases, etc on those two environments - something that you may or may not want. But then there are also some way-outs to avoid them or minimize their effects too. Please see the following reference for cloning and search on Metalink for how to minimize effects, once you get better familiar with the processes.
Oracle® Application Server Administrator's Guide
10g Release 2 (10.1.2)
B13995-08
[10 Cloning Application Server Middle-Tier Instances|http://download-uk.oracle.com/docs/cd/B14099_19/core.1012/b13995/cloning.htm#BCGBDIDF]
For b), you will need to Stage a server as defined in this reference.
[11 Staging a Test Environment from a Production Environment|http://download-uk.oracle.com/docs/cd/B14099_19/core.1012/b13995/prodtest.htm]
There are some notes on Metalink which address issues about benefits or procedures of Cloning and Staging an environment too.
There are some other ways to export/transport your applications to another instance across DB. Please also read about them.
hope that helps!
AMN -
Oracle 9i Application Server installtion problem
hi,
I am instsalling Oracle 9i Application server 9.0.2 on Red Hat Linux 8.0 During installation , While
creating clone database i am getting an error
Create Controlfile failed.
After this when i open the file cloneDBcreation.log
in /home/admin/iasdb/create directory there i
can see the following error
Create control file failed
Error opening password file "/home/oracle/dbs/orapw"
Unable to obtained file status
Linux error 2 : no such file or directory.
moreover when i open the file customScripts.log in same directory i can see the message
Unable to open file "/home/oracle/assistants/dbca/admin/autoExtend.sql"
and there is no such file autoExtend.sql
after this i ignore all the errors of clone database creation and continued the installation.
Now while starting up the database i received an error
ora 7212 : sltln : Environment variable can not be
evaluated.
slcpu : times error,unable to get CPU time.
Pl help me. How should i proceed.
Thanks.
RajIf you are installing into Windows 2000, one workaround recommendation by Oracle for this problem is:
Install the latest Windows* 2000 Service Pack patch: http://www.microsoft.com/windows2000/downloads/
Create a temporary directory on your Intel Pentium® 4 processor server (e.g. \TEMP).
Copy the contents of the Oracle* Server CD to the temporary directory created in step 2.
Search the directory structure created in step 2 for the existence of the filename SYMCJIT.DLL.
Rename each copy of the SYMCJIT.DLL to SYMCJIT.OLD.
Run the SETUP.EXE from the \TEMP\install\win32 directory and install Oracle 8.1.x.
If you have any other questions on this work around, please contact Oracle. -
What to install to run reports through application server!
Dear All,
I have to run reports developed in Oracle 6i windows platform on web.
I have to install this application server on Linux operating system.
Kindly help me what components of application server 10gR2 I need to install to configure reports.
Is there any tutorial available?
Regards,ImranI am installing forms and reports services standalone on CentOS 5.Well, CentOS is not certified by Oracle, but it's a Red Hat clone, so you shouldn't have problems.
Nevertheless I have to say that I've never used it for Application Server (I normally use Oracle Linux).
is there any tutorial to install report services standalone on CentOS operating system?Follow the Linux Red Hat sections within above link. -
Application Server 10g r2 (Replication)
Hello All,
We are planning to migrate from single instance DB to RAC in a few days, As far as my DB server is concerned once oracle clusterware is installed and configured my DB should failover to next node in case of any failures, but how do i make sure Middle Tier including my Application files is also available in such cases, how do i replicate Application server including Application files ? Please see details as below :
Current setup :
Oracle Application Server 10g - 10.1.2.0.2
OS - Windows 2003 R2 Enterprise Edition (32 - bit)
Target Setup :
Oracle Application Server 10g - ?? What version should be needed for my target setup, please provide link if possible and does it support target OS.
OS - Windows 2008 R2 (64 - bit)
Please let me know if further information is needed with respect to above request .
Thanks
AliHi,
So this means to have a spare machine for middletier always. Or for my case i could just install OAS on both nodes (standalones at the moment) and then start with RAC setup, Iam not getting the order at all. We have two new servers with Win 2008 r2 64-bit for the target setup here is our current setup :
DB server on server 1 with win 2003 r2 32-bit
APPLICATION SERVER 10G on server 2 with 2003 r2 32-bit
Target setup has 2 new servers with OS installed and is expected as follows :
DB server with OAS on node1 with win 2008 r2 64-bit
DB server with OAS on node2 with win 2008 r2 64-bit
These nodes will be interconnected to achieve Oracle RAC setup. But how do i do all this. Is following sequence right :
a) Setup OAS on standalone server 1
b) Setup OAS on standalone server 2
c) Or clone a) to b)
d) Setup oracle cluster
e) install DB server and restore.
Thanks -
Application server on a XI system
Hi Guys
We have installed an Application server on a XI system. Now we have a serious problem.
Now I see in Visual Administrator 2 Dispatcher and 2 Server. Basically The App server created his own Server in Visual Administrator. My Server 0_0 runs on port 50004. My Server 0_2 runs on port 50204. The JCo`s and everything is the same on the 2 Servers. Basically Server 0_2 clone Server 0_0.
The problem we have is: The primary Dispatcher that Xi is using is the one of the App server. When Xi starts running the files it is specifically looking for port 50204.
Can anyone please tell me where I can change this? So that the primary port 50004 can be used?
Thanks in Regards
S.W.Problem solve
-
SuperDuper Clone of Server Won't work - Ideas?
I was going to move my existing 10.6.1 server install from one Mac Mini to a different one. With the existing server not running (only mounted as targetdisk mode/Firewire), I used Superduper to clone the working server to the new Mac Mini.
The new Mac Mini then starts up fine, however Open Directory is corrupted and all the accounts are missing.
Ideas as to why this isn't working? I've never had a direct clone not work before.davidh,
answers to your terminal questions (from the disk cloned from a non-running, working server):
myserver:~ admin$ ps auxw
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
root 352 0.7 0.1 2460760 3372 ?? Ss 9:14AM 0:03.83 /Applications/Utilities/Activity Monitor.app/Contents/MacOS/
admin 335 0.3 0.3 442476 9624 ?? S 9:14AM 0:01.24 /Applications/Utilities/Mail Forward/Mail Forward.app/Conten
admin 356 0.2 0.1 103648 1584 ?? Ss 9:15AM 0:01.04 /Applications/Utilities/Net Monitor.app/Contents/MacOS/netmo
admin 336 0.2 0.8 2849704 24540 ?? S 9:14AM 0:01.62 /Applications/Utilities/Activity Monitor.app/Contents/MacOS/
admin 340 0.2 0.4 393260 12544 ?? S 9:14AM 0:01.86 /Applications/Utilities/Net Monitor.app/Contents/MacOS/Net M
admin 294 0.1 1.1 2904332 34420 ?? S 9:14AM 0:00.96 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finde
admin 293 0.1 0.9 2882708 29868 ?? S 9:14AM 0:02.13 /System/Library/CoreServices/SystemUIServer.app/Contents/Mac
admin 1070 0.0 0.9 2873936 27468 ?? S 9:17AM 0:01.58 /Applications/Utilities/Terminal.app/Contents/MacOS/Terminal
root 896 0.0 0.2 2500548 6244 ?? SN 9:16AM 0:00.02 /usr/sbin/kextcache -F -system-prelinked-kernel
brianmccarthy 393 0.0 0.8 2579744 26312 ?? Ss 9:15AM 0:02.73 /System/Library/Frameworks/CoreServices.framework/Frameworks
admin 392 0.0 0.8 2580748 25132 ?? Ss 9:15AM 0:05.55 /System/Library/Frameworks/CoreServices.framework/Frameworks
_spotlight 391 0.0 0.3 2532036 10240 ?? Ss 9:15AM 0:01.54 /System/Library/Frameworks/CoreServices.framework/Frameworks
root 375 0.0 0.1 2470744 3264 ?? Ss 9:15AM 0:00.03 /usr/sbin/serialnumberd
_amavisd 358 0.0 0.2 2511596 5860 ?? S 9:15AM 0:00.01 amavisd (virgin child)
_amavisd 357 0.0 0.2 2511596 5704 ?? S 9:15AM 0:00.01 amavisd (virgin child)
root 354 0.0 0.1 2462912 4236 ?? Ss 9:14AM 0:00.03 /usr/sbin/ocspd
admin 351 0.0 0.2 2452464 7584 ?? S 9:14AM 0:00.05 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libra
_www 346 0.0 0.0 2539744 1172 ?? S 9:14AM 0:00.00 /usr/sbin/httpd -D FOREGROUND
root 342 0.0 0.0 2446832 788 ?? S 9:14AM 0:00.00 /usr/sbin/ntpd -c /private/etc/ntp-restrict.conf -n -g -p /v
admin 341 0.0 0.3 2548396 10356 ?? S 9:14AM 0:00.07 /Applications/iTunes.app/Contents/Resources/iTunesHelper.app
admin 334 0.0 0.4 2815728 13388 ?? S 9:14AM 0:00.07 /System/Library/CoreServices/RemoteManagement/AppleVNCServer
admin 333 0.0 1.5 2927636 47524 ?? S 9:14AM 0:01.60 /Applications/Server/Workgroup Manager.app/Contents/MacOS/Wo
admin 331 0.0 0.7 2874756 23392 ?? S 9:14AM 0:00.19 /Applications/Server/Server Admin.app/Contents/MacOS/Server
admin 329 0.0 0.2 2491720 5228 ?? S 9:14AM 0:00.03 /System/Library/CoreServices/CCacheServer.app/Contents/MacOS
admin 327 0.0 0.5 2829396 15260 ?? S 9:14AM 0:00.09 /System/Library/CoreServices/Menu Extras/TextInput.menu/Cont
admin 326 0.0 0.1 2445296 2212 ?? S 9:14AM 0:00.01 /usr/sbin/pboard
admin 322 0.0 0.2 2512636 6668 ?? S 9:14AM 0:00.03 /System/Library/CoreServices/AirPort Base Station Agent.app/
admin 317 0.0 0.3 2800184 10344 ?? S 9:14AM 0:00.07 /System/Library/CoreServices/RemoteManagement/ARDAgent.app/C
admin 315 0.0 0.5 2564680 15924 ?? S 9:14AM 0:00.27 /usr/libexec/UserEventAgent -l Aqua
_jabber 310 0.0 0.2 2482940 6764 ?? S 9:14AM 0:00.07 /usr/bin/resolver -c /etc/jabberd/resolver.xml
_jabber 309 0.0 0.1 2471832 3864 ?? S 9:14AM 0:00.04 /usr/libexec/mu-conference -c /etc/jabberd/muc-jcr.xml
_jabber 308 0.0 0.2 2483232 7016 ?? S 9:14AM 0:00.07 /usr/bin/c2s -c /etc/jabberd/c2s.xml
_jabber 307 0.0 0.2 2483752 7664 ?? S 9:14AM 0:00.11 /usr/bin/sm -c /etc/jabberd/sm.xml
_jabber 306 0.0 0.2 2470408 6036 ?? S 9:14AM 0:00.05 /usr/bin/router -c /etc/jabberd/router.xml
_jabber 305 0.0 0.2 2483148 6900 ?? S 9:14AM 0:00.07 /usr/bin/s2s -c /etc/jabberd/s2s.xml
_jabber 304 0.0 0.1 2441652 4368 ?? Ss 9:14AM 0:00.07 perl -w -x /usr/bin/jabberd
admin 303 0.0 0.2 2511740 7848 ?? S 9:14AM 0:00.16 /System/Library/Frameworks/ApplicationServices.framework/Fra
admin 292 0.0 0.9 2846548 29408 ?? S 9:14AM 0:02.81 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock
admin 286 0.0 0.0 2458692 1476 ?? Ss 9:14AM 0:00.08 /sbin/launchd
_coreaudiod 275 0.0 0.2 2493564 6632 ?? Ss 9:14AM 0:00.09 /usr/sbin/coreaudiod
_carddav 252 0.0 0.0 2437748 836 ?? S 9:14AM 0:00.02 memcached -p 11611 -l 127.0.0.1 -u _carddav -u _carddav
root 251 0.0 0.4 2452816 13360 ?? S 9:14AM 0:00.32 /usr/bin/python /usr/share/carddavd/bin/pydir.py /tmp/pydirs
_carddav 250 0.0 0.9 2475120 28128 ?? S 9:14AM 0:00.67 /usr/bin/python /usr/share/carddavd/bin/twistd -u _carddav -
_carddav 249 0.0 0.9 2475120 28128 ?? S 9:14AM 0:00.65 /usr/bin/python /usr/share/carddavd/bin/twistd -u _carddav -
_cvmsroot 195 0.0 0.4 2458420 13444 ?? S 9:14AM 0:00.60 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libra
_cvmsroot 193 0.0 0.0 2458640 1160 ?? Ss 9:14AM 0:00.01 /sbin/launchd
root 192 0.0 0.1 2448020 2248 ?? Ss 9:14AM 0:00.02 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libra
root 191 0.0 0.1 2465520 3840 ?? Ss 9:14AM 0:00.06 /usr/sbin/racoon
root 189 0.0 1.0 2478920 30736 ?? S 9:14AM 0:00.77 /usr/bin/python /usr/share/caldavd/bin/twistd -u calendar -g
root 188 0.0 1.0 2478920 30736 ?? S 9:14AM 0:00.77 /usr/bin/python /usr/share/caldavd/bin/twistd -u calendar -g
_calendar 187 0.0 0.0 2437748 836 ?? S 9:14AM 0:00.03 memcached -p 11211 -l 127.0.0.1 -U 0 -u calendar
_calendar 186 0.0 0.9 2487524 29664 ?? S 9:14AM 0:00.70 /usr/bin/python /usr/share/caldavd/bin/twistd -u calendar -g
root 185 0.0 1.0 2478920 30736 ?? S 9:14AM 0:00.77 /usr/bin/python /usr/share/caldavd/bin/twistd -u calendar -g
_calendar 184 0.0 1.0 2488148 30548 ?? S 9:14AM 0:00.72 /usr/bin/python /usr/share/caldavd/bin/twistd -u calendar -g
root 183 0.0 0.5 2461660 14284 ?? S 9:14AM 0:00.34 /usr/bin/python /usr/share/caldavd/bin/pydir.py /tmp/pydirS4
root 182 0.0 1.0 2478920 30736 ?? S 9:14AM 0:00.78 /usr/bin/python /usr/share/caldavd/bin/twistd -u calendar -g
root 181 0.0 0.9 2475892 27756 ?? S 9:14AM 0:00.74 /usr/bin/python /usr/share/caldavd/bin/twistd -u calendar -g
_www 179 0.0 0.0 2539744 1176 ?? S 9:14AM 0:00.00 /usr/sbin/httpd -D FOREGROUND
_www 178 0.0 0.0 2539744 1172 ?? S 9:14AM 0:00.00 /usr/sbin/httpd -D FOREGROUND
_www 177 0.0 0.0 2539744 1172 ?? S 9:14AM 0:00.00 /usr/sbin/httpd -D FOREGROUND
_www 176 0.0 0.0 2539744 1172 ?? S 9:14AM 0:00.00 /usr/sbin/httpd -D FOREGROUND
_www 175 0.0 0.0 2539744 1172 ?? S 9:14AM 0:00.00 /usr/sbin/httpd -D FOREGROUND
_www 174 0.0 0.0 2539744 1172 ?? S 9:14AM 0:00.00 /usr/sbin/httpd -D FOREGROUND
_www 173 0.0 0.0 2539744 1172 ?? S 9:14AM 0:00.00 /usr/sbin/httpd -D FOREGROUND
_www 172 0.0 0.0 2539744 1172 ?? S 9:14AM 0:00.00 /usr/sbin/httpd -D FOREGROUND
_www 169 0.0 0.0 2539744 1172 ?? S 9:14AM 0:00.00 /usr/sbin/httpd -D FOREGROUND
_www 168 0.0 0.0 2539744 1176 ?? S 9:14AM 0:00.00 /usr/sbin/httpd -D FOREGROUND
_www 167 0.0 0.1 2539744 2748 ?? S 9:14AM 0:00.01 /usr/sbin/httpd -D FOREGROUND
_www 166 0.0 0.1 2539744 2752 ?? S 9:14AM 0:00.01 /usr/sbin/httpd -D FOREGROUND
_www 154 0.0 0.1 2539744 2752 ?? S 9:14AM 0:00.01 /usr/sbin/httpd -D FOREGROUND
_www 153 0.0 0.1 2539744 2748 ?? S 9:14AM 0:00.01 /usr/sbin/httpd -D FOREGROUND
_www 148 0.0 0.1 2539744 2752 ?? S 9:14AM 0:00.01 /usr/sbin/httpd -D FOREGROUND
_dovecot 146 0.0 0.1 2451648 2772 ?? S 9:14AM 0:00.01 imap-login
_dovecot 145 0.0 0.1 2451648 2772 ?? S 9:14AM 0:00.01 imap-login
_dovecot 144 0.0 0.1 2451648 2772 ?? S 9:14AM 0:00.01 imap-login
_dovecot 143 0.0 0.1 2451636 2756 ?? S 9:14AM 0:00.01 pop3-login
_dovecot 142 0.0 0.1 2451636 2756 ?? S 9:14AM 0:00.01 pop3-login
_dovecot 141 0.0 0.1 2451636 2756 ?? S 9:14AM 0:00.01 pop3-login
_dovecot 140 0.0 0.1 2451768 2792 ?? S 9:14AM 0:00.01 managesieve-login
_dovecot 139 0.0 0.1 2451768 2792 ?? S 9:14AM 0:00.01 managesieve-login
_dovecot 138 0.0 0.1 2451768 2792 ?? S 9:14AM 0:00.02 managesieve-login
_windowserver 136 0.0 1.2 2835236 36816 ?? Ss 9:14AM 0:04.86 /System/Library/Frameworks/ApplicationServices.framework/Fra
_www 135 0.0 0.1 2539744 2748 ?? S 9:14AM 0:00.01 /usr/sbin/httpd -D FOREGROUND
_postfix 118 0.0 0.2 2468508 4988 ?? S 9:14AM 0:00.03 qmgr -l -t fifo -u
_postfix 117 0.0 0.2 2468436 4852 ?? S 9:14AM 0:00.03 pickup -l -t fifo -u -o content_filter
root 116 0.0 0.5 2487360 16920 ?? Ss 9:14AM 0:00.72 /System/Library/CoreServices/coreservicesd
root 115 0.0 0.2 2480076 6660 ?? S 9:14AM 0:00.04 dovecot-auth
root 92 0.0 0.1 2455940 2548 ?? Ss 9:14AM 0:00.01 autofsd
root 91 0.0 0.5 2566480 14300 ?? Ss 9:14AM 0:00.21 /usr/sbin/blued
root 86 0.0 0.1 2444732 2220 ?? Ss 9:14AM 0:00.01 /sbin/dynamic_pager -F /private/var/vm/swapfile
root 85 0.0 0.4 2564432 13816 ?? Ss 9:14AM 0:00.29 /sbin/emond
root 83 0.0 0.1 2465968 3580 ?? Ss 9:14AM 0:00.12 /System/Library/Frameworks/CoreServices.framework/Versions/A
root 81 0.0 0.1 2456632 2496 ?? Ss 9:14AM 0:00.01 /usr/libexec/hidd
root 77 0.0 0.1 2457060 2568 ?? Ss 9:14AM 0:00.01 /usr/sbin/KernelEventAgent
admin 76 0.0 0.7 2847704 20808 ?? Ss 9:14AM 0:00.50 /System/Library/CoreServices/loginwindow.app/Contents/MacOS/
root 75 0.0 1.7 2638096 53464 ?? Ss 9:14AM 0:24.69 /System/Library/Frameworks/CoreServices.framework/Frameworks
_jabber 74 0.0 0.6 2456484 18188 ?? Ss 9:14AM 0:00.52 /usr/bin/python2.6 /System/Library/Frameworks/Python.framewo
root 73 0.0 0.2 2486912 7772 ?? Ss 9:14AM 0:00.06 /usr/sbin/PasswordService -n
root 71 0.0 0.1 2449364 2924 ?? Ss 9:14AM 0:00.05 vpnd -x -i com.apple.ppp.l2tp
root 70 0.0 0.2 2481192 6020 ?? Ss 9:14AM 0:00.08 push_notify
root 69 0.0 0.3 2530252 8432 ?? Ss 9:14AM 0:00.04 /System/Library/CoreServices/RemoteManagement/AppleVNCServer
root 67 0.0 1.5 2659304 45676 ?? Ss 9:14AM 0:03.92 servermgrd -x
root 64 0.0 0.1 2461064 2936 ?? Ss 9:14AM 0:00.02 /sbin/SystemStarter
_usbmuxd 63 0.0 0.0 90152 1196 ?? Ss 9:14AM 0:00.06 /System/Library/PrivateFrameworks/MobileDevice.framework/Ver
_teamsserver 59 0.0 3.9 2688576 122780 ?? Ss 9:14AM 0:03.04 /usr/bin/python /usr/share/caldavd/bin/twistd -n -o --pidfil
root 58 0.0 0.1 2445916 2352 ?? Ss 9:14AM 0:00.01 /usr/sbin/cron
root 57 0.0 0.1 2450008 4044 ?? Ss 9:14AM 0:00.03 /usr/sbin/kadmind -nofork
root 56 0.0 0.2 2479252 6628 ?? Ss 9:14AM 0:00.07 /usr/sbin/krb5kdc -n
root 55 0.0 0.9 2475120 27624 ?? Ss 9:14AM 0:00.85 python /usr/share/carddavd/bin/twistd --reactor=caldav_kqueu
_amavisd 54 0.0 2.3 2510532 71452 ?? Ss 9:14AM 0:02.36 amavisd (master)
root 53 0.0 0.6 2539744 18508 ?? Ss 9:14AM 0:00.63 /usr/sbin/httpd -D FOREGROUND
root 52 0.0 1.0 2478296 30432 ?? Ss 9:14AM 0:01.01 python /usr/share/caldavd/bin/twistd --reactor=caldav_kqueue
_amavisd 51 0.0 3.8 2557868 118636 ?? Ss 9:14AM 0:03.60 clamd
_clamav 50 0.0 0.0 2438672 1356 ?? Ss 9:14AM 0:00.02 freshclam -d -c 4
root 49 0.0 0.0 2437372 1076 ?? Ss 9:14AM 0:00.03 dovecotd -F
root 48 0.0 0.2 2447228 5700 ?? Ss 9:14AM 0:00.10 /usr/sbin/named -f
_jabber 46 0.0 0.5 2453556 15384 ?? Ss 9:14AM 0:00.45 /usr/bin/python2.6 /System/Library/Frameworks/Python.framewo
root 45 0.0 0.1 2446832 2812 ?? Ss 9:14AM 0:00.05 /usr/sbin/ntpd -c /private/etc/ntp-restrict.conf -n -g -p /v
root 43 0.0 0.2 2469540 4964 ?? Ss 9:14AM 0:00.04 master
root 38 0.0 0.2 2474308 6016 ?? Ss 9:14AM 0:00.35 /usr/sbin/securityd -i
_mdnsresponder 35 0.0 0.1 2473824 4708 ?? Ss 9:14AM 0:00.17 /usr/sbin/mDNSResponder -launchd
daemon 33 0.0 0.1 2456028 2736 ?? Ss 9:14AM 0:00.10 /usr/sbin/distnoted
root 32 0.0 0.0 2459612 1452 ?? Ss 9:14AM 0:00.18 /usr/sbin/syslogd
root 31 0.0 0.2 2488468 6488 ?? Ss 9:14AM 0:00.72 /usr/libexec/configd
root 30 0.0 0.1 2461524 3648 ?? Ss 9:14AM 0:00.06 /usr/sbin/diskarbitrationd
root 29 0.0 0.0 2447056 1224 ?? Ss 9:14AM 0:00.36 /usr/sbin/notifyd
root 28 0.0 0.4 2488836 11772 ?? Ss 9:14AM 0:03.02 /usr/sbin/DirectoryService
root 27 0.0 0.5 2473072 16652 ?? Ss 9:14AM 0:08.20 /usr/libexec/kextd
root 1127 0.0 0.0 2437180 940 s000 R+ 9:19AM 0:00.00 ps auxw
root 1 0.0 0.1 2459204 1744 ?? Ss 9:13AM 0:00.80 /sbin/launchd
_www 1114 0.0 0.0 2458640 1156 ?? Ss 9:19AM 0:00.01 /sbin/launchd
root 1112 0.0 0.3 2542624 9060 ?? Ss 9:19AM 0:00.06 /usr/libexec/launchdadd
admin 1108 0.0 0.8 3126540 25224 ?? S 9:18AM 0:00.19 /System/Library/Frameworks/QuickLook.framework/Resources/qui
root 1105 0.0 0.9 2513012 28024 ?? Ss 9:18AM 0:01.52 /System/Library/CoreServices/ReportCrash
admin 1073 0.0 0.1 2439196 1644 s000 S 9:17AM 0:00.02 -bash
root 1072 0.0 0.2 2490656 6136 s000 Ss 9:17AM 0:00.04 login -pf admin
myserver:~ admin$
myserver:~ admin$ sudo changeip -checkhostname
Password:
Unable to determine Primary IP address.
myserver:~ admin$ cat /etc/resolv.conf
cat: /etc/resolv.conf: No such file or directory -
Application server Disaster Backup
Hello all,
Is there any way to do a complete backup of all application server and put on tape for disaster like something like rman for database?
I know cloning for app server, but if I want do weekly disaster backup, is it reasonable to run pre-clone, clone and put on tape every week?
Thanks in advance,
ArvinYes, you can tar and zip the files for the application server files to tape.
Also, Oracle 10g Application Server provides a backup and restore utilty in the format of a shell script called
bkp_restore.sh on Linux/UNIX platform and bkp_restore.bat on Windows.
Here is a good tutorial on how to backup and restore Oracle 10gAS:
http://www.oracle.com/technology/products/ias/hi_av/backup_recovery.htm
Details on backup and recovery with 10gAS:
http://download-west.oracle.com/docs/cd/B15904_01/core.1012/b13995/br_tool.htm
Also, to backup and recover the 10g Application Server infrastructure database you can use RMAN since it is an Oracle database.
Cheers,
Ben Prusinski, Oracle ACE, Oracle Certified Professional (OCP) -
Process Chain - Delete File from Application Server
Hi Gurus,
Im working with Process chain, and i have a load from a flat file, so my question is :
How can i delete that file from the application server after was loaded ?
THANKS IN ADVANCED !!! I REALLY APRECCIATE YOUR HELP.
Marcoshi,
I have gone through the forum you have posted for deleting files from application server through process chain.
I have similar reuirement in my project.
Can you please provide me the solution?
Your inputs will be highly appreciated.
Thanks in advance.
Regards,
Lavanya. -
How to delete file from application server(Unix)
Hi All,
Using the below code downloading a file from application server(Unix) to client machine. I want to delete the file from application server once it is downloaded to client
We work on Forms 11.1.1.4.0 and Oracle DB 10g. Client machine are Windows 7.
BEGIN
IF webutil_file_transfer.AS_to_Client
(clientFile => Name_In('global.g_file_name')
,serverFile => ls_AppServer_Loc)THEN
message('Data exported Successfully');
ELSE
message('File download from Application Server failed');
END IF;
EXCEPTION
WHEN OTHERS THEN
message('File download failed: '||SUBSTR(sqlerrm,1,200));
END;
I have search for solution on OTN. Few suggested to use HOST.
Can any one help me how to use Host() built_in to delete the file.
Thanks,
MaddyCan any one help me how to use Host() built_in to delete the file.
Host('/bin/rm <complete file path>'); -
Delete file from application server
Hi,
Can any one tell me how to delete a file from application server?
Thanks,
Rahul.Basic question, please search for available information.
Thread locked.
Thomas -
Use of Open and close data set in to pick up files from application server
Hi,
As per my earlier posts i m making a programm which will pick excel sheet from application server and make auto PR by bapi and this all process will be handle by background processing (SM36, SM37). My concer is all proces are working fine but my files are not been picked by application server , when run on my own machine everything is working fine.I never used OPENDATA SET command before , so i have no idea how it will be used , can anyone provide me details with my set of codes where it should be used ....
sou_dir_name = 'Y:\Sucess\'.
tar_dir_name = 'Y:\destination\'.
Open dataset sou_dir_name for input in text mode encoding default.
if sy-subrc eq 0.
do.
read dataset sou_dir_name into file_table.
if sy-subrc ne 0.
exit. " end of file.
enddo.
endif.
CALL FUNCTION 'TMP_GUI_DIRECTORY_LIST_FILES'
EXPORTING
DIRECTORY = sou_dir_name
FILTER = '.'
IMPORTING
FILE_COUNT = file_count
DIR_COUNT = dir_count
TABLES
FILE_TABLE = file_table
DIR_TABLE = dir_table
EXCEPTIONS
CNTL_ERROR = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
ENDIF.
loop at file_table into wa_file_table.
clear : strr , str1 , str2 , str3 .
strr = wa_file_table-PATHNAME .
concatenate sou_dir_name strr into str1 .
concatenate tar_dir_name strr into str2 . " success
concatenate tar_dir_name1 strr into str3 . " failed
FILE = STR1 .
*start-of-selection.
*& Function For Retrieve Data From Excel
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
filename = FILE
i_begin_col = col_start
i_begin_row = row_start
i_end_col = col_end
i_end_row = row_end
tables
intern = excel_bdcdata
EXCEPTIONS
INCONSISTENT_PARAMETERS = 1
UPLOAD_OLE = 2
OTHERS = 3.
IF sy-subrc NE 0.
WRITE : / 'File Error'.
EXIT.
ENDIF.
loop at excel_bdcdata.
translate excel_bdcdata to upper case .
move excel_bdcdata-col to it_index.
assign component it_index of structure wa_file to <fs> .
move excel_bdcdata-value to <fs>.
at end of row.
append wa_file to it_file .
clear wa_file.
endat.
endloop.Parsing XML data:
http://help.sap.com/saphelp_nw04/helpdata/en/86/8280ba12d511d5991b00508b6b8b11/frameset.htm
or alternatively check out ABAP online help for "CALL TRANSFORMATION".
For creating the material master look at BAPI_STANDARDMATERIAL_CREATE.
Thomas -
How to see the file at the application server
HI TO ALL SDNERS ,
THIS IS MY CODE WHERE TO CHECK THE DOWNLOADED FILE AT THE APPLICATION SERVER.IN TCODE AL11 I HAVE SEEN THERE IS NO FILE GETTING CREATED.WHEN TRANSFERRING THE SY-SUBRC VALUE IS ZERO.
Program Name : ZME11_BDC.
Title : PURCHASE INFORMATION RECORD LOAD PROGRAM
Program Objective : THIS PROGRAM READS IN THE PURCHASE
INFORMATION FILE. IT CREATES A BDC SESSION TO
USE TO LOAD THE PURCHASE INFORMATION RECORDS
INTO SAP using the ME11 Transaction.
REPORT ZME11_BDC no standard page heading MESSAGE-ID ZHNC line-size 55.
constants declaration
constants: c_x value 'X',
c_sess type apqi-groupid value 'zcustomer',
c_xd01 type tstc-tcode value 'ME11'.
DECLARING VARIABLES
DATA: V_MSG(255),
V_ERREC TYPE I,"NO OF FAILED RECORDS
V_LINES."NO OF RECORDS
FLAG DECLARATIONS
DATA: FG_DATA_EXIST VALUE 'X',"CHECK FOR DATA
FG_SESSION_OPEN VALUE ''.
STRUCTURES AND INTERNAL TABLE DECLARATIONS
TYPES :BEGIN OF TY_PIR,
LIFNR TYPE EINA-LIFNR,
MATNR TYPE EINA-MATNR,
EKORG TYPE EINE-EKORG,
WERKS TYPE EINE-WERKS,
VERKF TYPE EINA-VERKF,"sales person
TELF1 TYPE EINA-TELF1,"telephone
URZLA TYPE EINA-URZLA,"country
REGIO TYPE EINA-REGIO,"region
APLFZ(5),"plan deleivery time
EKGRP TYPE EINE-EKGRP,"purchase group
NORBM(13),
NETPR(13),
END OF TY_PIR.
DATA : IT_PIR TYPE TABLE OF TY_PIR,
WA_PIR LIKE LINE OF IT_PIR.
DATA: BEGIN OF IT_BDCDATA.
INCLUDE STRUCTURE BDCDATA.
DATA END OF IT_BDCDATA.
DATA : BEGIN OF IT_BDCMSG.
INCLUDE STRUCTURE BDCMSGCOLL.
DATA END OF IT_BDCMSG.
SELECTION SCREEN
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETER : FNAME TYPE RLGRAP-FILENAME.
SELECTION-SCREEN END OF BLOCK B1.
AT SELECTION ON VALUE REQUEST
AT SELECTION-SCREEN ON VALUE-REQUEST FOR FNAME.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = ' '
IMPORTING
FILE_NAME = FNAME.
START OF SELECTION
START-OF-SELECTION.
PERFORM F_GET_DATA USING FNAME
CHANGING IT_PIR.
PERFORM F_GENERATE_DATASET USING FNAME
CHANGING IT_PIR WA_PIR.
*& Form F_GET_DATA
text
-->P_V_FNAME text
<--P_IT_PIR text
FORM F_GET_DATA USING P_FNAME LIKE FNAME
CHANGING P_IT_PIR LIKE IT_PIR.
DATA: LV_FILE TYPE STRING.
LV_FILE = FNAME.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = LV_FILE
FILETYPE = 'DAT'
HAS_FIELD_SEPARATOR = 'X'
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
IMPORTING
FILELENGTH =
HEADER =
TABLES
DATA_TAB = P_IT_PIR
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
IF P_IT_PIR IS INITIAL.
FG_DATA_EXIST = ''.
ENDIF.
ENDFORM. " F_GET_DATA
*& Form F_GENERATE_DATASET
text
-->P_V_FNAME text
<--P_IT_PIR text
FORM F_GENERATE_DATASET USING P_V_FNAME LIKE FNAME
CHANGING P_IT_PIR LIKE IT_PIR
P_WA_PIR LIKE WA_PIR.
MESSAGE I001(ZHNC).
*OPENING FILE AT THE APPLICATION SERVER FOR WRITING
OPEN DATASET FNAME FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
IF SY-SUBRC EQ 0.
MESSAGE I002(ZHNC).
LOOP AT P_IT_PIR INTO P_WA_PIR.
SPLIT P_WA_PIR AT '*' INTO P_WA_PIR-LIFNR
P_WA_PIR-MATNR
P_WA_PIR-EKORG
P_WA_PIR-WERKS
P_WA_PIR-VERKF
P_WA_PIR-TELF1
P_WA_PIR-URZLA
P_WA_PIR-REGIO
P_WA_PIR-APLFZ
P_WA_PIR-EKGRP
P_WA_PIR-NORBM.
*TRANSFER THE FILE FROM INTERNAL TABLE TO APPLICATION SERVER
MESSAGE I003(ZHNC).
TRANSFER P_WA_PIR TO FNAME.
ENDLOOP.
*CLOSING THE FILE AT THE APPLICATION SERVER
CLOSE DATASET FNAME.
ENDIF.Hello,
I made a similar program. You can have a look at it.
*& Form write_to_app_server
text
--> p1 text
<-- p2 text
FORM write_to_app_server.
To get filename
PERFORM get_filename.
To write into the application server
OPEN DATASET g_filename_with_path FOR OUTPUT IN TEXT MODE.
IF sy-subrc = 0.
LOOP AT <l_table> INTO <l_line>.
TRANSFER <l_line> TO g_filename_with_path.
ENDLOOP.
CLOSE DATASET g_filename_with_path.
ELSE.
CLOSE DATASET g_filename_with_path.
ENDIF.
To send mail
PERFORM send_mail.
ENDFORM. " write_to_app_server
*& Form get_filename
text
--> p1 text
<-- p2 text
FORM get_filename.
DATA : l_log_path TYPE filepath-pathintern
VALUE 'Y28M_DOWNLOADS_BACKGROUND' .
CALL FUNCTION 'FILE_GET_NAME_USING_PATH'
EXPORTING
client = sy-mandt
logical_path = l_log_path
operating_system = sy-opsys
file_name = p_fname
IMPORTING
file_name_with_path = g_filename_with_path
EXCEPTIONS
path_not_found = 1
missing_parameter = 2
operating_system_not_found = 3
file_system_not_found = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " get_filename
You may find it useful.
Regards,
Karuna.
Maybe you are looking for
-
HT4519 how can i remove a mail setup through iphone configuration?
I need to remove an exchange mail account that was setup via iphone configuration. Help.
-
Want to produce a pdf that opens in full screen (so I can use transitions and have a clean presentation). But I also want to maintain a certain frame size (with black background filling the remainder of the screen). I go to File->Properties->Initial
-
HT4528 one of my speakers is working, where can I get it fixed?
I just recently received an iPhone for my birthday, in April and I just noticed that only one of the speakers on the phone is working can I get this fixed in the apple store?
-
Oracle database 9.2.0.4 Critical Patch Update
Hi, is oracle database 9.2.0.4 running on Windows still supported for critical patch updates? I went through the supported list in Critical Patch Update October 2006 but there was no reference to Oracle database 9.2.0.4. Oracle Premier Support for Or
-
Hi All, In monitoring 9i locking issue, dba_waiters is not available. I try to query v$lock and v$session join together, yet it is very slow to respond. Does anyone know how to query this two views? Thanks, milic