Upload
samcool1717
View
83
Download
0
Embed Size (px)
Citation preview
OPERATION Solaris
Solaris Command
pkginfo | grep NAVGet the software ftp …
Unzip the software
Install the packages pkgadd -d <package name>.pkg
Verify the pages were installed pkginfo | grep -I navi
Update the agent.config file vi /etc/Navisphere/agent.config
Start the agent /etc/init.d/agent start
Confirm the agent has started ps -ef | grep -i navi*
/opt/Nav*/bin/navicli register
Create the naviseccli security file
Confirm security file created ls $HOME | grep -i sec*
naviseccli -removeusersecurity
Install NaviCLI / NavisecCLI / NaviAgentDetermine if host agent or CLI /secure CLI is already installed
gunzip -S .zip <package name>.zip or unzip <package name>.zip
Add entries for each CLARiiON SP the host is attached to
user system@<IP SPA>user system@<IP SPB>
Register the HBA WWPN and hostname with the CLARiiON
naviseccli -address <IP SP> -AddUserSecurity -scope 0 -user emc -pas
Remove security if no longer needed
echo $PATHEditing the agent.config file Solaris CommandDetermine if the agent is running ps -ef | grep -i navi*Stop the agent /etc/init.d/agent stopLocation /etc/Navisphere/agent.config
Start the agent /etc/init.d/agent start
Confirm the agent has started ps -ef | grep -i navi*
/opt/Nav*/bin/navicli register
Solaris Command
pkginfo | grep -I navi*Stop the agent if running /etc/init.d/agent stop
Remove the packagesConfirm packages removed pkginfo | grep -I navi*
Solaris CommandPath to navicli/naviseccli/agent /opt/Navisphere/binPath to agent.config /etc/Navisphere/agent.configPath to start agent process /etc/init.d/agentInstalling Solutions Enabler Solaris Command
pkginfo | grep -I symGet the software ftp …
Uncompress the software gunzip <file name>.tar.Z
Unarchive the file tar -xvf <file name>.tarRun the install script ./se<version>_install.sh -installVerify the pages were installed pkginfo | grep -I sym
Determine if navicli / naviseccli is in the $PATH environmental.
Add entries for each CLARiiON SP the host is attached to
user system@<IP SPA>user system@<IP SPB>
Register the HBA WWPN and hostname with the CLARiiONUninstalling NaviCLI / NavisecCLI / NaviAgentDetermine if host agent or CLI /secure CLI is already installed
pkgrm NAVIAGENTpkgrm NAVICLIpkgrm NAVISCLI
Binary location for NaviCLI / NavisecCLI / NaviAgent
Determine if Solutions Enabler is already installed
/usr/emc/API/symapi/config
Uninstalling Solutions Enabler Solaris Command
pkginfo | grep -I sym
Remove the software pkgrm SYMcore
Confirm packages removed pkginfo | grep SYMBinary location for symCLI Solaris Command
Binaries (SymCLI) default locationLicense file default location /usr/emc/API/symapi/config
/usr/emc/API/symapi/dbPowerpath Solaris Command
Disk Device scan and list
Scan for disk devices cfgadm -al
cfgadm -c configure cList devices natively format
EMC "inq" utility download location
List devices with "inq" inq -showvol
File System Operation Solaris CommandUFS
Format format
Get the symapi_licenses.dat file and place in the default config directory
Create/update the symapi_db.bin file.
/opt/emc/SYMCLI/V6.5.3/bin/symcfg discover
Determine if Solutions Enabler is installed
/usr/symcli/bin or /opt/emc/SYMCLI/V6.5.3/bin
Database location for symapi_db.bin
ftp://anonymous:[email protected]/pub/elab/inquiry/
Partition
Label
Create new file systemCreate a mount directory mkdir /test
Mount the file systemUn-mount the file system umount /testRescan with Leadville stack cfgadm -alConfigure devices? cfgadm -c configure cZFSList disks format
Create a storage poolList newly created mount point mountList storage pools zpool list
zpool statusDestroy the storage pool zpool destroy testy
AIX create a volume group
Create a logical volume
Create a mount point
Create a file systemmount file systemHP-UXScan for disks
newfs -v /dev/rdsk/c2t500601693CE00591d0s2
mount /dev/dsk/c2t500601693CE00591d0s2 /test
zpool create test mirror c2t500601693CE00591d5 c2t500601693CE00591d6
List status of devices in storage pool
Make the volume group available to the OS
Install special files (Creates /dev/dsk and /dev/rdsk files)Create a directory for the Volume Group
Show device numbers assigned to the existing volume groupsCreate a device file named group in the newly created directory to contain the volume group
Initialize each device you will be using for the volume group, only do this for the primarydevices, secondary devices will be assigned later.Add the primary devices to the volume group
Solaris AIX
Solaris Notes AIX Command
lslpp -L | grep NAVPlace on a FTP server
gunzip -S .zip <package>.zip
smit installp
vi /etc/Navisphere/agent.config
/etc/rc.agent start
ps -ef | grep -i navi*
/usr/lpp/NAVICLI/navicli register
Repeat for both SPs
ls $HOME | grep -i sec*
naviseccli -removeusersecurity
Make sure files transferred in binary mode or the CRC with the unzip command will fail.
Look for theses packages NAVIAGENT, NAVISCLI, NAVICLI
lslpp -L | grep NAV or smit
Make sure the local user and all CLARiiON SPs, format in the user section: user root user system@<IP SP A> user system@<IP SP B>
Repeat for each CLARiiON attached. Agent process may not run without "user system@<IP SP>" entries in the agent.config file.
user system@<IP SPA>user system@<IP SPB>
It should note the location of the navi agent process running and the file it read
Agent must be running for command to suceed. No standard outpout should be returned. Use the "echo $?" command to confirm success, look for it to return "0".
naviseccli -address <IP SP> -AddUserSecurity -scope 0 -user emc -pas
An *.xml and *.key security file are created in the user's home directory. These files contain security details for all attached CLARiiONs.
Removes *.xml and *.key security file are created in the user's home directory.
echo $PATHSolaris Notes AIX Command
ps -ef | grep -i navi*/etc/rc.agent stop/etc/Navisphere/agent.config
Repeat for each CLARiiON attached/etc/rc.agent start
ps -ef | grep -i navi*
/usr/lpp/NAVICLI/navicli register
Solaris Notes AIX Command
lslpp -L | grep NAV/etc/rc.agent stop
smitNo navi* packages should appear lslpp -L | grep NAV
Solaris Notes AIX Command/usr/lpp/NAVICLI/etc/Navisphere/agent.config/etc/rc.agent
Solaris Notes AIX Command
lslpp -L | grep -i symcliPlace on a FTP server
uncompress <file name>.tar.Z
tar -xvf <file name>.tarAccept the defaults ./se<version>_install.sh -installLook for numerous SYM* packages lslpp -L | grep -i symcli
Look for "/opt/Navisphere/bin". Having the pathway to navi in the variable means navi commands can be run from any directory.
user system@<IP SPA>user system@<IP SPB>
It should note the location of the navi agent process running and the file it read
No standard outpout should be returned. Use the "echo $?" command to confirm success, look for it to return "0".
Look for theses packages NAVIAGENT, NAVISCLI, NAVICLI
Make sure files transferred in binary mode or the CRC with the unzip command will fail. Get rid of the *.ZNotes (x) xtract (v) verbose (f) file. Extracts many directories.
/usr/emc/API/symapi/config
Solaris Notes AIX Command
lslpp -L | grep -i symcli
smit
lslpp -L | grep -i symcliSolaris Notes AIX Command
/usr/emc/API/symapi/config
/usr/emc/API/symapi/dbSolaris Notes AIX Command
emc_cfgmgr
cfgmgrlsdev -c disk
inq -showvol
Solaris Notes AIX Commandstty erase ^H
Say yes when prompted to label then exit
The symapi_license.dat file includes licenses for various Solutions Enabler options.
Creates/updates the symapi_db.bin file which holds a snapshots of all the local and remote attached Symmetrix systems. This file is consulted for list commands so no inquiry needs to be done against the Symmetrix. By default the file is located at: /usr/emc/API/symapi/db/
/opt/emc/SYMCLI/V6.5.3/bin/symcfg discover
List all installed Symmetrix packages which are prefixed with SYM*
Example of removing the SYMcore packageList all installed Symmetrix packages which are prefixed with SYM*
/usr/symcli/bin or /opt/emc/SYMCLI/V6.5.3/bin
Get the latest version for your operating system. ftp://anonymous:[email protected]/pub/elab/inquiry/List volumes and displays complete volume number.
Labelling is done via the format command
Creates the directory named "test"
mkvg -y testvg hdiskpower1
varyonvg testvg
mklv -y testvol -t jfs testvg 100
mkdir /test
mount /test
Partioning is done via the format command. No need to partiton if using entire disk whichj is slice 2.
The "-v" is for verbose, don't forget to append the slice number to the device.
Mount the device "/dev/dsk/c2t500601693CE00591d0s2" to the directory "/test"
zpool create <directory: created on demand> <RAID level: mirror,raidz,default is striped> disks Devices paths are assumed /dev/dsk and assumed slice 2 which is recommended. Use active path for CLARiiON devices. Automatically creates a file system and labels the disks.
crfs -v jfs -g testvg -m /test -p rw -a size=100
AIX HP-UX
AIX Notes HP-UX Command
/usr/sbin/swlist | grep -I navi*
gunzip -S .zip <package>.zip
swlist | grep -i navi*
vi /etc/Navisphere/agent.config
/sbin/init.d/agent start
ps -ef | grep -i navi*
/opt/Navisphere/bin/navicli register
Repeat for both SPs
ls $HOME | grep -i sec*
naviseccli -removeusersecurity
Menu interface will launch. Select "Install Software" from the menu. When prompted input the absolute path to the directory wher the uncompressed NaviCLI and NaviAGT files reside. Select "all_latest" software for install.
swinstall -s /stuff/NAVICLI.dep NAVICLI swinstall -s /stuff/NAVICLI.dep NAVIAGENT
"lspp" would be the quickest technique where "smit" would perform the same operation through the menu interface.
Make sure the local user and all CLARiiON SPs, format in the user section: user root user system@<IP SP A> user system@<IP SP B>
Repeat for each CLARiiON attached. Agent process may not run without "user system@<IP SP>" entries in the agent.config file.
user system@<IP SPA>user system@<IP SPB>
It should note the location of the navi agent process running and the file it read
Agent must be running for command to suceed. No standard outpout should be returned. Use the "echo $?" command to confirm success, look for it to return "0".
naviseccli -address <IP SP> -AddUserSecurity -scope 0 -user emc -pas
An *.xml and *.key security file are created in the user's home directory. These files contain security details for all attached CLARiiONs.
Removes *.xml and *.key security file are created in the user's home directory.
echo $PATHAIX Notes HP-UX Command
ps -ef | grep -i navi*/sbin/init.d/agent stop/etc/Navisphere/agent.config
/sbin/init.d/agent start
ps -ef | grep -i navi*
/opt/Navisphere/bin/navicli register
AIX Notes HP-UX Command
swlist | grep -i navi*/sbin/init.d/agent stop
swlist | grep -i navi*
AIX Notes HP-UX Command/opt/Navisphere/bin//etc/Navisphere/agent.config/sbin/init.d/agent start
AIX Notes HP-UX Command
lslpp -L | grep -i symcliPlace on a FTP server
uncompress <file name>.tar.Z
tar -xvf <file name>.tarAccept the defaults ./se<version>_install.sh -installLook for numerous SYM* packages lslpp -L | grep -i symcli
Look for "/usr/bin/naviseccli or/usr/lpp/NAVICLI/naviseccli". Having the pathway to navi in the variable means navi commands can be run from any directory.
user system@<IP SPA>user system@<IP SPB>
It should note the location of the navi agent process running and the file it read
No standard outpout should be returned. Use the "echo $?" command to confirm success, look for it to return "0".
When in smit follow the menus: Software Installation and Maintenance > SoftwareMaintenance and Utilities > Remove Installed SoftwareThe Remove Installed Software window opens.
swremove NAVICLI swremove NAVIAGENT
Make sure files transferred in binary mode or the CRC with the unzip command will fail. Get rid of the *.ZNotes (x) xtract (v) verbose (f) file. Extracts many directories.
/usr/emc/API/symapi/config
AIX Notes HP-UX Command
lslpp -L | grep -i symcli
smit
lslpp -L | grep -i symcliAIX Notes HP-UX Command
/usr/emc/API/symapi/config
/usr/emc/API/symapi/dbAIX Notes HP-UX Command
emc_cfgmgr
cfgmgrlsdev -c disk
inq -showvol
AIX Notes HP-UX Command
The symapi_license.dat file includes licenses for various Solutions Enabler options.
Creates/updates the symapi_db.bin file which holds a snapshots of all the local and remote attached Symmetrix systems. This file is consulted for list commands so no inquiry needs to be done against the Symmetrix. By default the file is located at: /usr/emc/API/symapi/db/
/opt/emc/SYMCLI/V6.5.3/bin/symcfg discover
List all installed Symmetrix packages which are prefixed with SYM*
When in smit follow the menus: Software Installation and Maintenance > SoftwareMaintenance and Utilities > Remove Installed SoftwareThe Remove Installed Software window opens.List all installed Symmetrix packages which are prefixed with SYM*
/usr/symcli/bin or /opt/emc/SYMCLI/V6.5.3/bin
Located on ftp.emc.com at ftp://ftp.emc.com/pub/symm3000/aix/ODM_DEFINITIONS/Native to AIX OS might not find EMC SAN volumes.
Get the latest version for your operating system. ftp://anonymous:[email protected]/pub/elab/inquiry/List volumes and displays complete volume number.
mkvg - <volume group name> <PV name>
varyonvg <volume group name>
Create a directory to act as a mount point.
ioscan -fnC disk
insf -e
mkdir /testvg
mklv -y <volume name> -t jfs <volume group> size
Create a journaling file system on the logical volume on the designated mount point.
ls -l /dev/*/group
mknod /dev/testvg/group c 64 0x0c0000
pvcreate /dev/rdsk/c114t0d5vgcreate /dev/testvg/group /dev/dsk/c114t0d5
HP-UX
HP-UX Notes
Repeat for both SPs
find "unzip" command find / -name unzip /usr/local/bin/unzip /usr/local/bin/unzip <file name>.zip
The arguments "NAVICLI" and "NAVIAGENT" are literal and must be entered as is. "lspp" would be the quickest technique where "smit" would perform the same operation through the menu interface.
Make sure the local user and all CLARiiON SPs, format in the user section: user root user system@<IP SP A> user system@<IP SP B>
Repeat for each CLARiiON attached. Agent process may not run without "user system@<IP SP>" entries in the agent.config file.
It should note the location of the navi agent process running and the file it read
Agent must be running for command to suceed. No standard outpout should be returned. Use the "echo $?" command to confirm success, look for it to return "0".
An *.xml and *.key security file are created in the user's home directory. These files contain security details for all attached CLARiiONs.
Removes *.xml and *.key security file are created in the user's home directory.
HP-UX Notes
HP-UX Notes
HP-UX Notes
HP-UX Notes
Place on a FTP server
Accept the defaultsLook for numerous SYM* packages
Look for "/usr/bin/naviseccli or/usr/lpp/NAVICLI/naviseccli". Having the pathway to navi in the variable means navi commands can be run from any directory.
It should note the location of the navi agent process running and the file it read
Agent must be running for command to suceed. No standard outpout should be returned. Use the "echo $?" command to confirm success, look for it to return "0".
When in smit follow the menus: Software Installation and Maintenance > SoftwareMaintenance and Utilities > Remove Installed SoftwareThe Remove Installed Software window opens.
Make sure files transferred in binary mode or the CRC with the unzip command will fail. Get rid of the *.ZNotes (x) xtract (v) verbose (f) file. Extracts many directories.
HP-UX Notes
HP-UX Notes
HP-UX Notes
HP-UX Notes
The symapi_license.dat file includes licenses for various Solutions Enabler options.
Creates/updates the symapi_db.bin file which holds a snapshots of all the local and remote attached Symmetrix systems. This file is consulted for list commands so no inquiry needs to be done against the Symmetrix. By default the file is located at: /usr/emc/API/symapi/db/
List all installed Symmetrix packages which are prefixed with SYM*
When in smit follow the menus: Software Installation and Maintenance > SoftwareMaintenance and Utilities > Remove Installed SoftwareThe Remove Installed Software window opens.List all installed Symmetrix packages which are prefixed with SYM*
Located on ftp.emc.com at ftp://ftp.emc.com/pub/symm3000/aix/ODM_DEFINITIONS/Native to HP-UX OS might not find EMC SAN volumes.
Get the latest version for your operating system.List volumes and displays complete volume number.
Use a block device not a raw device.
Find the next avialable minor number (0x000000). Use 64 as the major number.
mknod /dev/<VG name>/group c <Major #> <Minor #>
???? How to find devices already initialized. Confirm the command suceeded with "echo $?". Look for "Physical volume "/dev/rdsk/c114t0d5" has been successfully created."