joaotelles
asked on
Uninstall VSF 5 - Veritas
Hi,
Im running VSF at a Solaris 10 machine and I want to uninstall it. Is there any link/documentation you guys can might indicate to do so?
Tks,
Joao Telles
Im running VSF at a Solaris 10 machine and I want to uninstall it. Is there any link/documentation you guys can might indicate to do so?
Tks,
Joao Telles
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi,
At the first link it says:
Move all of your data off any VxVM volumes or VxFS file systems that you have created. Unmount all VxFS file systems, and stop any applications that may be accessing VxVM volumes.
This is exactly the step Im not sure how to do... can you give me for info on this?
Tks,
Joao
At the first link it says:
Move all of your data off any VxVM volumes or VxFS file systems that you have created. Unmount all VxFS file systems, and stop any applications that may be accessing VxVM volumes.
This is exactly the step Im not sure how to do... can you give me for info on this?
Tks,
Joao
What is output of "df -h" and "cat /etc/vfstab"
ASKER
>df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 20G 15G 4.4G 78% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 2.4G 1.6M 2.4G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
/platform/sun4u-us3/lib/li bc_psr/lib c_psr_hwca p1.so.1
20G 15G 4.4G 78% /platform/sun4u-us3/lib/li bc_psr.so. 1
/platform/sun4u-us3/lib/sp arcv9/libc _psr/libc_ psr_hwcap1 .so.1
20G 15G 4.4G 78% /platform/sun4u-us3/lib/sp arcv9/libc _psr.so.1
fd 0K 0K 0K 0% /dev/fd
/dev/dsk/c1t0d0s1 11G 2.5G 8.0G 24% /var
swap 4.7G 2.4G 2.4G 50% /tmp
swap 2.4G 48K 2.4G 1% /var/run
swap 2.4G 0K 2.4G 0% /dev/vx/dmp
swap 2.4G 0K 2.4G 0% /dev/vx/rdmp
/dev/vx/dsk/labcla01_dp/dp sfw_vol
34G 11G 22G 34% /opt/smarttrust
/vol/dev/dsk/c0t0d0/8.1.0. h
470M 470M 0K 100% /cdrom/8.1.0.h
>cat /etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c1t0d0s3 - - swap - no -
/dev/dsk/c1t0d0s0 /dev/rdsk/c1t0d0s0 / ufs 1 no -
/dev/dsk/c1t0d0s1 /dev/rdsk/c1t0d0s1 /var ufs 1 no -
/devices - /devices devfs - no -
sharefs - /etc/dfs/sharetab sharefs - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
swap - /tmp tmpfs - yes -
/dev/vx/dsk/labcla01_dp/dp sfw_vol /dev/vx/rdsk/labcla01_dp/d psfw_vol /opt/smarttrust vxfs 0 yes suid
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 20G 15G 4.4G 78% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 2.4G 1.6M 2.4G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
/platform/sun4u-us3/lib/li
20G 15G 4.4G 78% /platform/sun4u-us3/lib/li
/platform/sun4u-us3/lib/sp
20G 15G 4.4G 78% /platform/sun4u-us3/lib/sp
fd 0K 0K 0K 0% /dev/fd
/dev/dsk/c1t0d0s1 11G 2.5G 8.0G 24% /var
swap 4.7G 2.4G 2.4G 50% /tmp
swap 2.4G 48K 2.4G 1% /var/run
swap 2.4G 0K 2.4G 0% /dev/vx/dmp
swap 2.4G 0K 2.4G 0% /dev/vx/rdmp
/dev/vx/dsk/labcla01_dp/dp
34G 11G 22G 34% /opt/smarttrust
/vol/dev/dsk/c0t0d0/8.1.0.
470M 470M 0K 100% /cdrom/8.1.0.h
>cat /etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c1t0d0s3 - - swap - no -
/dev/dsk/c1t0d0s0 /dev/rdsk/c1t0d0s0 / ufs 1 no -
/dev/dsk/c1t0d0s1 /dev/rdsk/c1t0d0s1 /var ufs 1 no -
/devices - /devices devfs - no -
sharefs - /etc/dfs/sharetab sharefs - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
swap - /tmp tmpfs - yes -
/dev/vx/dsk/labcla01_dp/dp
These three are VxFS:
swap 2.4G 0K 2.4G 0% /dev/vx/dmp
swap 2.4G 0K 2.4G 0% /dev/vx/rdmp
/dev/vx/dsk/labcla01_dp/dp sfw_vol
34G 11G 22G 34% /opt/smarttrust
Two "swap" partitions are not in use, can be remove with "swap -d". The other nedd to be copy to some where else before remove it.
swap 2.4G 0K 2.4G 0% /dev/vx/dmp
swap 2.4G 0K 2.4G 0% /dev/vx/rdmp
/dev/vx/dsk/labcla01_dp/dp
34G 11G 22G 34% /opt/smarttrust
Two "swap" partitions are not in use, can be remove with "swap -d". The other nedd to be copy to some where else before remove it.
ASKER
Hi,
Sorry for the late reply...
I have decided to remove only VCS...
I have one node in a cluster running Solaris 10 with VCS and VVM.
I removed this node from the cluster and the VCS packages.
Does anybody know how can I check if VCS is totally removed from the system?
I want to check this because when I run
pkginfo | grep VRTS
application VRTSaa Veritas Storage Foundation Management Server by Symantec
application VRTSalloc Veritas Storage Foundation Intelligent Storage Provisioning by Symantec
system VRTSat Symantec Product Authentication Service
application VRTSccg Veritas Storage Foundation Management Server by Symantec
I still see some packages in the output, but I think they are due to VVM that is installed. Is that right?
Sorry for the late reply...
I have decided to remove only VCS...
I have one node in a cluster running Solaris 10 with VCS and VVM.
I removed this node from the cluster and the VCS packages.
Does anybody know how can I check if VCS is totally removed from the system?
I want to check this because when I run
pkginfo | grep VRTS
application VRTSaa Veritas Storage Foundation Management Server by Symantec
application VRTSalloc Veritas Storage Foundation Intelligent Storage Provisioning by Symantec
system VRTSat Symantec Product Authentication Service
application VRTSccg Veritas Storage Foundation Management Server by Symantec
I still see some packages in the output, but I think they are due to VVM that is installed. Is that right?
Have you looked links privided above ?
ASKER
Hi,
Tks for your help so far...
Yes I did...
One of them refers to remove VVM and the other the VSF but none only the VCS...
I know at the beginning I wanted to remove the VSF but I changed my ming (sorry) now I wnat only to remove the VCS.
I have used this procedure:
=========================
This section describes how to remove a node from a cluster. As in previous examples, the following removes the system system03 from a three-node cluster. The procedure can be done from any node remaining in the cluster or from a remote host.
· Log in as root on a node other than system03.
· Stop all the cluster components on system03:
# cfscluster stop -f system03
· Stop VCS on the leaving node:
# hastop -sys system03
· Open the VCS configuration for writing:
# haconf -makerw
· Remove system03 from the system list attribute of the CVM and CFS service groups:
# hagrp -modify service_group SystemList -delete system03
# hagrp -modify cvm SystemList -delete system03
where service_group is the command that displays the service groups by hagrp -dep cvm.
If an error message similar to the following is displayed by either of the above commands:
VCS:10456:Configuration must be ReadWrite. ('hagrp -modify ...
-delete(0x10f)',Sysstate=R UNNING,Cha nnel=IPM,F lags=0x0)
repeat step 3 and the command that failed in step 4.
· Delete the node from the cluster.
# hasys -delete system03
· Write the new VCS configuration to disk:
# haconf -dump -makero
· Remove the following files on system03:
# rm /etc/llthosts
# rm /etc/llttab
# rm /etc/gabtab
· Reboot system03:
# /usr/sbin/shutdown -R -y 0
· Change to the install directory:
# cd /opt/VRTS/install
· From the scripts directory, run the deinstallation script:
# ./uninstallsfcfs
If you do not want to remove the VERITAS Cluster Server software, enter "N" (no) when prompted to uninstall VCS. For complete information on uninstalling VCS, refer to the VERITAS Cluster Server Installation Guide, on the software disc.
==================
Is it the right way to do it?
Could you pls check if its ok? And advice if its not?
Again: tks for your help so far,
Joao
Tks for your help so far...
Yes I did...
One of them refers to remove VVM and the other the VSF but none only the VCS...
I know at the beginning I wanted to remove the VSF but I changed my ming (sorry) now I wnat only to remove the VCS.
I have used this procedure:
=========================
This section describes how to remove a node from a cluster. As in previous examples, the following removes the system system03 from a three-node cluster. The procedure can be done from any node remaining in the cluster or from a remote host.
· Log in as root on a node other than system03.
· Stop all the cluster components on system03:
# cfscluster stop -f system03
· Stop VCS on the leaving node:
# hastop -sys system03
· Open the VCS configuration for writing:
# haconf -makerw
· Remove system03 from the system list attribute of the CVM and CFS service groups:
# hagrp -modify service_group SystemList -delete system03
# hagrp -modify cvm SystemList -delete system03
where service_group is the command that displays the service groups by hagrp -dep cvm.
If an error message similar to the following is displayed by either of the above commands:
VCS:10456:Configuration must be ReadWrite. ('hagrp -modify ...
-delete(0x10f)',Sysstate=R
repeat step 3 and the command that failed in step 4.
· Delete the node from the cluster.
# hasys -delete system03
· Write the new VCS configuration to disk:
# haconf -dump -makero
· Remove the following files on system03:
# rm /etc/llthosts
# rm /etc/llttab
# rm /etc/gabtab
· Reboot system03:
# /usr/sbin/shutdown -R -y 0
· Change to the install directory:
# cd /opt/VRTS/install
· From the scripts directory, run the deinstallation script:
# ./uninstallsfcfs
If you do not want to remove the VERITAS Cluster Server software, enter "N" (no) when prompted to uninstall VCS. For complete information on uninstalling VCS, refer to the VERITAS Cluster Server Installation Guide, on the software disc.
==================
Is it the right way to do it?
Could you pls check if its ok? And advice if its not?
Again: tks for your help so far,
Joao
Checked the process of uninstalling SFCFS, all look ok. Can check VCS, as I don't have VCS. But if it was the question, enter "N" when prompted to uninstall VCS was only way you could do.
Look into "For complete information on uninstalling VCS, refer to the VERITAS Cluster Server Installation Guide, on the software disc." as per message. But looks ok to me.
Look into "For complete information on uninstalling VCS, refer to the VERITAS Cluster Server Installation Guide, on the software disc." as per message. But looks ok to me.
ASKER
Tks for the help Ganjos.
The process worked but I had to do the whole VSF anyway.. :(
It also worked except for one node which I got this:
18:41:53 Checking labcla02 for attached volumes
18:41:54 None
18:41:55
Cannot check for open volumes on labcla02 because the vxconfigd process is not in enabled mode. You must affirm that there are no open
volumes if you want to continue.
18:41:55 Are there any open volumes on labcla02 [y,n,q] (n)
18:42:8 y
18:42:8 CPI ERROR V-9-11-2905 Cannot continue because of the open volumes: 1.
I dont have any vx volumes (i guess) at this node:
root@labcla02:/var/tmp>df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 20G 18G 2.0G 91% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 5.7G 1.6M 5.7G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
/platform/sun4u-us3/lib/li bc_psr/lib c_psr_hwca p1.so.1
20G 18G 2.0G 91% /platform/sun4u-us3/lib/li bc_psr.so. 1
/platform/sun4u-us3/lib/sp arcv9/libc _psr/libc_ psr_hwcap1 .so.1
20G 18G 2.0G 91% /platform/sun4u-us3/lib/sp arcv9/libc _psr.so.1
fd 0K 0K 0K 0% /dev/fd
/dev/dsk/c1t0d0s1 11G 6.7G 3.8G 64% /var
swap 5.7G 168K 5.7G 1% /tmp
swap 5.7G 40K 5.7G 1% /var/run
swap 5.7G 0K 5.7G 0% /dev/vx/dmp
swap 5.7G 0K 5.7G 0% /dev/vx/rdmp
/vol/dev/dsk/c0t0d0/090318 _1105
2.2G 2.2G 0K 100% /cdrom/090318_1105
root@labcla02:/var/tmp>
root@labcla02:/var/tmp>cat /etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c1t0d0s3 - - swap - no -
/dev/dsk/c1t0d0s0 /dev/rdsk/c1t0d0s0 / ufs 1 no -
/dev/dsk/c1t0d0s1 /dev/rdsk/c1t0d0s1 /var ufs 1 no -
/devices - /devices devfs - no -
sharefs - /etc/dfs/sharetab sharefs - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
swap - /tmp tmpfs - yes -
Any suggestion?
The process worked but I had to do the whole VSF anyway.. :(
It also worked except for one node which I got this:
18:41:53 Checking labcla02 for attached volumes
18:41:54 None
18:41:55
Cannot check for open volumes on labcla02 because the vxconfigd process is not in enabled mode. You must affirm that there are no open
volumes if you want to continue.
18:41:55 Are there any open volumes on labcla02 [y,n,q] (n)
18:42:8 y
18:42:8 CPI ERROR V-9-11-2905 Cannot continue because of the open volumes: 1.
I dont have any vx volumes (i guess) at this node:
root@labcla02:/var/tmp>df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 20G 18G 2.0G 91% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 5.7G 1.6M 5.7G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
/platform/sun4u-us3/lib/li
20G 18G 2.0G 91% /platform/sun4u-us3/lib/li
/platform/sun4u-us3/lib/sp
20G 18G 2.0G 91% /platform/sun4u-us3/lib/sp
fd 0K 0K 0K 0% /dev/fd
/dev/dsk/c1t0d0s1 11G 6.7G 3.8G 64% /var
swap 5.7G 168K 5.7G 1% /tmp
swap 5.7G 40K 5.7G 1% /var/run
swap 5.7G 0K 5.7G 0% /dev/vx/dmp
swap 5.7G 0K 5.7G 0% /dev/vx/rdmp
/vol/dev/dsk/c0t0d0/090318
2.2G 2.2G 0K 100% /cdrom/090318_1105
root@labcla02:/var/tmp>
root@labcla02:/var/tmp>cat
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c1t0d0s3 - - swap - no -
/dev/dsk/c1t0d0s0 /dev/rdsk/c1t0d0s0 / ufs 1 no -
/dev/dsk/c1t0d0s1 /dev/rdsk/c1t0d0s1 /var ufs 1 no -
/devices - /devices devfs - no -
sharefs - /etc/dfs/sharetab sharefs - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
swap - /tmp tmpfs - yes -
Any suggestion?
This two refer to vx volumes in "df -h":
swap 5.7G 0K 5.7G 0% /dev/vx/dmp
swap 5.7G 0K 5.7G 0% /dev/vx/rdmp
swap 5.7G 0K 5.7G 0% /dev/vx/dmp
swap 5.7G 0K 5.7G 0% /dev/vx/rdmp
ASKER
Tks for the help... VSF was removed successfully
ASKER
root@labcla01:/>pkginfo -l VRTSvcs | grep VERSION
VERSION: 5.0