Veritas Access Administrator's Guide

Last Published:
Product(s): Access (7.4)
Platform: Linux
  1. Section I. Introducing Veritas Access
    1. Introducing Veritas Access
      1.  
        About Veritas Access
      2.  
        Accessing the Veritas Access CLI
      3.  
        Navigating the Veritas Access CLI
      4.  
        Getting help using the Veritas Access command-line interface
      5.  
        Displaying the command history
      6.  
        Using the more command
  2. Section II. Configuring Veritas Access
    1. Adding users or roles
      1.  
        Adding Master, System Administrator, and Storage Administrator users
      2.  
        About user roles and privileges
      3.  
        About the naming requirements for adding new users
    2. Configuring the network
      1.  
        About configuring the Veritas Access network
      2.  
        About bonding Ethernet interfaces
      3.  
        Bonding Ethernet interfaces
      4.  
        Configuring DNS settings
      5.  
        About the IP addresses for the Ethernet interfaces
      6.  
        About Ethernet interfaces
      7.  
        Displaying current Ethernet interfaces and states
      8.  
        Configuring IP addresses
      9.  
        Configuring Veritas Access to use jumbo frames
      10.  
        Configuring VLAN interfaces
      11.  
        Configuring NIC devices
      12.  
        Swapping network interfaces
      13.  
        Excluding PCI IDs from the cluster
      14.  
        About configuring routing tables
      15.  
        Configuring routing tables
      16.  
        Changing the firewall settings
      17.  
        IP load balancing
    3. Configuring authentication services
      1.  
        About configuring LDAP settings
      2.  
        Configuring LDAP server settings
      3.  
        Administering the Veritas Access cluster's LDAP client
      4.  
        Configuring the NIS-related settings
      5.  
        Configuring NSS lookup order
  3. Section III. Managing Veritas Access storage
    1. Configuring storage
      1.  
        About storage provisioning and management
      2.  
        About configuring disks
      3.  
        About configuring storage pools
      4.  
        Configuring storage pools
      5.  
        About quotas for usage
      6.  
        Enabling, disabling, and displaying the status of file system quotas
      7.  
        Setting and displaying file system quotas
      8.  
        Setting user quotas for users of specified groups
      9.  
        About quotas for CIFS home directories
      10.  
        About Flexible Storage Sharing
      11.  
        Limitations of Flexible Storage Sharing
      12.  
        Configuring erasure coding for a Flexible Storage Sharing file system
      13.  
        Workflow for configuring and managing storage using the Veritas Access CLI
      14.  
        Displaying information for all disk devices associated with the nodes in a cluster
      15.  
        Displaying WWN information
      16.  
        Importing new LUNs forcefully for new or existing pools
      17.  
        Initiating host discovery of LUNs
      18.  
        Increasing the storage capacity of a LUN
      19.  
        Formatting or reinitializing a disk
      20.  
        Removing a disk
    2. Configuring data integrity with I/O fencing
      1.  
        About I/O fencing
      2. Configuring disk-based I/O fencing
        1.  
          Replacing an existing coordinator disk
        2.  
          Disabling I/O fencing
        3.  
          Destroying the coordinator pool
      3.  
        Using majority-based fencing
      4.  
        Manually enabling and disabling majority fencing in a non-SSH environment
      5.  
        Shutdown and restart the Veritas Access cluster in a non-SSH environment
    3. Configuring ISCSI
      1.  
        About iSCSI
      2.  
        Configuring the iSCSI initiator
      3.  
        Configuring the iSCSI initiator name
      4.  
        Configuring the iSCSI devices
      5.  
        Configuring discovery on iSCSI
      6.  
        Configuring the iSCSI targets
      7.  
        Modifying tunables for iSCSI
    4. Veritas Access as an iSCSI target
      1.  
        About Veritas Access as an iSCSI target
      2.  
        Managing the iSCSI target service
      3.  
        Managing the iSCSI targets
      4.  
        Managing the LUNs
      5.  
        Managing the mappings with iSCSI initiators
      6.  
        Managing the users
  4. Section IV. Managing Veritas Access file access services
    1. Configuring your NFS server
      1.  
        About using NFS server with Veritas Access
      2.  
        Using the kernel-based NFS server
      3.  
        Using the NFS-Ganesha server
      4.  
        Switching between NFS servers
      5.  
        Recommended tuning for NFS-Ganesha version 3 and version 4
      6.  
        Accessing the NFS server
      7.  
        Displaying and resetting NFS statistics
      8.  
        Configuring Veritas Access for ID mapping for NFS version 4
      9.  
        Configuring the NFS client for ID mapping for NFS version 4
      10.  
        About authenticating NFS clients
      11. Setting up Kerberos authentication for NFS clients
        1.  
          Adding and configuring Veritas Access to the Kerberos realm
    2. Using Veritas Access as a CIFS server
      1.  
        About configuring Veritas Access for CIFS
      2.  
        About configuring CIFS for standalone mode
      3.  
        Configuring CIFS server status for standalone mode
      4.  
        Changing security settings
      5.  
        Changing security settings after the CIFS server is stopped
      6. About Active Directory (AD)
        1.  
          Configuring entries for Veritas Access DNS for authenticating to Active Directory (AD)
        2.  
          Joining Veritas Access to Active Directory (AD)
        3.  
          Verifying that Veritas Access has joined Active Directory (AD) successfully
      7. About configuring CIFS for Active Directory (AD) domain mode
        1.  
          Configuring CIFS for the AD domain mode
        2.  
          Using multi-domain controller support in CIFS
        3.  
          About leaving an AD domain
        4.  
          Changing domain settings for AD domain mode
        5.  
          Removing the AD interface
      8.  
        Setting NTLM
      9. About setting trusted domains
        1.  
          Specifying trusted domains that are allowed access to the CIFS server
        2.  
          Allowing trusted domains access to CIFS when setting an IDMAP backend to rid
        3.  
          Allowing trusted domains access to CIFS when setting an IDMAP backend to ldap
        4.  
          Allowing trusted domains access to CIFS when setting an IDMAP backend to hash
        5.  
          Allowing trusted domains access to CIFS when setting an IDMAP backend to ad
        6.  
          About configuring Windows Active Directory as an IDMAP backend for CIFS
        7.  
          Configuring the Active Directory schema with CIFS-schema extensions
        8.  
          Configuring the LDAP client for authentication using the CLI
        9.  
          Configuring the CIFS server with the LDAP backend
        10.  
          Setting Active Directory trusted domains
      10.  
        About storing account information
      11.  
        Storing user and group accounts
      12.  
        Reconfiguring the CIFS service
      13.  
        About mapping user names for CIFS/NFS sharing
      14.  
        About the mapuser commands
      15.  
        Adding, removing, or displaying the mapping between CIFS and NFS users
      16.  
        Automatically mapping of UNIX users from LDAP to Windows users
      17. About managing home directories
        1.  
          Setting the home directory file systems
        2.  
          Setting up home directories
        3.  
          Displaying home directory usage information
        4.  
          Deleting home directories and disabling creation of home directories
      18. About CIFS clustering modes
        1.  
          About switching the clustering mode
      19. About migrating CIFS shares and home directories
        1.  
          Migrating CIFS shares and home directories from normal to ctdb clustering mode
        2.  
          Migrating CIFS shares and home directories from ctdb to normal clustering mode
      20.  
        Setting the CIFS aio_fork option
      21. About managing local users and groups
        1.  
          Creating a local CIFS user
        2.  
          Configuring a local group
      22.  
        Enabling CIFS data migration
    3. Configuring Veritas Access to work with Oracle Direct NFS
      1.  
        About using Veritas Access with Oracle Direct NFS
      2.  
        Best practices for improving Oracle database performance
      3.  
        About the Oracle Direct NFS architecture
      4.  
        About Oracle Direct NFS node or storage connection failures
      5.  
        Configuring an Oracle Direct NFS storage pool
      6.  
        Configuring an Oracle Direct NFS file system
      7.  
        Configuring an Oracle Direct NFS share
    4. Configuring an FTP server
      1.  
        About FTP
      2.  
        Creating the FTP home directory
      3.  
        Using the FTP server commands
      4.  
        About FTP server options
      5.  
        Customizing the FTP server options
      6.  
        Administering the FTP sessions
      7.  
        Uploading the FTP logs
      8.  
        Administering the FTP local user accounts
      9.  
        About the settings for the FTP local user accounts
      10.  
        Configuring settings for the FTP local user accounts
      11.  
        File sharing for a scale-out file system using FTP
  5. Section V. Managing the Veritas Access Object Store server
    1. Using Veritas Access as an Object Store server
      1.  
        About the Object Store server
      2.  
        Use cases for configuring the Object Store server
      3.  
        Configuring the Object Store server
      4.  
        About buckets and objects
      5.  
        File systems used for objectstore buckets
      6.  
        Multi-protocol support for NFS with S3
  6. Section VI. Monitoring and troubleshooting
    1. Configuring event notifications and audit logs topics
      1.  
        About event notifications
      2.  
        About severity levels and filters
      3.  
        About SNMP notifications
      4.  
        Configuring an email group
      5.  
        Configuring a syslog server
      6.  
        Exporting events in syslog format to a given URL
      7.  
        Displaying events on the console
      8.  
        Configuring events for event reporting
      9.  
        Configuring an SNMP management server
  7. Section VII. Provisioning and managing Veritas Access file systems
    1. Creating and maintaining file systems
      1.  
        About creating and maintaining file systems
      2.  
        About scale-out file systems
      3.  
        Erasure coding in a cluster file system (CFS) for NFS use case
      4.  
        About encryption at rest
      5. Considerations for creating a file system
        1.  
          Best practices for creating file systems
        2.  
          Choosing a file system layout type
        3.  
          Determining the initial extent size for a file system
        4.  
          About striping file systems
        5.  
          About creating a tuned file system for a specific workload
        6.  
          About FastResync
        7.  
          About scale-out fsck
        8.  
          Setting retention in files
        9.  
          Setting WORM over NFS
        10.  
          Manually setting WORM-retention on a file over CIFS
        11.  
          About managing application I/O workloads using maximum IOPS settings
      6.  
        Creating a file system
      7.  
        Bringing the file system online or offline
      8.  
        Listing all file systems and associated information
      9. Modifying a file system
        1.  
          Adding or removing a mirror from a file system
        2.  
          Adding or removing a column from a file system
        3.  
          Increasing the size of a file system
        4.  
          Decreasing the size of a file system
      10. Managing a file system
        1.  
          Defragmenting a file system
        2.  
          Checking and repairing a file system
        3.  
          Configuring FastResync for a file system
        4.  
          Disabling the FastResync option for a file system
        5.  
          Checking and resynchronizing stale mirrors
        6.  
          Setting file system alerts
        7.  
          Displaying file system alert values
        8.  
          Removing file system alerts
      11.  
        Destroying a file system
      12.  
        Upgrading disk layout versions
  8. Section VIII. Configuring cloud storage
    1. Configuring the cloud gateway
      1.  
        About the cloud gateway
      2.  
        Configuring the cloud gateway
    2. Configuring cloud as a tier
      1.  
        Configuring the cloud as a tier for scale-out file systems
      2.  
        Moving files between tiers in a scale-out file system
      3. About policies for scale-out file systems
        1.  
          About pattern matching for data movement policies
        2.  
          About schedules for running policies
        3.  
          Creating and scheduling a policy for a scale-out file system
      4.  
        Obtaining statistics on data usage in the cloud tier in scale-out file systems
      5.  
        Workflow for moving on-premises storage to cloud storage for NFS shares
  9. Section IX. Provisioning and managing Veritas Access shares
    1. Creating shares for applications
      1.  
        About file sharing protocols
      2.  
        About concurrent access
      3.  
        Sharing directories using CIFS and NFS protocols
      4.  
        Sharing a file system as a CIFS home directory
      5.  
        About concurrent access with NFS and S3
    2. Creating and maintaining NFS shares
      1.  
        About NFS file sharing
      2.  
        Displaying file systems and snapshots that can be exported
      3.  
        Exporting an NFS share
      4.  
        Displaying exported directories
      5.  
        About managing NFS shares using netgroups
      6.  
        Unexporting a directory or deleting NFS options
      7.  
        Exporting an NFS share for Kerberos authentication
      8.  
        Mounting an NFS share with Kerberos security from the NFS client
      9.  
        Exporting an NFS snapshot
    3. Creating and maintaining CIFS shares
      1.  
        About managing CIFS shares
      2.  
        Exporting a directory as a CIFS share
      3.  
        Configuring a CIFS share as secondary storage for an Enterprise Vault store
      4.  
        Exporting the same file system/directory as a different CIFS share
      5.  
        About the CIFS export options
      6.  
        Setting share properties
      7.  
        Hiding system files when adding a CIFS normal share
      8.  
        Displaying CIFS share properties
      9.  
        Allowing specified users and groups access to the CIFS share
      10.  
        Denying specified users and groups access to the CIFS share
      11.  
        Exporting a CIFS snapshot
      12.  
        Deleting a CIFS share
      13.  
        Modifying a CIFS share
      14.  
        Making a CIFS share shadow copy aware
      15.  
        Creating CIFS shares for a scale-out file system
    4. Using Veritas Access with OpenStack
      1.  
        About the Veritas Access integration with OpenStack
      2. About the Veritas Access integration with OpenStack Cinder
        1. About the Veritas Access integration with OpenStack Cinder architecture
          1. Veritas Access NFS-based Cinder driver
            1.  
              Configuring Veritas Access with OpenStack Cinder
          2.  
            Veritas Access iSCSI based Cinder driver
        2.  
          Configuring the OpenStack Cinder
      3. About the Veritas Access integration with OpenStack Manila
        1.  
          OpenStack Manila use cases
        2.  
          Configuring Veritas Access with OpenStack Manila
        3.  
          Creating a new share backend on the OpenStack controller node
        4.  
          Creating an OpenStack Manila share type
        5.  
          Creating an OpenStack Manila file share
        6.  
          Creating an OpenStack Manila share snapshot
    5. Integrating Veritas Access with Data Insight
      1.  
        Veritas Access integration with Data Insight
  10. Section X. Managing Veritas Access storage services
    1. Deduplicating data
      1.  
        About data deduplication
      2.  
        Best practices for using the Veritas Access deduplication feature
      3.  
        Setting up deduplication
      4.  
        Configuring deduplication
      5.  
        Manually running deduplication
      6.  
        Scheduling deduplication
      7.  
        Setting deduplication parameters
      8.  
        Removing deduplication
      9.  
        Verifying deduplication
    2. Compressing files
      1. About compressing files
        1.  
          About the compressed file format
        2.  
          About the file compression attributes
        3.  
          About the file compression block size
      2.  
        Use cases for compressing files
      3.  
        Best practices for using compression
      4. Compression tasks
        1.  
          Compressing files
        2.  
          Showing the scheduled compression job
        3.  
          Scheduling compression jobs
        4.  
          Listing compressed files
        5.  
          Uncompressing files
        6.  
          Modifying the scheduled compression
        7.  
          Removing the specified schedule
        8.  
          Stopping the schedule for a file system
        9.  
          Removing the pattern-related rule for a file system
        10.  
          Removing the modified age related rule for a file system
    3. Configuring SmartTier
      1.  
        About Veritas Access SmartTier
      2.  
        How Veritas Access uses SmartTier
      3.  
        Configuring the policy of each tiered file system
      4.  
        Adding tiers to a file system
      5.  
        Adding or removing a column from a secondary tier of a file system
      6.  
        Configuring a mirror to a tier of a file system
      7.  
        Listing all of the files on the specified tier
      8.  
        Displaying a list of SmartTier file systems
      9.  
        About tiering policies
      10.  
        About configuring the policy of each tiered file system
      11.  
        Best practices for setting relocation policies
      12.  
        Relocating a file or directory of a tiered file system
      13.  
        Displaying the tier location of a specified file
      14.  
        About configuring schedules for all tiered file systems
      15.  
        Configuring schedules for tiered file systems
      16.  
        Displaying the files that may be moved or pruned by running a policy
      17.  
        Allowing metadata information on the file system to be written on the secondary tier
      18.  
        Restricting metadata information to the primary tier only
      19.  
        Removing a tier from a file system
    4. Configuring SmartIO
      1.  
        About SmartIO for solid-state drives
      2.  
        About configuring SmartIO
      3.  
        About SmartIO read caching for applications running on Veritas Access file systems
      4.  
        Setting up SmartIO read caching for Veritas Access
      5.  
        About SmartIO writeback caching for applications running on Veritas Access file systems
      6.  
        Tuning the writeback caching
      7.  
        Flushing dirty data from a writeback cache area
      8.  
        Setting up SmartIO writeback caching for VxFS file systems
      9.  
        Verifying the VxFS cache area and monitoring the caching
      10.  
        Setting the caching mode
      11.  
        Customizing the caching behavior
      12.  
        Viewing the caching statistics for a cache area
    5. Configuring episodic replication
      1.  
        About Veritas Access episodic replication
      2.  
        How Veritas Access episodic replication works
      3.  
        Starting Veritas Access episodic replication
      4.  
        Setting up communication between the source and the destination clusters
      5.  
        Setting up the file systems to replicate
      6.  
        Setting up files to exclude from an episodic replication unit
      7.  
        Scheduling the episodic replication
      8.  
        Defining what to replicate
      9.  
        About the maximum number of parallel episodic replication jobs
      10.  
        Managing an episodic replication job
      11.  
        Replicating compressed data
      12.  
        Displaying episodic replication job information and status
      13.  
        Synchronizing an episodic replication job
      14.  
        Behavior of the file systems on the episodic replication destination target
      15.  
        Accessing file systems configured as episodic replication destinations
      16.  
        Creating a recovery point objective (RPO) report
      17. Episodic replication job failover and failback
        1.  
          Process summary
        2.  
          Overview of the planned failover process
        3.  
          Overview of the planned failback process
        4.  
          Overview of the unplanned failover process
        5.  
          Overview of the unplanned failback process
    6. Configuring continuous replication
      1.  
        About Veritas Access continuous replication
      2. How Veritas Access continuous replication works
        1.  
          How data flows in continuous replication synchronous mode
        2.  
          How data flows in continuous replication asynchronous mode
      3.  
        Starting Veritas Access continuous replication
      4.  
        Setting up communication between the source and the destination clusters
      5.  
        Setting up the file system to replicate
      6.  
        Managing continuous replication
      7.  
        Displaying continuous replication information and status
      8.  
        Unconfiguring continuous replication
      9. Continuous replication failover and failback
        1.  
          Process summary
        2.  
          Overview of the planned failover process
        3.  
          Overview of the planned failback process
        4.  
          Overview of the unplanned failover process
        5.  
          Overview of the unplanned failback process
    7. Using snapshots
      1.  
        About snapshots
      2.  
        Creating snapshots
      3.  
        Displaying snapshots
      4.  
        Managing disk space used by snapshots
      5.  
        Bringing snapshots online or taking snapshots offline
      6.  
        Restoring a snapshot
      7.  
        About snapshot schedules
      8.  
        Configuring snapshot schedules
      9.  
        Managing automated snapshots
    8. Using instant rollbacks
      1.  
        About instant rollbacks
      2.  
        Creating a space-optimized rollback
      3.  
        Creating a full-sized rollback
      4.  
        Listing Veritas Access instant rollbacks
      5.  
        Restoring a file system from an instant rollback
      6.  
        Refreshing an instant rollback from a file system
      7.  
        Bringing an instant rollback online
      8.  
        Taking an instant rollback offline
      9.  
        Destroying an instant rollback
      10.  
        Creating a shared cache object for Veritas Access instant rollbacks
      11.  
        Listing cache objects
      12.  
        Destroying a cache object of a Veritas Access instant rollback
    9. Configuring Veritas Access with the NetBackup client
      1.  
        About Veritas Access as a NetBackup client
      2.  
        Prerequisites for configuring the NetBackup client
      3.  
        About the NetBackup Snapshot Client
      4.  
        About NetBackup snapshot methods
      5.  
        Enabling or disabling the NetBackup SAN client
      6.  
        Workflow for configuring Veritas Access for NetBackup
      7.  
        Registering a NetBackup master server or adding an optional media server
      8.  
        Displaying the excluded files from backup
      9.  
        Displaying the included and excluded files for backups
      10.  
        Adding or deleting patterns to the list of files in backups
      11.  
        Configuring or resetting the virtual IP address used by NetBackup
      12.  
        Configuring the virtual name of NetBackup
      13.  
        Displaying the status of NetBackup services
      14.  
        Configuring backup operations using NetBackup or other third-party backup applications
      15.  
        Performing a backup or restore of a Veritas Access file system over a NetBackup SAN client
      16.  
        Performing a backup or restore of a snapshot
      17.  
        Installing or uninstalling the NetBackup client
      18.  
        Configuring Veritas Access for NetBackup cloud storage
  11. Section XI. Reference
    1. Appendix A. Veritas Access documentation
      1.  
        Using the Veritas Access product documentation
      2.  
        About accessing the online man pages
    2. Appendix B. Veritas Access tuning
      1.  
        File system mount-time memory usage
    3. Appendix C. Manual steps for addition and deletion of nodes in a non-SSH environment
      1.  
        Adding a new node to a Veritas Access cluster
      2.  
        Deleting a node from a Veritas Access cluster

Adding a new node to a Veritas Access cluster

This section describes the manual steps for addition of nodes to a cluster when SSH communication is disabled.

Pre-requisites

  • Supported operating system version is: RHEL 7.4

  • It is assumed that Veritas Access image is present in your local system at the /access_build_dir/rhel7_x86_64/ location.

  • The cluster is named as clus and the cluster nodes are named as clus_01 and clus_02. Cluster names should be unique for all nodes.

  • Install and run Veritas Access on a single node and then add a new node to create a two-node cluster.

  • SSH service is stopped on all the nodes.

  • Assume that the public NICs are pubeth0, pubeth1, and private NICs are priveth0 and priveth1. NIC names should be consistent across all nodes. Public NIC names and private NIC names should be same across all nodes.

  • Use 172.16.0.3 as private IP address for clus_01 and 172.16.0.4 as private IP address for clus_02.

  • The new node is added to a freshly installed Veritas Access cluster.

To add a new node to a Veritas Access cluster

  1. Copy the Veritas Access image on the new node of the desired cluster.
  2. Stop the SSH daemon on all the nodes.
    # systemctl stop sshd
  3. Verify if the following rpms are installed. If not, install the rpms from the RHEL repository.
    bash-4.2.46-28.el7.x86_64
    lsscsi-0.27-6.el7.x86_64
    initscripts-9.49.39-1.el7.x86_64
    iproute-3.10.0-87.el7.x86_64
    kmod-20-15.el7.x86_64
    coreutils-8.22-18.el7.x86_64
    binutils-2.25.1-31.base.el7.x86_64
    python-requests-2.6.0-1.el7_1.noarch
    python-urllib3-1.10.2-3.el7.noarch
  4. Install the required operating system rpms.
    • Create a repo file.

      cat /etc/yum.repos.d/os.repo   
      		[veritas-access-os-rpms]
      		name=Veritas Access OS RPMS
      		baseurl=file:///access_build_dir/rhel7_x86_64/os_rpms/
      		enabled=1
      		gpgcheck=0
    • Run the following command:

      # yum updateinfo
    • Run the following command:

      # cd /access_build_dir/rhel7_x86_64/os_rpms/
    • Before running the following command, make sure that there is no RHEL subscription in the system. The yum repolist should point to veritas-access-os-rpms only.

    # /usr/bin/yum -y install --setopt=protected_multilib=false 
    perl-5.16.3-292.el7.x86_64.rpm nmap-ncat-6.40-7.el7.x86_64.rpm 
    perl-LDAP-0.56-5.el7.noarch.rpm perl-Convert-ASN1-0.26-4.el7.noarch.rpm 
    net-snmp-5.7.2-28.el7_4.1.x86_64.rpm 
    net-snmp-utils-5.7.2-28.el7_4.1.x86_64.rpm 
    openldap-2.4.44-5.el7.x86_64.rpm nss-pam-ldapd-0.8.13-8.el7.x86_64.rpm 
    rrdtool-1.4.8-9.el7.x86_64.rpm wireshark-1.10.14-14.el7.x86_64.rpm 
    vsftpd-3.0.2-22.el7.x86_64.rpm openssl-1.0.2k-12.el7.x86_64.rpm 
    openssl-devel-1.0.2k-12.el7.x86_64.rpm 
    iscsi-initiator-utils-6.2.0.874-4.el7.x86_64.rpm 
    libpcap-1.5.3-9.el7.x86_64.rpm libtirpc-0.2.4-0.10.el7.x86_64.rpm 
    nfs-utils-1.3.0-0.48.el7_4.2.x86_64.rpm 
    kernel-debuginfo-common-x86_64-3.10.0-693.el7.x86_64.rpm 
    kernel-debuginfo-3.10.0-693.el7.x86_64.rpm 
    kernel-headers-3.10.0-693.el7.x86_64.rpm 
    krb5-devel-1.15.1-8.el7.x86_64.rpm 
    krb5-libs-1.15.1-8.el7.x86_64.rpm 
    krb5-workstation-1.15.1-8.el7.x86_64.rpm 
    perl-JSON-2.59-2.el7.noarch.rpm telnet-0.17-64.el7.x86_64.rpm 
    apr-devel-1.4.8-3.el7_4.1.x86_64.rpm 
    apr-util-devel-1.5.2-6.el7.x86_64.rpm 
    glibc-common-2.17-196.el7_4.2.x86_64.rpm 
    glibc-headers-2.17-196.el7_4.2.x86_64.rpm 
    glibc-2.17-196.el7_4.2.x86_64.rpm glibc-2.17-196.el7_4.2.i686.rpm 
    glibc-devel-2.17-196.el7_4.2.x86_64.rpm 
    glibc-utils-2.17-196.el7_4.2.x86_64.rpm 
    nscd-2.17-196.el7_4.2.x86_64.rpm sysstat-10.1.5-12.el7.x86_64.rpm 
    libibverbs-utils-13-7.el7.x86_64.rpm libibumad-13-7.el7.x86_64.rpm 
    opensm-3.3.19-1.el7.x86_64.rpm opensm-libs-3.3.19-1.el7.x86_64.rpm 
    infiniband-diags-1.6.7-1.el7.x86_64.rpm 
    sg3_utils-libs-1.37-12.el7.x86_64.rpm sg3_utils-1.37-12.el7.x86_64.rpm 
    libyaml-0.1.4-11.el7_0.x86_64.rpm 
    memcached-1.4.15-10.el7_3.1.x86_64.rpm 
    python-memcached-1.59-1.noarch.rpm 
    python-paramiko-2.1.1-4.el7.noarch.rpm 
    python-backports-1.0-8.el7.x86_64.rpm 
    python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch.rpm 
    python-chardet-2.2.1-1.el7_1.noarch.rpm 
    python-six-1.9.0-2.el7.noarch.rpm 
    python-setuptools-0.9.8-7.el7.noarch.rpm 
    python-ipaddress-1.0.16-2.el7.noarch.rpm 
    targetcli-2.1.fb46-1.el7.noarch.rpm 
    fuse-2.9.2-8.el7.x86_64.rpm fuse-devel-2.9.2-8.el7.x86_64.rpm 
    fuse-libs-2.9.2-8.el7.x86_64.rpm PyYAML-3.10-11.el7.x86_64.rpm 
    arptables-0.0.4-8.el7.x86_64.rpm ipvsadm-1.27-7.el7.x86_64.rpm 
    ntpdate-4.2.6p5-25.el7_3.2.x86_64.rpm ntp-4.2.6p5-25.el7_3.2.x86_64.rpm 
    autogen-libopts-5.18-5.el7.x86_64.rpm ethtool-4.8-1.el7.x86_64.rpm 
    net-tools-2.0-0.22.20131004git.el7.x86_64.rpm 
    cups-libs-1.6.3-29.el7.x86_64.rpm avahi-libs-0.6.31-17.el7.x86_64.rpm 
    psmisc-22.20-15.el7.x86_64.rpm strace-4.12-4.el7.x86_64.rpm 
    vim-enhanced-7.4.160-2.el7.x86_64.rpm at-3.1.13-22.el7_4.2.x86_64.rpm 
    rsh-0.17-76.el7_1.1.x86_64.rpm unzip-6.0-16.el7.x86_64.rpm 
    zip-3.0-11.el7.x86_64.rpm bzip2-1.0.6-13.el7.x86_64.rpm 
    mlocate-0.26-6.el7.x86_64.rpm lshw-B.02.18-7.el7.x86_64.rpm 
    jansson-2.10-1.el7.x86_64.rpm ypbind-1.37.1-9.el7.x86_64.rpm 
    yp-tools-2.14-5.el7.x86_64.rpm perl-Net-Telnet-3.03-19.el7.noarch.rpm 
    tzdata-java-2018d-1.el7.noarch.rpm 
    perl-XML-Parser-2.41-10.el7.x86_64.rpm 
    lsof-4.87-4.el7.x86_64.rpm cairo-1.14.8-2.el7.x86_64.rpm 
    pango-1.40.4-1.el7.x86_64.rpm libjpeg-turbo-1.2.90-5.el7.x86_64.rpm 
    sos-3.4-13.el7_4.noarch.rpm traceroute-2.0.22-2.el7.x86_64.rpm 
    openldap-clients-2.4.44-5.el7.x86_64.rpm
  5. Install the third-party rpms:
    # cd /access_build_dir/rhel7_x86_64/third_party_rpms/
    # /bin/rpm -U -v --oldpackage --nodeps --replacefiles --replacepkgs 
    ctdb-4.6.6-1.el7.x86_64.rpm 
    perl-Template-Toolkit-2.24-5.el7.x86_64.rpm  
    perl-Template-Extract-0.41-1.noarch.rpm 
    perl-AppConfig-1.66-20.el7.noarch.rpm 
    perl-File-HomeDir-1.00-4.el7.noarch.rpm 
    samba-common-4.6.6-1.el7.x86_64.rpm 
    samba-common-libs-4.6.6-1.el7.x86_64.rpm 
    samba-client-4.6.6-1.el7.x86_64.rpm 
    samba-client-libs-4.6.6-1.el7.x86_64.rpm 
    samba-4.6.6-1.el7.x86_64.rpm 
    samba-winbind-4.6.6-1.el7.x86_64.rpm 
    samba-winbind-clients-4.6.6-1.el7.x86_64.rpm 
    samba-winbind-krb5-locator-4.6.6-1.el7.x86_64.rpm 
    libsmbclient-4.6.6-1.el7.x86_64.rpm 
    samba-krb5-printing-4.6.6-1.el7.x86_64.rpm 
    samba-libs-4.6.6-1.el7.x86_64.rpm 
    libwbclient-4.6.6-1.el7.x86_64.rpm 
    samba-winbind-modules-4.6.6-1.el7.x86_64.rpm 
    libnet-1.1.6-7.el7.x86_64.rpm lmdb-libs-0.9.13-2.el7.x86_64.rpm 
    nfs-ganesha-2.2.0-0.el7.x86_64.rpm 
    nfs-ganesha-vxfs-2.2.0-0.el7.x86_64.rpm gevent-1.0.2-1.x86_64.rpm 
    python-msgpack-0.4.6-1.el7ost.x86_64.rpm 
    python-flask-0.10.1-4.el7.noarch.rpm 
    python-itsdangerous-0.23-2.el7.noarch.rpm 
    libevent-libs-2.0.22-1.el7.x86_64.rpm 
    python-werkzeug-0.9.1-2.el7.noarch.rpm 
    python-jinja2-2.7.2-2.el7.noarch.rpm sdfs-7.4.0.0-1.x86_64.rpm 
    psutil-4.3.0-1.x86_64.rpm 
    python-crontab-2.2.4-1.noarch.rpm libuv-1.9.1-1.el7.x86_64.rpm

    In this command, you can update the rpm version based on the rpms in the /access_build_dir/rhel7_x86_64/third_party_rpms/ directory.

  6. Install the Veritas Access rpms.
    • Run the following command:

      # cd /access_build_dir/rhel7_x86_64/rpms/repodata/
      # cat access73.repo > /etc/yum.repos.d/access73.repo
    • Update the baseurl and gpgkey entry in the /etc/yum.repos.d/access73.repo for yum repository directory.

      • baseurl=file:///access_build_dir/rhel7_x86_64/rpms/
      • gpgkey=file:///access_build_dir/rhel7_x86_64/rpms/
        RPM-GPG-KEY-veritas-access7
    • Run the following commands to refresh the yum repository.

      • 	# yum repolist
      • 	# yum grouplist
    • Run the following command.

      # yum -y groupinstall ACCESS73
    • Run the following command.

      # /opt/VRTS/install/bin/add_install_scripts
  7. Install the Veritas NetBackup client software.
    # cd /access_build_dir/rhel7_x86_64
    # /opt/VRTSnas/install/image_install/netbackup/install_netbackup.pl 
    /access_build_dir/rhel7_x86_64/netbackup
  8. Create soft links for Veritas Access. Run the following command.
    # /opt/VRTSnas/pysnas/install/install_tasks.py 
    all_rpms_installed parallel
  9. License the product.
    • Register the permanent VLIC key.

      # /opt/VRTSvlic/bin/vxlicinstupgrade -k <Key>
    • Verify that the VLIC key is installed properly:

      # /opt/VRTSvlic/bin/vxlicrep
    • Register the SLIC key file:

      # /opt/VRTSslic/bin/vxlicinstupgrade -k $keyfile
    • Verify that the SLIC key is installed properly:

      # /opt/VRTSslic/bin/vxlicrep
  10. Take a backup of the following files:
    • /etc/sysconfig/network

    • /etc/sysconfig/network-scripts/ifcfg-*

    • /etc/resolv.conf

  11. Configure the private NIC:
    # cd /etc/sysconfig/network-scripts/
    • Configure the first private NIC.

      • Run the following command.

        # ip link set down priveth0
      • Update the ifcfg-priveth0 file with the following:

        DEVICE=priveth0
        NAME=priveth0
        BOOTPROTO=none
        TYPE=Ethernet
        ONBOOT=yes
      • Add entries in the ifcfg-priveth0 file.

        HWADDR=<MAC address>
        IPADDR= 172.16.0.3		(use IPADDR= 172.16.0.4 for second node)
        NETMASK=<netmask>		
        NM_CONTROLLED=no

        For example:

        HWADDR=00:0c:29:0c:8d:69
        IPADDR=172.16.0.3
        NETMASK=255.255.248.0
        NM_CONTROLLED=no
      • Run the following command.

        # ip link set up priveth0
    • Configure the second private NIC.

      You can configure the second private NIC in the same way. Instead of priveth0, use priveth1 for second node. You do not need to provide IPADDR for priveth1.

  12. Configure the public NIC.
    # cd /etc/sysconfig/network-scripts/
    • Configure the second public NIC, pubth1 (in which the host IP is not already configured).

      • Run the following command:

        # ip link set down pubeth1
      • Update the ifcfg-pubeth1 file with the following:

        DEVICE=pubeth1
        NAME=pubeth1
        TYPE=Ethernet
        BOOTPROTO=none
        ONBOOT=yes
      • Add entries in the ifcfg-pubeth1 file.

        HWADDR=<MAC address>
        IPADDR=<pubeth1_pub_ip>
        NETMASK=<netmask>
        NM_CONTROLLED=no
      • Run the following command.

        # ip link set up pubeth1
    • Configure the first public NIC, pubeth0.

      • As the first public NIC will go down, make sure that you access the system directly from its console.

      • Run the following command:

        # ip link set down pubeth0
      • Update the ifcfg-pubeth0 file with the following:

        DEVICE=pubeth0
        NAME=pubeth0
        TYPE=Ethernet
        BOOTPROTO=none
        ONBOOT=yes
      • Add entries in the ifcfg-pubeth0 file.

        HWADDR=<MAC address>
        IPADDR=<pubeth0_pub_ip>
        NETMASK=<netmask>
        NM_CONTROLLED=no
      • Run the following command.

        # ip link set up pubeth0
      • Verify the changes.

        # ip a
      • Run the following command.

        # service network restart

        SSH to the above-mentioned IP should work if you start the sshd service.

  13. Configure the DNS.

    Update the /etc/resolv.conf file by adding the following entries:

    nameserver <DNS>
    domain <master node name>

    For example:

    nameserver 10.182.128.134
    domain clus_01
  14. Configure the gateway.

    Update the /etc/sysconfig/network file.

    GATEWAY=$gateway
    NOZEROCONF=yes
  15. Update the configfileTemplate file.
    • Enter the following command:

      # cd /access_build_dir/rhel7_x86_64/manual_install/network
    • Update the configfileTemplate file with the current system details:

      • Use master as the mode for the master node and slave as the mode for the other nodes.

      • This template file is used by the configuration utility script to create configuration files.

      • Provide the same name (current host name) in old_hostname and new_hostname.

      • If you install Veritas Access on a single node, then that node acts as master node. Hence, you have to provide only the master node information in the template file.

  16. Generate the network configuration files.
    • The configuration utility script named configNetworkHelper.pl creates the required configuration files.

      # cd /access_build_dir/rhel7_x86_64/manual_install/network
      # chmod +x configNetworkHelper.pl
    • Run the configuration utility script.

      # ./configNetworkHelper.pl -f configfileTemplate
    • # cat /opt/VRTSnas/scripts/net/network_options.conf > 
      /opt/VRTSnas/conf/network_options.conf
    • # sed -i -e '$a\' /opt/VRTSnas/conf/net_console_ip.conf
    • Update the /etc/hosts file.

      # echo "172.16.0.3 	<master hostname>" >> /etc/hosts
      # echo "172.16.0.4 	<slave node name>" >> /etc/hosts

      For example:

      # echo "172.16.0.3 	clus_01" >> /etc/hosts
      # echo "172.16.0.4 	clus_02" >> /etc/hosts
  17. Create the S3 configuration file.
    # cat /opt/VRTSnas/conf/ssnas.yml
    ObjectAccess:
      config: {admin_port: 8144, s3_port: 8143, server_enable: 'no', 
      ssl: 'no'}
      defaults:
        fs_blksize: '8192'
        fs_encrypt: 'off'
        fs_nmirrors: '2'
        fs_options: ''
        fs_pdirenable: 'yes'
        fs_protection: disk
        fs_sharing: 'no'
        fs_size: 20G
        fs_type: mirrored
        poollist: []
      filesystems: {}
      groups: {}
      pools: {}
  18. Set up the Storage Foundation cluster.
    • # cd /access_build_dir/rhel7_x86_64/manual_install/
      network/SetupClusterScripts
    • # mkdir -p /opt/VRTSperl/lib/site_perl/UXRT72/CPIR/Module/veritas/
    • # cp sfcfsha_ctrl.sh /opt/VRTSperl/lib/site_perl/UXRT72/CPIR/
      Module/veritas/sfcfsha_ctrl.sh
    • # cp module_script.pl /tmp/
    • # chmod +x /tmp/module_script.pl
    • Update the cluster name, system name, and NIC name in the following command and execute it:

      # /tmp/module_script.pl veritas::sfcfsha_config '{"cluster_name" => 
      "<Provide cluster name here>","component" => "sfcfsha","state" => 
      "present","vcs_users" => "admin:password:Administrators,user1:
      passwd1:Operators", "vcs_clusterid" => 14865,"cluster_uuid" => 
      "1391a-443ab-2b34c","method" => "ethernet","systems" => 
      "<Provide hostnames separated by comma>",
      "private_link" => "<Private NIC name separated by comma>"}'

      For example, if the cluster name is clus and host names are clus_01 and clus_02.

      # /tmp/module_script.pl veritas::sfcfsha_config '{"cluster_name" => 
      "clus","component" => "sfcfsha","state" => "present","vcs_users" => 
      "admin:password:Administrators,user1:passwd1:Operators",
      "vcs_clusterid" => 14865,"cluster_uuid" => "1391a-443ab-2b34c",
      "method" => "ethernet","systems" => "clus_01,clus_02",
      "private_link" => "priveth0,priveth1"}'
    • Update and configure the following files:

      • # rpm -q --queryformat '%{VERSION}|%{BUILDTIME:date}|
        %{INSTALLTIME:date}|%{VERSION}\n' VRTSnas > 
        /opt/VRTSnas/conf/version.conf
      • # echo NORMAL > /opt/VRTSnas/conf/cluster_type
      • # echo 'path /opt/VRTSsnas/core/kernel/' >> /etc/kdump.conf
      • # sed -i '/^core_collector\b/d;' /etc/kdump.conf
      • # echo 'core_collector makedumpfile -c --message-level 1 -d 31' >> 
        /etc/kdump.conf
  19. Start the Veritas Access product processes.
    • Provide the current host name in the following command and execute it.

      # /tmp/module_script.pl veritas::process '{"state" => "present",
      "seednode" => "<provide current hostname here>","component"
       => "sfcfsha"}'

      For example, if the hostname of new node is clus_02:

      # /tmp/module_script.pl veritas::process '{"state" => 
      "present","seednode" => "clus_02","component" => "sfcfsha"}'
    • Run the following command.

      # /opt/VRTSnas/pysnas/install/install_tasks.py 
      all_services_running serial
  20. Create the CVM group.

    If the /etc/vx/reconfig.d/state.d/install-db file exists, then execute the following command.

    # mv /etc/vx/reconfig.d/state.d/install-db 
    /etc/vx/reconfig.d/state.d/install-db.a

    If CVM is not configured already then run the following command on the master node.

    # /opt/VRTS/bin/cfscluster config -t 200 -s
  21. Enable hacli.

    Verify in /etc/VRTSvcs/conf/config/main.cf file. If "HacliUserLevel = COMMANDROOT" exists, then move to step 22, else follow below steps to enable hacli in your system.

    # /opt/VRTS/bin/hastop -local

    Update the /etc/VRTSvcs/conf/config/main.cf file.

    If it does not exist, then add the following line:

    HacliUserLevel = COMMANDROOT 	in cluster <cluster name> ( ) loop

    For example:

    cluster clus (
    			UserNames = { admin = aHIaHChEIdIIgQIcHF, user1 = aHIaHChEIdIIgFEb }
    			Administrators = { admin }
    			Operators = { user1 }
    			HacliUserLevel = COMMANDROOT
    # /opt/VRTS/bin/hastart

    Verify that hacli is working.

    # /opt/VRTS/bin/hacli -cmd "ls /" -sys clus_01
  22. Verify that the HAD daemon is running.
    # /opt/VRTS/bin/hastatus -sum
  23. Mention that SSH is disabled.

    On all the nodes, create a communication.conf file to enable hacli instead of ssh.

    vim /opt/VRTSnas/conf/communication.conf
    {
    	"WorkingVersion": "1",
    	"Version": "1",
    	"CommunicationType": "HACLI"
    }
  24. Update the /etc/llthosts for the new node. Run the following command on the master node:
    # echo "1 clus_02" >> /etc/llthosts
  25. Restart the LLT service. Run the following command on the master node:
    # service llt restart
  26. Verify that the system is configured correctly.
    • Verify that LLT is configured correctly.

      # lltconfig -a list
    • Verify that GAB is configured properly.

      # gabconfig -a
    • Verify the LLT state.

      # lltstat -nvv
    • The vxconfigd daemon should be online on both nodes.

      # ps -ef | grep vxconfigd

      For example:

      # ps -ef | grep vxconfigd
      root   13393 1  0 01:33 ?  00:00:00 vxconfigd -k -m disable -x syslog
  27. Run the join operation on the new node.
    • Ensure that HAD is running on all the nodes.

      # /opt/VRTS/bin/hastatus
    • Run the following command:

      # /opt/VRTSnas/install/image_install/installer -m join
  28. Update the groups lists with the new node.

    Run the following commands on the master node.

    • # /opt/VRTS/bin/haconf -makerw
    • Update the sysname with the new node name.

      max_pri = Number of nodes after adding the new node - 1

      # sysname=<new node name>;max_pri=<max_pri_value>;for i in 
      '/opt/VRTS/bin/hagrp -list | awk '{print $1}' | sort | 
      uniq'; do /opt/VRTS/bin/hagrp -modify $i 
      SystemList -add $sysname $max_pri; done

      For example:

      # sysname=clus_02;max_pri=1;for i in '/opt/VRTS/bin/hagrp 
      -list | awk '{print $1}' | sort | uniq'; 
      do /opt/VRTS/bin/hagrp -modify $i SystemList -add 
      $sysname $max_pri; done

      Note:

      If the command gives any warning for child dependency, then run the command again.

    • Verify that the system list is updated.

      # for i in '/opt/VRTS/bin/hagrp -list | 
      awk '{print $1}' | sort | uniq'; 
      do /opt/VRTS/bin/hagrp -display $i | 
      grep -i systemList; done
    • Enable the groups.

      # for i in '/opt/VRTS/bin/hagrp -list | 
      awk '{print $1}' | sort | uniq'; 
      do /opt/VRTS/bin/hagrp -value $i Enabled; done
    • Update the AutoStartList.

      # sysname=<new node name>;for i in 
      '/opt/VRTS/bin/hagrp -list | awk '{print $1}' | sort | 
      uniq'; do ret='/opt/VRTS/bin/hagrp -value $i 
      AutoStartList';if [ ! -z "$ret" ]; 
      then echo "updating group: $i"; 
      /opt/VRTS/bin/hagrp -modify $i 
      AutoStartList -add $sysname; fi;done
    • Update the preonline system list.

      # sysname=<new node name>;for i in '/opt/VRTS/bin/hagrp -list | 
      awk '{print $1}' | sort | uniq'; do 
      ret='/opt/VRT/opt/VRTS/bin/S/bin/hagrp -value 
      $i PreOnline';if [ $ret -eq 1 ]; 
      then echo "updating group: $i"; 
      /opt/VRTS/bin/hagrp -modify $i PreOnline 
      1 -sys $sysname; fi;done
    • # /opt/VRTS/bin/haconf -dump -makero
    • # /opt/VRTS/bin/hastop -all

    Run the following command on all the nodes.

    # /opt/VRTS/bin/hastart
  29. Configure CVM and CFS. Run the following commands on the master node.
    • # /opt/VRTS/bin/haconf -makerw
    • # system=<master node>;new_node_name=<new node>;
      cvmres='/opt/VRTS/bin/hares -list Type=CVMCluster -localclus | 
      awk '{print $1}' | uniq';n='/opt/VRTS/bin/hasys -value 
      $new_node_name LLTNodeId';/opt/VRTS/bin/hares -modify 
      $cvmres CVMNodeId -add $new_node_name $n

      For example:

      # system=clus_01;new_node_name=clus_02;cvmres=
      '/opt/VRTS/bin/hares -list Type=CVMCluster -localclus | 
      awk '{print $1}' | uniq';n='/opt/VRTS/bin/hasys -value 
      $new_node_name LLTNodeId';/opt/VRTS/bin/hares -modify 
      $cvmres CVMNodeId -add $new_node_name $n

      The command makes the following updates.

      Before the command is executed.

      [root@clus_01 ~]# /opt/VRTS/bin/hares -value cvm_clus CVMNodeId
      clus_01 0

      After the command is executed.

      [root@clus_01 ~]# /opt/VRTS/bin/hares -value cvm_clus CVMNodeId
      clus_01 0       clus_02 1
    • Update the ActivationMode attribute with the new node.

      • You have to set the ActivationMode for the newly added node only if it is set for the master node.

      • Set the ActivationMode of the new node to be the same as that of the master node.

        Run the following command on the master node.

        # master_node=<master node name>;new_node_name=<new node name>;
        cvmsg_name='/opt/VRTS/bin/hares -display -attribute Group -type 
        CVMCluster -localclus | tail -1 | awk '{print $4}'';
        vxfsckd_name='/opt/VRTS/bin/hares -list Group=$cvmsg_name 
        Type=CFSfsckd| awk 'NR==1{print $1}'';
        vxfsckd_activation='/opt/VRTS/bin/hares -value 
        $vxfsckd_name ActivationMode $master_node';if 
        [ ! -z "$vxfsckd_activation" ]; 
        then echo "new activation mode is $vxfsckd_activation"; 
        /opt/VRTS/bin/hares -modify $vxfsckd_name ActivationMode 
        $vxfsckd_activation -sys $new_node_name; fi;
    • You can verify if the ActivationMode is set using the /opt/VRTS/bin/hares -value vxfsckd ActivationMode command.

    • # /opt/VRTS/bin/haconf -dump	 -makero
    • Run vxclustadm on all nodes of the cluster except the new node.

      # vxclustadm -m vcs -t gab reinit

      If the output of the command says that the node is not in cluster, then run the following command and then run vxclustadm again.

      # vxclustadm -m vcs -t gab startnode

      Verify state of the node.

      # vxclustadm -v nodestate

    Set the asymmetry key value for the storage_connectivity key. Run the following on the new node.

    # assymetric_value='vxtune storage_connectivity | awk 
    'NR==3{print $2}'';echo $assymetric_value | 
    grep asymmetric; if [ $? -eq 0 ]; 
    then vxtune storage_connectivity $asymmetry_value; fi
  30. Copy the configuration files from the console node to the new node using the reconfig.sh script. Run the following command on the new node.
    # /opt/VRTSnas/scripts/cluster/reconfig.sh
  31. Configure the NFS group. Run the following command on the master node.
    • If SystemList of NFS does not include the newly added node, then update it.

      Verify if the newly added node is included in the SystemList.

      # /opt/VRTS/bin/hagrp -display NFS | grep SystemList

      If not, then execute the following command to include the new node.

      # sysname=<new node name>;max_pri=<total no of nodes 
      including new nodes - 1>; /opt/VRTS/bin/hagrp -modify N
      FS SystemList -add $sysname $max_pri
    • Update Nproc.

      # /opt/VRTS/bin/haconf -makerw
      # master_node=<master node name>; new_added_node=
      <newly added node name>; for res in 
      '/opt/VRTS/bin/hares -list Type=NFS  | awk 
      '{print $1}' | sort -u'; do global=
      '/opt/VRTS/bin/hares -display $res | 
      awk '/Nproc/ {print $3}'';if 
      [ "$global" != "global" ]; then nfsdcnt=
      '/opt/VRTS/bin/hares -value $res Nproc 
      $master_node';/opt/VRTS/bin/hares -modify 
      $res Nproc $nfsdcnt -sys $new_added_node;fi;done

      For example:

      master_node=clus_01; new_added_node=clus_02;for res in 
      '/opt/VRTS/bin/hares -list Type=NFS  | awk '{print $1}' | sort -u'; 
      do global='/opt/VRTS/bin/hares -display $res | awk '/Nproc/ 
      {print $3}'';
      if [ "$global" != "global" ]; then nfsdcnt='/opt/VRTS/bin/hares 
      -value $res Nproc $master_node';/opt/VRTS/bin/hares -modify 
      $res Nproc $nfsdcnt -sys $new_added_node;fi;done
    • Verify that NProc is updated correctly using:

      # /opt/VRTS/bin/hares -display ssnas_nfs | grep Nproc

      For example:

      [root@clus_01 ~]# /opt/VRTS/bin/hares -display ssnas_nfs | grep Nproc
      ssnas_nfs    Nproc                 clus_01    96
      ssnas_nfs    Nproc                 clus_02    96
    • Enable resource:

      # /opt/VRTS/bin/hares -modify ssnas_nfs Enabled 1
    • # /opt/VRTS/bin/haconf -dump -makero
  32. Enable snas services. Run the following command on the newly added node.
    # /opt/VRTSnas/scripts/misc/nas_services.sh enable
  33. Create disk information on the new node. Run the following command on the newly added node.
    # /opt/VRTSnas/scripts/storage/create_disks_info.sh
    # service atd start
    # /usr/bin/at -f /opt/VRTSnas/scripts/report/event_notify.sh now
  34. Run the following command on all the nodes.
    # echo "<first private nic name>" >
    /opt/VRTSnas/conf/net_priv_dev.conf

    For example:

    # echo "priveth0" > /opt/VRTSnas/conf/net_priv_dev.conf
  35. If you want to configure the GUI, run the following command on the new node.
    # /opt/VRTSnas/pysnas/bin/isaconfig --host <new node name> 
    --ip <new node ip|new node hostname>

    You can now use the Veritas Access cluster.