今天,做soalris双机。第一次没成功,第二次走到配置心跳网卡的时候报:
由于自己无知,网上随便找了一篇资料,执行:#scinstall -r,,问题来了,SUNW*... done..卸载掉了sun cluster包,于是重新安装,包都是灰色的,没法装,硬装完也没有scinstall命令。
费了九牛二虎之力,终于搞定:
1、确保/etc/system、/etc/vfstab里sun的东西全部删掉。
2、确保/etc/cluster、/opt/cluster、/var/opt/cluster、/usr/cluster、/var/cluster文件删除。
3、关键一步,以root用户执行#/var/sadm/prod/SUNWentsysscver/uninstall
a、
Unable to access a usable display on the remote system. Continue in command-line mode?(Y/N)y
b、
回车
c、
[ ] 48. Sun Java(TM) System High Availability Session Store 4.4.3 58.89
MB
[ ] 49. Sun Java(TM) System Monitoring Console 1.0 Update 1 2.65 MB
Enter a comma separated list of products to uninstall
[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49]
{"<" goes back, "!" exits}:
输入1,2。。。49选择要卸载的所有组件。
d、
Enter 1 to Continue or 2 to go to product selection list again or Enter a
comma separated list of products to deselect. Enter "-" with product number
to deselect a product for eg. -5 will deselect product number 5 [1] {"<"
goes back, "!" exits}
输入1,继续
e、
Uninstalling these services can cause the loss of associated configuration
information.
Do you wish to proceed? (Yes/No) [No] {"<" goes back, "!" exits}
输入yes,go on
f、
Ready to Uninstall
----------------
The following components will be uninstalled.
Product: Java Availability Suite
Uninstall Location: /var/sadm/prod/SUNWentsyssc32u2
Space Reclaimed: 22.09 MB
---------------------------------------------------
Java DB
Java DB Server
Java DB Client
1. Uninstall
2. Start Over
3. Exit Uninstallation
What would you like to do [1] {"<" goes back, "!" exits}?
选择1,就开始卸载所有的组件了。
到此卸载结束,再把sun cluster重新安装一边,灰色的地方都变为可先状态啦,那个可爱的scinstall命令就出来了。
转载于:https://blog.51cto.com/guott/1280898