{"id":793,"date":"2023-09-17T11:33:24","date_gmt":"2023-09-17T09:33:24","guid":{"rendered":"http:\/\/rootfan.com\/?p=793"},"modified":"2023-12-09T19:56:39","modified_gmt":"2023-12-09T18:56:39","slug":"commandes-srvctl-oracle","status":"publish","type":"post","link":"https:\/\/rootfan.com\/fr\/srvctl-commands-oracle\/","title":{"rendered":"Commandes srvctl dans Oracle"},"content":{"rendered":"\n<p><code>srvctl<\/code>, the Server Control Utility, is an indispensable tool for Oracle cluster management. <\/p>\n\n\n\n<p>It offers centralized control, ensuring operations are executed efficiently, consistently, and securely. <\/p>\n\n\n\n<p>Seamlessly integrated with Oracle Clusterware, <code>srvctl<\/code> streamlines tasks, reduces human errors, and upholds best practices, making it the optimal choice for administrators seeking precision and reliability in cluster management.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">srvctl status commands:<\/h2>\n\n\n\n<p>srvctl status listener<br>srvctl status listener -node xfdcon01db02<br>srvctl status listener -node xfdcon01db02<br>srvctl status database -d RAC # Database status<br>srvctl status instance -d RAC -i RAC1 # Instance Status<br>srvctl status service -d RAC # Services Status<br>srvctl status nodeapps # Network services Status<br>srvctl status vip -n rac1 # Status IP Virtual<br>srvctl status listener -l LISTENER # Listener Status<br>srvctl status asm -n rac1 # Status Instance ASM<br>srvctl status scan # Status IP SCAN<br>srvctl status scan_listener # Status Listener SCAN<br>srvctl status server -n rac1 # Status Node<br>srvctl status diskgroup -g DGRAC # Status Disk Group<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">srvctl config commands:<\/h2>\n\n\n\n<p>srvctl config database -d RAC # Database configuration<br>srvctl config service -d RAC # Services configuration<br>srvctl config nodeapps # Network Services Configuration<br>srvctl config vip -n rac1 # VIP configuration<br>srvctl config asm -a # ASM configuration<br>srvctl config listener -l LISTENER # Listener configuration<br>srvctl config scan # IP SCAN configuration<br>srvctl config scan_listener # SCAN Listener configuration<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">srvctl start commands:<\/h2>\n\n\n\n<p>srvctl start database -d RAC # Start database<br>srvctl start instance -d RAC -i RAC1 # Start Instance<br>srvctl start service -d RAC -s OLTP # Start Service<br>srvctl start nodeapps # Arrancar Servicios Red<br>srvctl start vip -n rac1 # Arrancar IP Virtual<br>srvctl start asm -n rac1 # Start ASM (It is recommended to use &#8220;crsctl start cluser&#8221;)<br>srvctl start listener -l LISTENER # Start Listener<br>srvctl start scan -i 1 # Start IP SCAN<br>srvctl start scan_listener -i 1 # Start SCAN Listener<br>srvctl start diskgroup -g diskgroup_name [-n node_list] # Start Disk Group<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">srvctl stop commands:<\/h2>\n\n\n\n<p>srvctl stop database -d RAC<br>srvctl stop database -d RAC -o immediate # Stop database (IMMEDIATE)<br>srvctl stop database -d RAC -o immediate -f<br>srvctl stop instance -d RAC -i RAC1 -o immediate # Stop Instance BD (IMMEDIATE)<br>srvctl stop service -d RAC -s OLTP -n rac1 # Stop DB Service<br>srvctl stop nodeapps -n rac1 # Stop network services<br>srvctl stop vip -n rac1 # Stop VIP<br>srvctl stop asm -n rac1 -o abort -f # Stop ASM (recommended to use &#8220;crsctl stop cluster&#8221;)<br>srvctl stop listener -l LISTENER # Stop Listener<br>srvctl stop scan -i 1 # Stop SCAN IP (requires stopping dependencies)<br>srvctl stop scan_listener -i 1 # Stop SCAN Listener<br>srvctl stop diskgroup -g TEST -n rac1,rac2 # Stop Disk Group<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">srvctl relocate commands:<\/h2>\n\n\n\n<p>srvctl relocate service -d RAC -s OLTP -i RAC1 -t RAC2 # Relocate Service (from node 1 to node 2)<br>srvctl relocate scan_listener -i 1 rac1 # Relocate SCAN Listener<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">srvctl Add\/Remove\/Modify commands:<\/h2>\n\n\n\n<p>srvctl add database<br>srvctl remove database<br>srvctl modify database<br>srvctl modify database password file<\/p>\n","protected":false},"excerpt":{"rendered":"<p>srvctl, l'utilitaire de contr\u00f4le des serveurs, est un outil indispensable pour la gestion des clusters Oracle. Il offre un contr\u00f4le centralis\u00e9, garantissant l'ex\u00e9cution efficace, coh\u00e9rente et s\u00e9curis\u00e9e des op\u00e9rations. Int\u00e9gr\u00e9 de mani\u00e8re transparente \u00e0 Oracle Clusterware, srvctl rationalise les t\u00e2ches, r\u00e9duit les erreurs humaines et respecte les meilleures pratiques, ce qui en fait le choix optimal pour les administrateurs \u00e0 la recherche de pr\u00e9cision et de fiabilit\u00e9 dans la gestion des clusters.<\/p>","protected":false},"author":1,"featured_media":5942,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_focus_keyword":"srvctl commands","rank_math_title":"","rank_math_description":"Master the essential Oracle srvctl commands for efficient database administration and management.","rank_math_robots":null,"rank_math_og_title":"","rank_math_og_description":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[31],"tags":[62],"class_list":["post-793","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oracle","tag-srvctl"],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/rootfan.com\/wp-content\/uploads\/pexels-photo-1605148-1.jpeg?fit=1880%2C1254&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/rootfan.com\/fr\/wp-json\/wp\/v2\/posts\/793","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rootfan.com\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rootfan.com\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rootfan.com\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rootfan.com\/fr\/wp-json\/wp\/v2\/comments?post=793"}],"version-history":[{"count":20,"href":"https:\/\/rootfan.com\/fr\/wp-json\/wp\/v2\/posts\/793\/revisions"}],"predecessor-version":[{"id":6034,"href":"https:\/\/rootfan.com\/fr\/wp-json\/wp\/v2\/posts\/793\/revisions\/6034"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rootfan.com\/fr\/wp-json\/wp\/v2\/media\/5942"}],"wp:attachment":[{"href":"https:\/\/rootfan.com\/fr\/wp-json\/wp\/v2\/media?parent=793"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rootfan.com\/fr\/wp-json\/wp\/v2\/categories?post=793"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rootfan.com\/fr\/wp-json\/wp\/v2\/tags?post=793"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}