{"id":594,"date":"2016-10-07T15:13:00","date_gmt":"2016-10-07T12:13:00","guid":{"rendered":"http:\/\/www.bilisimonline.net\/?p=594"},"modified":"2017-07-26T17:52:14","modified_gmt":"2017-07-26T14:52:14","slug":"how-to-save-ldom-configuration-and-restore-from-xml-file","status":"publish","type":"post","link":"http:\/\/www.bilisimonline.net\/index.php\/2016\/10\/07\/how-to-save-ldom-configuration-and-restore-from-xml-file\/","title":{"rendered":"How to save LDOM configuration and restore from xml file"},"content":{"rendered":"<p align=\"JUSTIFY\"><a href=\"http:\/\/www.bilisimonline.net\/index.php\/2016\/04\/06\/ldom-oracle-vm-for-sparc\/\">LDOM Oracle VM for SPARC<\/a><\/p>\n<p align=\"JUSTIFY\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">Fiziksel sunumcunuzda olu\u015fabilecek bir hardware problemi vb. durumlarda olu\u015fturdu\u011fumuz LDOM sunumcular\u0131 tekrar kurabilmek i\u00e7in LDOM konfig\u00fcrasyonunu kaydetmek \u00f6nemlidir. Bu yaz\u0131m\u0131zda LDOM konfig\u00fcrasyonunun kaydedilmesi ve kaydedilen dosyadan yeniden kurulmas\u0131n\u0131 anlataca\u011f\u0131z.<\/span><\/span><!--more--><\/p>\n<h4 class=\"western\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">LDOM konfig\u00fcrasyonunun kaydedilmesi<\/span><\/span><\/h4>\n<p><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">Tek bir LDOM domain&#8217;in kaydedilmesi :<\/span><\/span><\/p>\n<pre class=\"western\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\"># ldm list-constraints -x ldom_name &gt; ldom_name.xml<\/span><\/span><\/pre>\n<p><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">T\u00fcm LDOM domain&#8217;lerin kaydedilmesi :<\/span><\/span><\/p>\n<pre class=\"western\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\"># ldm list-constraints -x &gt; all_ldoms.xml<\/span><\/span><\/pre>\n<h4 class=\"western\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">Kaydedilen LDOM konfig\u00fcrasyonundan domainin yeniden kurulmas\u0131<\/span><\/span><\/h4>\n<p><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">2 y\u00f6ntemle yap\u0131labilir.<\/span><\/span><\/p>\n<p><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\"><b>1. ldm add-domain komutu ve xml\u00a0dosyas\u0131<\/b><\/span><\/span><\/p>\n<p><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">Xml dosyas\u0131 kullan\u0131larak domain kurulur.<\/span><\/span><\/p>\n<pre class=\"western\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\"># ldm add-domain -i ldom01.xml<\/span><\/span><\/pre>\n<p><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">LDOM bind ve start edilir<\/span><\/span><\/p>\n<pre class=\"western\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\"># ldm bind ldom01<\/span><\/span>\r\n<span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\"># ldm start ldom01<\/span><\/span><\/pre>\n<p><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\"><b>2. ldm init-system komutu ve xml file<\/b><\/span><\/span><\/p>\n<p align=\"JUSTIFY\"><strong><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">Primary domain yeniden kurulmas\u0131<\/span><\/span><\/strong><\/p>\n<p align=\"JUSTIFY\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">Ge\u00e7erli sp konfig\u00fcrasyonunun factory default oldu\u011fundan emin olun. A\u015fa\u011f\u0131daki komut ile g\u00f6rebilirsiniz.<\/span><\/span><\/p>\n<p align=\"LEFT\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">primary# ldm list-config | grep \u201cfactory-default\u201d<br \/>\nfactory-default [current]<\/span><\/span><\/p>\n<pre class=\"western\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">primary# ldm init-system -r -i primary.xml<\/span><\/span>\r\n<span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">-r -&gt; reboot after configuration is complete<\/span><\/span>\r\n<span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">-i -&gt; specify xml file location<\/span><\/span><\/pre>\n<p><strong><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">T\u00fcm domain&#8217;lerin kurulmas\u0131<\/span><\/span><\/strong><\/p>\n<pre class=\"western\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\"># ldm init-system -r -i all_ldoms.xml<\/span><\/span><\/pre>\n<p><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">Sistem yeniden ba\u015flad\u0131ktan sonra domain&#8217;ler bind ve start edilir.<\/span><\/span><\/p>\n<pre class=\"western\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\"># ldm bind ldom01 <\/span><\/span>\r\n<span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\"># ldm start ldom01<\/span><\/span>\r\n<span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\"># ldm bind ldom02<\/span><\/span>\r\n<span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\"># ldm start ldom02<\/span><\/span><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>LDOM Oracle VM for SPARC Fiziksel sunumcunuzda olu\u015fabilecek bir hardware problemi vb. durumlarda olu\u015fturdu\u011fumuz LDOM sunumcular\u0131 tekrar kurabilmek i\u00e7in LDOM konfig\u00fcrasyonunu kaydetmek \u00f6nemlidir. Bu yaz\u0131m\u0131zda LDOM konfig\u00fcrasyonunun kaydedilmesi ve kaydedilen dosyadan yeniden kurulmas\u0131n\u0131 anlataca\u011f\u0131z.<\/p>\n","protected":false},"author":1,"featured_media":171,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[8,144,12,10],"tags":[145,308,886],"class_list":["post-594","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-os","category-oracle-vm-server-for-sparc","category-sanal","category-unix","tag-ldom","tag-list-constraints","tag-oracle-solaris-isletim-sistemi"],"jetpack_publicize_connections":[],"aioseo_notices":[],"views":2069,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.bilisimonline.net\/wp-content\/uploads\/2016\/04\/ldom-Architecture.jpg?fit=833%2C360","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7k56R-9A","jetpack-related-posts":[],"_links":{"self":[{"href":"http:\/\/www.bilisimonline.net\/index.php\/wp-json\/wp\/v2\/posts\/594"}],"collection":[{"href":"http:\/\/www.bilisimonline.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.bilisimonline.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.bilisimonline.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.bilisimonline.net\/index.php\/wp-json\/wp\/v2\/comments?post=594"}],"version-history":[{"count":6,"href":"http:\/\/www.bilisimonline.net\/index.php\/wp-json\/wp\/v2\/posts\/594\/revisions"}],"predecessor-version":[{"id":606,"href":"http:\/\/www.bilisimonline.net\/index.php\/wp-json\/wp\/v2\/posts\/594\/revisions\/606"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.bilisimonline.net\/index.php\/wp-json\/wp\/v2\/media\/171"}],"wp:attachment":[{"href":"http:\/\/www.bilisimonline.net\/index.php\/wp-json\/wp\/v2\/media?parent=594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.bilisimonline.net\/index.php\/wp-json\/wp\/v2\/categories?post=594"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.bilisimonline.net\/index.php\/wp-json\/wp\/v2\/tags?post=594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}