更改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

相關文章

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.