1. การสร้าง Enterprise Manager
emca -config dbcontrol db -repos create
เมื่อทำการรันคำสั่งแล้วจะพบข้อความต่างๆดังนี้ ให้ใส่ข้อมูลตามความเป็นจริงลงไป
Enter the following information:
Database SID:
Listener port number:
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
Database SID:
Listener port number:
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
2. การลบ Enterprise Manager
emca -deconfig dbcontrol db -repos drop
เมื่อทำการรันคำสั่งแล้วจะพบข้อความต่างๆดังนี้ ให้ใส่ข้อมูลตามความเป็นจริงลงไป
Enter the following information:
Database SID:
Listener port number:
Password for SYS user:
Password for SYSMAN user:
Database SID:
Listener port number:
Password for SYS user:
Password for SYSMAN user:
3. การลบและสร้างใหม่ Enterprise Manager
emca -config dbcontrol db -repos recreate
เมื่อทำการรันคำสั่งแล้วจะพบข้อความต่างๆดังนี้ ให้ใส่ข้อมูลตามความเป็นจริงลงไป
Enter the following information:
Database SID:
Database Control is already configured for the database
You have chosen to configure Database Control for managing the database
This will remove the existing configuration and the default settings and perform a fresh configuration
Do you wish to continue? [yes(Y)/no(N)]: Y
Listener port number:
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
Database SID:
Database Control is already configured for the database
You have chosen to configure Database Control for managing the database
This will remove the existing configuration and the default settings and perform a fresh configuration
Do you wish to continue? [yes(Y)/no(N)]: Y
Listener port number:
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
ในการสร้างหรือสร้างใหม่ Enterprise Manager นั้น จะใช้เวลาค่อนข้างนานครับ บางทีอาจจะใช้เวลาครึ่งชั่วโมงถึง 1 ชั่วโมงเลยทีเดียว จึงควรจัดสรรเวลาให้เหมาะสมและไม่มีผลกระทบต่อระบบการทำงานด้วยครับ
1 comment:
ถ้าเรามีการสร้าง job เอาไว้ แล้วเราไป drop มัน
job ที่สร้างไว้จะหายไปหรือป่าวครับ
???
Post a Comment