?
Solved

Uninstall VSF 5 - Veritas

Posted on 2011-05-09
13
Medium Priority
?
617 Views
Last Modified: 2012-05-11
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
0
Comment
Question by:joaotelles
  • 7
  • 6
13 Comments
 

Author Comment

by:joaotelles
ID: 35718234
More Information:

root@labcla01:/>pkginfo -l VRTSvcs | grep VERSION
   VERSION:  5.0


0
 
LVL 16

Accepted Solution

by:
Joseph Gan earned 1000 total points
ID: 35724008
0
 

Author Comment

by:joaotelles
ID: 35727257
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
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 16

Expert Comment

by:Joseph Gan
ID: 35732666
What is output of "df -h" and "cat /etc/vfstab"
0
 

Author Comment

by:joaotelles
ID: 35736259
>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/libc_psr/libc_psr_hwcap1.so.1
                        20G    15G   4.4G    78%    /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
                        20G    15G   4.4G    78%    /platform/sun4u-us3/lib/sparcv9/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/dpsfw_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/dpsfw_vol /dev/vx/rdsk/labcla01_dp/dpsfw_vol /opt/smarttrust vxfs 0 yes suid

0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 35741525
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/dpsfw_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.
0
 

Author Comment

by:joaotelles
ID: 35794490
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?
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 35812499
Have you looked links privided above ?
0
 

Author Comment

by:joaotelles
ID: 35812958
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=RUNNING,Channel=IPM,Flags=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
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 35813184
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.
0
 

Author Comment

by:joaotelles
ID: 35828048
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/libc_psr/libc_psr_hwcap1.so.1
                        20G    18G   2.0G    91%    /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
                        20G    18G   2.0G    91%    /platform/sun4u-us3/lib/sparcv9/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?
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 35828084
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


0
 

Author Closing Comment

by:joaotelles
ID: 35828122
Tks for the help... VSF was removed successfully
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What do we know about Legacy Video Conferencing? - Full IT support needed! - Complicated systems at outrageous prices! - Intense training required! Highfive believes we need to embrace a new alternative.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question