更改sybase下裝置名稱

來源:互聯網
上載者:User

一:基本情況環境:aix+ha+sybase 互備起因:由於之前擴tempdb空間,在兩台aix上建了相同的lv_tempdb名字,服務切換到同一台機器上,導致卷組不能啟用,服務啟動失敗處理辦法:更改系統資料表sysdevices停止sybase服務使用chlv -n 重新命名lv名字啟動syabase服務除此還需兩邊匯出卷組在重新匯入,ha同步校正等 二:以windows為例類比該步驟(重新命名tempdb裝置)1 裝置基本狀況 650) this.width=650;" border="0" alt="" src="http://www.bkjia.com/uploads/allimg/131229/1Z54445S-0.jpg" /> 2 更新裝置tempdb 裝置實體名稱字use master gosp_configure 'allow updates to system tables',1goupdate sysdevices set phyname=’E:\data\newtempdb’ where name=’tempdb’gosp_configure 'allow updates to system tables',0go 3 停止sybase服務,在作業系統更改裝置名稱字E:\data\tempdb----------------àE:\data\newtempdb 4 啟動sybase服務 5 驗證650) this.width=650;" border="0" alt="" src="http://www.bkjia.com/uploads/allimg/131229/1Z5444219-1.jpg" />  

本文出自 “myblog” 部落格,請務必保留此出處http://jiujian.blog.51cto.com/444665/1061330

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.