Change the device name under sybase

Source: Internet
Author: User
I. Basic Environment: aix + ha + sybase mutual backup cause: the same lv_tempdb name is created on the two aix servers due to the extended tempdb space, and the service is switched to the same machine, as a result, the volume group cannot be activated and the service starts.

I. Basic Environment: aix + ha + sybase mutual backup cause: the same lv_tempdb name is created on the two aix servers due to the extended tempdb space, and the service is switched to the same machine, as a result, the volume group cannot be activated and the service starts.

I. Basic Information

Environment: aix + ha + sybase mutual backup

Cause: the same lv_tempdb name was created on the two aix servers due to the previously extended tempdb space, and the service was switched to the same server. As a result, the volume group cannot be activated, Hong Kong Space, and VM, service startup failed

Solution: Change the system table sysdevices

Stop sybase Service

Use chlv-n to rename the lv name

Start the syabase Service

In addition, you need to re-import the volume groups on both sides, and perform ha synchronization verification.

2. Use windows as an example to simulate this step (rename the tempdb device)

1. Basic device status

Use master

Go

Sp_configure 'Allow updates to system tables ', 1

Go

Update sysdevices set phyname = 'e: \ data \ newtempdb 'where name = 'tempdb'

Go

Sp_configure 'Allow updates to system tables ', 0

Go

5. Verification

This article is from the "myblog" blog. Be sure to keep this source

, Hong Kong server

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.