Beruflich Dokumente
Kultur Dokumente
and mounting
procedures
Revision 3.0
Iscape 4.1
Developed by,
Cadence, Bangalore
Table of contents
Step-1
Make sure that you have the required binaries with you.
Step-2
Log in to your Linux in root.
Check for the operating system (RedHat Linux 5/6 any update)
o
Server and the Client machines should be assigned a static IP address and
a hostname.
o Check for the hostname and IP address for server and clients
o Type the command hostname to check the hostname
o Type /sbin/ifconfig to know the machines IP and also to check if
eth0 is active
All the client machines should be able to ping the server with the IP
address of the server as well as the hostname of the server with 0% packet
loss.( Please use ping command )
Client machines date and time should be in proper sync with that of
servers.
o
A separate login can be created for the root and the user in the client
machines.
o
Try to telnet to a client from a server and try to transfer a test file
to it (optional)
Step-9
Go into the iscape4.1 directory and then to bin
]$cd iscape<name>
]$cd bin
Step-10
Run the iscape.
]$ /iscape.sh
After typing the above and pressing enter you wll get a window like,
Step-11
Select the localdirectory/Media Install option and set the path upto
/Base_IC/CDROM1
Step-13
After browsing click Start.
Step-14
If a pop up comes and ask you to choose Y or N press Y and then press Enter.
Step-15
Click Enter to continue. (When it will ask to configure)
Step-16
After installation you can see the Installation and Configuration status as
SUCCESS.
Step-17
Click done and close/exit the installscape window.
Step-18
In the terminal go to the Hotfix_....then to CDROM1.
Step-19
Repeat the step 8 to step 17 for hotfix installation.
Note: If you have the binaries as tar files only (not base and hotfix i.e not iscape
installation) then just untar the binaries in a directory for tool installation.
You have to install the tools in the server PC.
Basic Commands
~]$ hostname
~]$ /sbin/ifconfig a
~]$ ping <server_name or IP>
gvim /etc/exports and edit the file
gvim /
]$ lmdrd c license_filename
]$ lmstat all c port_no@server_hostname
]$ /etc/init.d/nfs execute twice
Remarks
]$ Mkdir /mnt/cadence_tools
2. Edit /etc/hosts
3. Ping Server and self with respective
hostname and IPs
SERVER SIDE
1. To know the hostname of the Server/Client
]$ hostname
lnx-blrtr10.Cadence.COM
10
11
Below figure shows the License Keys section of a typical license file
12
13
If there is any problem in upping the license file, it will return the below message.
Ex1:
Above problem occurs, when path file is not properly set to the lcu/tools/bin path.
Ex2:
14
This problem occurs when host_name in the license file is not properly set.
Ex3:
15
This problem occurs when Daemon (cdslmd) path is not properly set in the license file.
(Please compare it with top figure, i.e for successful lmgrd. You can note here, there is no
cdslmd section.)
lmstat: Once the license file is up, in order to check the status of the license (i.e How
many license are being used presently), we can use this command
Usage: Below command shows the usage of this executable
lmstat -a -c <license_file_name> or
lmstat -a -c <port_name>@<IP_address_of_the_licensing_machine>
Ex:
lmstat -a -c my_license.txt (or)
lmstat -a -c 5280@169.354.150.178
- my_license.txt Name of the license file
- 5280 - Port number; 169.354.150.178 - IP_address of the present licensing
machine
Executing the above command will return the present status of the license, as shown
16
lmdown: At any point of time, if we want to down the license server, use this
executable.
Usage: Below command shows the usage of this executable
lmdown -c <license_file_name>
lmddown c new_opt12.txt
- new_opt12.txt is the name of the license file
Executing this command returns a confirmation message, Type y and press enter to
confirm it, as shown
17
(Note: At any point of time, while working with the tool on client machines, do not shut
down the server machine on which the license is up and running. This will automatically
down the license and you cant work with the tool.)
8. Reboot the NFS
Once the license is up and running, the final step to do is to reboot the nfs using the
following command
/etc/init.d/nfs (Execute twice)
Execute the above command twice to complete the reboot
CLIENT SIDE
Client
6. Create a directory in mount directory
Remarks
Mkdir /mnt/cadence_tools
7. Edit /etc/hosts
8. Ping server and self with hostname and IPs
18
mkdir Cadence_tools
3. Edit hosts file in /etc folder
gvim /etc/hosts
By default the following lines would already be there inside this file
19
gvim /etc/fstab
Below snapshot shows a sample fstab file
Append a new line with servers host name, Tools path in the server, and mounted
path to this file in the following format
<Server_HostName>:/<Tools Path in Server> /mnt/Cadence_tools nfs default 0 0
Eg: server04cadence:/ccstools/cdsind1/tools/
Below snapshot shows the sample fstab file after the new line is appended
ServerHostname
Tools Path
Mounted path
- Check whether the tool has mounted
Mnt]# ls l Cadence_tools/
- If mounting fails we could give following command in the terminal itself
mount f nfs <Server_HostName>:/<Toolspath><space> /mnt/Cadence_tools
Or Simply type mount a in the terminal.
20
Set the license path in the file by adding the following line
setenv LM_LICENSE_FILE <port_number>@<host_name_of_the_server>
The above line sets the path for license. It defines the server information from where the
present working machine (Client) picks the tool license.
Ex:
Below figure shows the typical cshrc file with the license path set
As cshrc file (kept in each client machine) contains the below line
When you source cshrc file, the clients automatically pick the license from server
according to provided server host name.
- Instead of host name of the server, you can also mention the IP address of the
server, as shown in below line
Ex: setenv LM_LICENSE_FILE 5280@<IP-address_of_the_server>)
21