{"id":63,"date":"2020-10-30T10:58:07","date_gmt":"2020-10-30T09:58:07","guid":{"rendered":"https:\/\/ptdb.ch\/?p=63"},"modified":"2020-10-30T10:58:07","modified_gmt":"2020-10-30T09:58:07","slug":"how-to-move-the-oracle-19c-asm-password-file-in-and-out-of-asm","status":"publish","type":"post","link":"https:\/\/ptdb.ch\/?p=63","title":{"rendered":"How to Move the Oracle 19c ASM Password File In And Out of ASM"},"content":{"rendered":"<p>Per default, the Oracle ASM Password file is located in ASM itself. To be more precise, it is in the following<br \/>\nlocation +DATA\/orapwasm which is a symbolic link to orapwasm =&gt; +DATA\/ASM\/PASSWORD\/pwdasm.256.1055063947<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;oracle@ocm200 dbs]$ srvctl config asm\nASM home: &lt;CRS home&gt;\nPassword file: +DATA\/orapwasm\nBackup of Password file:\nASM listener: LISTENER\nSpfile: \/u01\/grid\/19c\/dbs\/spfile+ASM.ora\nASM diskgroup discovery string: \/dev\/oracleasm\/*\n\nASMCMD&gt; pwd\n+data\nASMCMD&gt; ls -l\nType      Redund  Striped  Time             Sys  Name\n                                            Y    ASM\/\n                                            N    CDB\/\nPASSWORD  UNPROT  COARSE   OCT 29 09:00:00  N    orapwasm =&gt; +DATA\/ASM\/PASSWORD\/pwdasm.256.1055063947\n<\/pre>\n<p>However, every now and than, you might want to copy the ASM password file out of ASM and put it on a filesystem. E.g. As part of your backup strategy, you might want to backup the ASM password file every week to another location.<\/p>\n<p>Remember that the password file in Oracle 19c is not so simple anymore as it used to be. It may be of different format {12|12.2}, and it may contain besides the SYS user a few others, like SYSBACKUP, SYSDG and SYSKM. And also remember that the ASM password is not backed up by RMAN automatically.<\/p>\n<p>If I may convinced you that the ASM password file can have some importance, the next question would be: How do I backup and restore this file. This is where the pwcopy command comes into play. pwcopy is quite well documented, if you type in &#8220;help pwcopy&#8221; in the ASMCMD you will get the whole syntax.<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nASMCMD&gt; help pwcopy\npwcopy\n        Copy a password file from one disk group to another,\n        from OS to a disk group, or from a disk group to OS\n\nSynopsis\n        pwcopy &#x5B; --dbuniquename &lt;string&gt; | --asm ]&#x5B;-f]\n        &lt;source_path&gt; &lt;destination_path&gt;\n\nDescription\n        The options for pwcopy command are described below.\n\n       --dbuniquename       -  The dbuniquename parameter identifies\n                               which database resource to update with\n                               the password file location. This\n                               parameter is required if the database\n                               password file location is to be updated\n                               on the CRS resource.\n       --asm                -  The asm switch tells ASMCMD that the\n                               password file to be copied is an ASM\n                               password file rather than a database\n                               password file. This parameter is required\n                               if the asm password file location is to be\n                               updated on the CRS resource.\n       -f                   -  Force Option. If -f is specified, then password\n                               file is copied without any checks.\n\nExamples\n        The first example uses pwcopy to copy an existing\n        password file to a new location on a different ASM diskgroup.\n        It also updates the corresponding CRS resource with the new\n        location if --asm or --dbuniquename flag is specified.\n        The second example uses pwcopy to copy a password file\n        from a diskgroup to OS.  The third example uses pwcopy to copy a\n        password file from one diskgroup to another, with -f option.\n        In this case, if --asm has a password file associated, will be\n        cleared and new file will be registered.\n\n        ASMCMD &#x5B;+] &gt; pwcopy --asm +DG\/mydir\/mypwfile +DG1\/pwfiles\/mypwfile\n        copying +DG\/mypwfile -&gt; +DG1\/pwfiles\/mypwfile\n\n        ASMCMD &#x5B;+] &gt; pwcopy +DG\/mydir\/mypwfile \/home\/asmuser\/pwfiles\/mypwfile\n        copying +DG\/mypwfile -&gt; \/home\/asmuser\/pwfiles\/mypwfile\n\n        ASMCMD &#x5B;+] &gt; pwcopy --asm -f +DG1\/mydir\/mypwfile +DG2\/mydir2\/mypwfile2\n\nSee Also\n       pwcreate pwdelete pwmove pwset pwget\n\nASMCMD&gt;\n<\/pre>\n<p>So let&#8217;s fire up the pwcopy command and see if it works. After doing so, you might face the first issue. The pwcopy does not like the + sign in orapw+ASM. You need to specify orapwASM instead.<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nASMCMD&gt; pwcopy +DATA\/orapwasm \/u01\/grid\/19c\/dbs\/orapw+ASM\nASMCMD-8005: directory '\/u01\/grid\/19c\/dbs\/orapw+ASM' is ambiguous\n\nASMCMD&gt; pwcopy +DATA\/orapwasm \/u01\/grid\/19c\/dbs\/orapwASM\ncopying +DATA\/orapwasm -&gt; \/u01\/grid\/19c\/dbs\/orapwASM\n<\/pre>\n<p>And please notice that it had no effect on the cluster resource. The password file entry still points to +DATA\/orapwasm<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;oracle@ocm200 dbs]$ srvctl config asm\nASM home: &lt;CRS home&gt;\nPassword file: +DATA\/orapwasm\nBackup of Password file:\nASM listener: LISTENER\nSpfile: \/u01\/grid\/19c\/dbs\/spfile+ASM.ora\nASM diskgroup discovery string: \/dev\/oracleasm\/*\n<\/pre>\n<p>After we have moved the ASM password file to the file system, we can change the ASM cluster resource as well.<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;oracle@ocm200 dbs]$ srvctl modify asm -pwfile \/u01\/grid\/19c\/dbs\/orapwASM\n&#x5B;oracle@ocm200 dbs]$\n&#x5B;oracle@ocm200 dbs]$ srvctl config asm\nASM home: &lt;CRS home&gt;\nPassword file: \/u01\/grid\/19c\/dbs\/orapwASM\nBackup of Password file:\nASM listener: LISTENER\nSpfile: \/u01\/grid\/19c\/dbs\/spfile+ASM.ora\nASM diskgroup discovery string: \/dev\/oracleasm\/*\n<\/pre>\n<p>The old password file in ASM is still there.<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nASMCMD&gt; ls -l\nType      Redund  Striped  Time             Sys  Name\n                                            Y    ASM\/\n                                            N    CDB\/\nPASSWORD  UNPROT  COARSE   OCT 27 05:00:00  N    orapwasm =&gt; +DATA\/ASM\/PASSWORD\/pwdasm.256.1054878913\n<\/pre>\n<p>Before we continue, make sure that you make an extra copy of the ASM Password file (the one that is on the filesystem). Will show you later why.<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;oracle@ocm200 dbs]$ pwd\n\/u01\/grid\/19c\/dbs\n&#x5B;oracle@ocm200 dbs]$ cp orapwASM orapwASM.bkp\n<\/pre>\n<p>So what happens, if you use the pwdelete &#8211;asm command?<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nASMCMD&gt; pwdelete --asm\nASMCMD&gt;\n\n&#x5B;oracle@ocm200 dbs]$ srvctl config asm\nASM home: &lt;CRS home&gt;\nPassword file:\nBackup of Password file:\nASM listener: LISTENER\nSpfile: \/u01\/grid\/19c\/dbs\/spfile+ASM.ora\nASM diskgroup discovery string: \/dev\/oracleasm\/*\n\n&#x5B;oracle@ocm200 dbs]$ ls -l | grep orapw\n-rw-r-----. 1 oracle oinstall 2560 Oct 29 09:28 orapwASM.bkp\n<\/pre>\n<p>Oopppsss &#8230; it deletes the entry in the cluster resource and also deletes the orapwASM file which was on the file system.<\/p>\n<p>So &#8230; take care with the pwdelete &#8211;asm command.<\/p>\n<p>The good news is, that the ASM password file still exist. And because we are careful DBA&#8217;s, we do have the backup file orapwASM.bkp as well.<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nASMCMD&gt; ls -l\nType      Redund  Striped  Time             Sys  Name\n                                            Y    ASM\/\n                                            N    CDB\/\nPASSWORD  UNPROT  COARSE   OCT 29 09:00:00  N    orapwasm =&gt; +DATA\/ASM\/PASSWORD\/pwdasm.256.1055063947\n<\/pre>\n<p>Now I will remove the leftovers as well.<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nASMCMD&gt; pwdelete +DATA\/ASM\/PASSWORD\/pwdasm.256.1055063947\nASMCMD&gt;\n\nASMCMD&gt; ls -l\nType  Redund  Striped  Time  Sys  Name\n                             Y    ASM\/\n                             N    CDB\/\n\t\t\t\t\t\t\t \n<\/pre>\n<p>The current situation is:<\/p>\n<ul>\n<li>There is no Password file entry in the ASM cluster resource<\/li>\n<li>The Password file \/u01\/grid\/19c\/dbs\/orapwASM does not exist (was deleted automatically)<\/li>\n<li>But we have our backup orapwASM.bkp<\/li>\n<\/ul>\n<p>To fix this mess, we need now to move orapwASM.bkp to orapwASM and register it again in the ASM cluster resource<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;oracle@ocm200 dbs]$ mv orapwASM.bkp orapwASM\n&#x5B;oracle@ocm200 dbs]$\n\n&#x5B;oracle@ocm200 dbs]$ srvctl modify asm -pwfile \/u01\/grid\/19c\/dbs\/orapwASM\n&#x5B;oracle@ocm200 dbs]$\n\n&#x5B;oracle@ocm200 dbs]$ srvctl config asm\nASM home: &lt;CRS home&gt;\nPassword file: \/u01\/grid\/19c\/dbs\/orapwASM\nBackup of Password file:\nASM listener: LISTENER\nSpfile: \/u01\/grid\/19c\/dbs\/spfile+ASM.ora\nASM diskgroup discovery string: \/dev\/oracleasm\/*\n<\/pre>\n<p>OK. After a little bit of trouble, we are back in business again. \ud83d\ude42<\/p>\n<p>Now &#8230; how do we get the ASM password file from file system back to +ASM. This way it is a little bit easier.<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nASMCMD&gt; pwcopy --asm \/u01\/grid\/19c\/dbs\/orapwASM +DATA\/orapwasm\nASMCMD-8028: Password file '\/u01\/grid\/19c\/dbs\/orapwASM' is associated with 'asm' already. Use the force option.\n<\/pre>\n<p>Oracle says, that the password file &#8216;\/u01\/grid\/19c\/dbs\/orapwASM&#8217; for ASM is already register with the ASM cluster resource (which is true), so we<br \/>\nneed to use the force option here. If -f is specified, then password file is copied without any checks.<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nASMCMD&gt; pwcopy --asm -f \/u01\/grid\/19c\/dbs\/orapwASM +DATA\/orapwasm\ncopying \/u01\/grid\/19c\/dbs\/orapwASM -&gt; +DATA\/orapwasm\n<\/pre>\n<p>OK. Now it worked and we have the ASM password back on ASM itself, and the ASM cluster resource looks good as well.<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nASMCMD&gt; ls -l\nType      Redund  Striped  Time             Sys  Name\n                                            Y    ASM\/\n                                            N    CDB\/\nPASSWORD  UNPROT  COARSE   OCT 29 09:00:00  N    orapwasm =&gt; +DATA\/ASM\/PASSWORD\/pwdasm.256.1055065371\n\n&#x5B;oracle@ocm200 dbs]$ srvctl config asm\nASM home: &lt;CRS home&gt;\nPassword file: +DATA\/orapwasm\nBackup of Password file:\nASM listener: LISTENER\nSpfile: \/u01\/grid\/19c\/dbs\/spfile+ASM.ora\nASM diskgroup discovery string: \/dev\/oracleasm\/*\n<\/pre>\n<p>In case the remote SYS connection should not work immediately, you might want to speed up the process by executing the following command.<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n\nSQL&gt; ALTER SYSTEM FLUSH PASSWORDFILE_METADATA_CACHE;\n\nSystem altered.\n\n<\/pre>\n<h3>Conclusion<\/h3>\n<p>You might want to rethink your backup strategy and include the ASM password file. Besides that, take care with the pwcopy\/pwdelete command, because, depending on your usage, it will automatically change your ASM cluster resource and potentially delete the password file.<\/p>\n<p>Cheers<\/p>\n<p>William<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Per default, the Oracle ASM Password file is located in ASM itself. To be more precise, it is in the following location +DATA\/orapwasm which is a symbolic link to orapwasm =&gt; +DATA\/ASM\/PASSWORD\/pwdasm.256.1055063947 &#x5B;oracle@ocm200 dbs]$ srvctl config asm ASM home: &lt;CRS home&gt; Password file: +DATA\/orapwasm Backup of Password file: ASM listener: LISTENER Spfile: \/u01\/grid\/19c\/dbs\/spfile+ASM.ora ASM diskgroup [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"0","ocean_second_sidebar":"0","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"0","ocean_custom_header_template":"0","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"0","ocean_menu_typo_font_family":"0","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"0","ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"off","ocean_gallery_id":[],"footnotes":""},"categories":[4],"tags":[14,18],"class_list":["post-63","post","type-post","status-publish","format-standard","hentry","category-oracle","tag-asm","tag-oracle","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Move the Oracle 19c ASM Password File In And Out of ASM - ptdb - Platinum DB<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ptdb.ch\/?p=63\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Move the Oracle 19c ASM Password File In And Out of ASM - ptdb - Platinum DB\" \/>\n<meta property=\"og:description\" content=\"Per default, the Oracle ASM Password file is located in ASM itself. To be more precise, it is in the following location +DATA\/orapwasm which is a symbolic link to orapwasm =&gt; +DATA\/ASM\/PASSWORD\/pwdasm.256.1055063947 &#x5B;oracle@ocm200 dbs]$ srvctl config asm ASM home: &lt;CRS home&gt; Password file: +DATA\/orapwasm Backup of Password file: ASM listener: LISTENER Spfile: \/u01\/grid\/19c\/dbs\/spfile+ASM.ora ASM diskgroup [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ptdb.ch\/?p=63\" \/>\n<meta property=\"og:site_name\" content=\"ptdb - Platinum DB\" \/>\n<meta property=\"article:published_time\" content=\"2020-10-30T09:58:07+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/ptdb.ch\\\/?p=63#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ptdb.ch\\\/?p=63\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/ptdb.ch\\\/#\\\/schema\\\/person\\\/0b7baf52d23e71d85e1c95442306090b\"},\"headline\":\"How to Move the Oracle 19c ASM Password File In And Out of ASM\",\"datePublished\":\"2020-10-30T09:58:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/ptdb.ch\\\/?p=63\"},\"wordCount\":1510,\"keywords\":[\"ASM\",\"Oracle\"],\"articleSection\":[\"Oracle\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ptdb.ch\\\/?p=63\",\"url\":\"https:\\\/\\\/ptdb.ch\\\/?p=63\",\"name\":\"How to Move the Oracle 19c ASM Password File In And Out of ASM - ptdb - Platinum DB\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ptdb.ch\\\/#website\"},\"datePublished\":\"2020-10-30T09:58:07+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/ptdb.ch\\\/#\\\/schema\\\/person\\\/0b7baf52d23e71d85e1c95442306090b\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/ptdb.ch\\\/?p=63#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/ptdb.ch\\\/?p=63\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/ptdb.ch\\\/?p=63#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/ptdb.ch\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Move the Oracle 19c ASM Password File In And Out of ASM\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/ptdb.ch\\\/#website\",\"url\":\"https:\\\/\\\/ptdb.ch\\\/\",\"name\":\"ptdb - Platinum DB\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/ptdb.ch\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/ptdb.ch\\\/#\\\/schema\\\/person\\\/0b7baf52d23e71d85e1c95442306090b\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1a3dffc48c5f6bae0b88a9f0b2a986d48d322673fbc2880c5abbfab96e45da8a?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1a3dffc48c5f6bae0b88a9f0b2a986d48d322673fbc2880c5abbfab96e45da8a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1a3dffc48c5f6bae0b88a9f0b2a986d48d322673fbc2880c5abbfab96e45da8a?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\\\/\\\/ptdb.ch\"],\"url\":\"https:\\\/\\\/ptdb.ch\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Move the Oracle 19c ASM Password File In And Out of ASM - ptdb - Platinum DB","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ptdb.ch\/?p=63","og_locale":"en_US","og_type":"article","og_title":"How to Move the Oracle 19c ASM Password File In And Out of ASM - ptdb - Platinum DB","og_description":"Per default, the Oracle ASM Password file is located in ASM itself. To be more precise, it is in the following location +DATA\/orapwasm which is a symbolic link to orapwasm =&gt; +DATA\/ASM\/PASSWORD\/pwdasm.256.1055063947 &#x5B;oracle@ocm200 dbs]$ srvctl config asm ASM home: &lt;CRS home&gt; Password file: +DATA\/orapwasm Backup of Password file: ASM listener: LISTENER Spfile: \/u01\/grid\/19c\/dbs\/spfile+ASM.ora ASM diskgroup [&hellip;]","og_url":"https:\/\/ptdb.ch\/?p=63","og_site_name":"ptdb - Platinum DB","article_published_time":"2020-10-30T09:58:07+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ptdb.ch\/?p=63#article","isPartOf":{"@id":"https:\/\/ptdb.ch\/?p=63"},"author":{"name":"admin","@id":"https:\/\/ptdb.ch\/#\/schema\/person\/0b7baf52d23e71d85e1c95442306090b"},"headline":"How to Move the Oracle 19c ASM Password File In And Out of ASM","datePublished":"2020-10-30T09:58:07+00:00","mainEntityOfPage":{"@id":"https:\/\/ptdb.ch\/?p=63"},"wordCount":1510,"keywords":["ASM","Oracle"],"articleSection":["Oracle"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/ptdb.ch\/?p=63","url":"https:\/\/ptdb.ch\/?p=63","name":"How to Move the Oracle 19c ASM Password File In And Out of ASM - ptdb - Platinum DB","isPartOf":{"@id":"https:\/\/ptdb.ch\/#website"},"datePublished":"2020-10-30T09:58:07+00:00","author":{"@id":"https:\/\/ptdb.ch\/#\/schema\/person\/0b7baf52d23e71d85e1c95442306090b"},"breadcrumb":{"@id":"https:\/\/ptdb.ch\/?p=63#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ptdb.ch\/?p=63"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ptdb.ch\/?p=63#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ptdb.ch\/"},{"@type":"ListItem","position":2,"name":"How to Move the Oracle 19c ASM Password File In And Out of ASM"}]},{"@type":"WebSite","@id":"https:\/\/ptdb.ch\/#website","url":"https:\/\/ptdb.ch\/","name":"ptdb - Platinum DB","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ptdb.ch\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/ptdb.ch\/#\/schema\/person\/0b7baf52d23e71d85e1c95442306090b","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1a3dffc48c5f6bae0b88a9f0b2a986d48d322673fbc2880c5abbfab96e45da8a?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1a3dffc48c5f6bae0b88a9f0b2a986d48d322673fbc2880c5abbfab96e45da8a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1a3dffc48c5f6bae0b88a9f0b2a986d48d322673fbc2880c5abbfab96e45da8a?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/ptdb.ch"],"url":"https:\/\/ptdb.ch\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/ptdb.ch\/index.php?rest_route=\/wp\/v2\/posts\/63","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ptdb.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ptdb.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ptdb.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ptdb.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=63"}],"version-history":[{"count":0,"href":"https:\/\/ptdb.ch\/index.php?rest_route=\/wp\/v2\/posts\/63\/revisions"}],"wp:attachment":[{"href":"https:\/\/ptdb.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=63"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ptdb.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=63"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ptdb.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=63"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}