Rabu, 14 Agustus 2024

EM13-halaman kadaluarsa

 

OEM13c – Halaman telah kedaluwarsa. Klik OK untuk melanjutkan.

Jika Anda mendapatkan pesan kesalahan atau Pop-UP yang bertuliskan “ Halaman telah kedaluwarsa. Klik OK untuk melanjutkan. ” Artinya sesi Cloud Control Anda telah kedaluwarsa atau timeout karena tidak ada aktivitas di sesi Anda.

Nilai default untuk batas waktu sesi adalah 45 menit. Bisakah kita menambah batas waktu sesi ini, YA! Anda bisa. Anda menetapkan nilai ini sesuai persyaratan kebijakan keamanan perusahaan Anda. Ini mungkin berbeda untuk klien atau perusahaan yang berbeda.

Sesuai kebutuhan Anda, Anda dapat menambah waktu Timeout Sesi dengan mengubah nilai parameter “ Oracle.sysman.eml.maxInactiveTime ”. Perhatikan juga bahwa nilai parameter ini selalu ditentukan dalam Menit. Dalam kasus saya, persyaratannya adalah menjaga sesi tetap aktif kecuali pengguna itu sendiri tidak keluar dari aplikasi. Jadi saya menetapkan nilai parameter “ Oracle.sysman.eml.maxInactiveTime ” ke -1 . Namun jika misalnya Anda ingin sesi aktif selama 10 jam, Anda dapat menyetel nilainya menjadi 600. Namun jika Anda ingin sesi Anda aktif selamanya seperti dalam kasus saya, Anda dapat menyetel nilainya menjadi -1.

CATATAN: Nol berarti nilai disetel ke default dari 45 menit.

Untuk memeriksa batas waktu sesi mana yang sedang aktif, Anda dapat mengurangi perintah berikut.

[Oracle@hanoemap1 bin]$ cd –

/app/Oracle/product/middleware13C/bin

[Oracle@hanoemap1 bin]$ ./emctl dapatkan properti -nama Oracle.sysman.eml.maxInactiveTime

Oracle Enterprise Manager Cloud Control 13c Rilis 2

Hak Cipta (c) 1996, 2016 Oracle Corporation. Semua hak dilindungi undang-undang.

Kata sandi SYSMAN:

Nilai properti Oracle.sysman.eml.maxInactiveTime di tingkat Global adalah -1

[Oracle@hanoemap1 bin]$

klip_gambar001

CATATAN: Perubahan ini memerlukan OMS untuk dimulai ulang, jika Anda memiliki lingkungan multi-OMS, Anda mungkin perlu memantulkan kedua OMS.

Anda juga dapat mengubah properti ini dari EM Console jika Anda mau. Navigasikan ke Pengaturan -> Kelola Kontrol Cloud -> Server Manajemen.

klip_gambar003

Dari Halaman Beranda Server Manajemen, Drop Down Server Manajemen dan klik "Properti konfigurasi"

klip_gambar004

Pada Halaman Properti Konfigurasi Server Manajemen, Anda dapat melihat semua properti yang terdaftar, bersama dengan “Oracle.sysman.eml.maxInactiveTime” dalam kasus kami, disorot dengan warna Kuning.

klip_gambar006

Klik pada properti Nama, yang ingin Anda ubah nilainya. Ini akan membawa Anda ke halaman “Set Property” di mana Anda dapat melakukan perubahan.

clip_image008

Lakukan perubahan pada nilai properti dan Klik Simpan.

Terima kasih

=====================================

atau

How to prevent the “Page Expired” message from appearing in EM12c

After moving to Oracle Enterprise Manager Cloud Control 12c, one of the annoyances I soon discovered was this message “The page has expired. Click OK to continue”.

When you’re not actively using the console, it doesn’t take long before the message appears, which is especially annoying when you have the performance monitoring pages running in the background!

According to Oracle it’s a new security feature within the EM12c console:

To prevent unauthorized access to the Cloud Control console, Enterprise Manager will automatically log you out of the Cloud Control console when there is no activity for a predefined period of time. For example, if you leave your browser open and leave your office, this default behavior prevents unauthorized users from using your Enterprise Manager administrator account.

…but with today’s browser behavior all that really happens is the page reloads after you click OK anyway!

So, here’s how you disable it:

export OMS_HOME=/u01/app/oracle/middleware/oms12c/oms
cd $OMS_HOME/bin

Disable the feature altogether with ‘-1’ value (it’s null by default), or enter another value (minutes) if for some reason you want to increase it:

./emctl set property -name oracle.sysman.eml.maxInactiveTime -value -1 -sysman_pwd sysman_password

Restart your OMS(es) to reflect the changes:

./emctl stop oms
./emctl start oms
==========================================
[oracle@srvem ~]$ cd $OMS_HOME/bin
[oracle@srvem bin]$ ls
adapters                    deploymentLibraryImport.pl  enroll_oms.py          imp                   omsca.cmd                             patchnfs.sh           startOMS.py
addonca                     dg4pwd                      eusm                   impdp                 omsdown.pl                            Path.pm               startSingleApp.py
addonca.bat                 diagnostics_dump.py         exp                    impdpO                OmsPropCmds.pm                        platform_common       stopOMS.py
addonca.pl                  diagsetup                   expdp                  impO                  OmsProperty.pm                        plshprof              symfind
adrci                       Directory.pm                expdpO                 jersey-client.jar     omsstart.pl                           plshprofO             tkprof
AgentAutoTuneXml.pm         diskmon.bin                 expO                   jersey-core.jar       omsstop.pl                            pluginca              tkprofO
AgentCommandLock.pm         echodo                      extjob                 jersey-multipart.jar  oms_svc_failover.vbs                  pluginca.bat          tnslsnr
AgentDebug.pm               EMAgentPatch.pm             extjobo                jython.jar            OmsUpdateCmds.pm                      pluginca.pl           tnslsnr0
AgentLifeCycle.pm           EMAgent.pm                  extproc                jython-modules.jar    onsctl                                pluginia              tnsping
AgentMisc.pm                emcli                       FedCmds.pm             kfed                  orabase                               pluginia.bat          tnsping0
AgentPlugin.pm              emcli.bat                   findAvailableSpace.pl  kfod.bin              oracg                                 proc                  transx
AgentReposResync.pm         emcliext                    genagtsh               kgmgr                 oraenv                                rconfig               trcasst
AgentStatus.pm              emCLI.jar                   genclntsh              kgmgrO                orajaxb                               readme.txt            trcroute
AgentSubAgent.pm            EmCommonCmdDriver.pm        genclntst              LaunchEMagent.pm      orald                                 README.txt            trcroute0
AgentTuning.pm              EMconnectorCmds.pm          GenerateDlfXml.pl      lbuilder              orapipe                               redeploy.py           uidrvci
ahf_setup                   emcore-emcli-l10n.jar       genezi                 lcsscan               orapki                                RegisterTType.pm      umu
aqxmlctl                    emctl                       gennfgt                linkshlib             orapki.bat                            relink                unzip
aqxmlctl.pl                 EmctlCommon.pm              gennttab               lmsgen                oraxml                                repo_mig              updateca
bndlchk                     emctl_ctrl_extn.properties  genoccish              loadpsp               oraxsl                                rman                  updateDataSourcePwd.py
checkAdminStatus.py         emctl.pl                    genorasdksh            loadpspO              org.codehaus.jackson.core.asl.jar     rmanO                 version.txt
commonenv                   emctl.template              genreport.py           lsnrctl               org.codehaus.jackson.core.mapper.jar  sAgentUtils.pm        wls
commonenv.template          EMDeploy                    gensyslib              lsnrctl0              orion                                 schema                wrap
CompEMagent.pm              EMDeploy.bat                HAConfigCmds.pm        lxchknlb              osh                                   SecureAgentCmds.pm    wrc
CompEMcentral.pm            EMDeploy.pm                 heap_dump_rolling.bat  lxegen                ott                                   SecureOMSCmds.pm      xml
CompEMcore.pm               emdfail.command             heap_dump_rolling.pl   lxinst                owm                                   SecureUtil.pm         xmlcg
ConfigTool.xml              EMDiag.pm                   heap_dump_rolling.sh   MdsCmds.pm            PaasCommands.pm                       setsso.pl             xmldiff
coraenv                     EmKeyCmds.pm                hostpingCodes.pm       mkstore               pafctl                                skgxpinfo             xmlpatch
dbfs_client                 EMomsCmds.pm                hostpingIcmp.pm        mkstore.bat           pafctl.bat                            sqlldr                xmlwf
dbgeu_run_action.pl         EMPlugin.pm                 hostping.pl            netmgr                pafctl.pl                             sqlldrO               xsl
dbhome                      EMSAConsoleCommon.pm        hostpingTcpfull.pm     nfsPatchPlugin.pm     PAFTool.pm                            sqlplus               xsql
dbshut                      emsh.jar                    hostpingTypes.pm       oerr                  PARTool.pm                            srvctl                xvm
dbstart                     emwd.pl                     hostpingUtil.pm        oerr.pl               patchAgtStPlugin.pm                   startNodeManager.cmd  zip
deploymentLibraryExport.pl  EnableDisableHostping.pm    http_client.jar        omsca                 PatchCmds.pm                          startNodeManager.sh
[oracle@srvem bin]$ ./emctl set property -name oracle.sysman.eml.maxInactiveTime -value -1 -sysman_pwd Pa$$w0rd
Oracle Enterprise Manager Cloud Control 13c Release 5   
Copyright (c) 1996, 2021 Oracle Corporation.  All rights reserved.
Invalid username/password!  Exiting...
[oracle@srvem bin]$ ./emctl set property -name oracle.sysman.eml.maxInactiveTime -value -1  
Oracle Enterprise Manager Cloud Control 13c Release 5   
Copyright (c) 1996, 2021 Oracle Corporation.  All rights reserved.
SYSMAN password:  
Property oracle.sysman.eml.maxInactiveTime has been set to value -1 for all Management Servers
OMS restart is not required to reflect the new property value
[oracle@srvem bin]$ ./emctl stop oms
Oracle Enterprise Manager Cloud Control 13c Release 5   
Copyright (c) 1996, 2021 Oracle Corporation.  All rights reserved.
Stopping Oracle Management Server...
Oracle Management Server Successfully Stopped
Oracle Management Server is Down
JVMD Engine is Down
[oracle@srvem bin]$ ./emctl start oms
Oracle Enterprise Manager Cloud Control 13c Release 5   
Copyright (c) 1996, 2021 Oracle Corporation.  All rights reserved.
Starting Oracle Management Server...
WebTier Successfully Started
Oracle Management Server Successfully Started
Oracle Management Server is Up
JVMD Engine is Up
[oracle@srvem bin]$

Tidak ada komentar:

Posting Komentar