5.2.4 Changing the work directory
If the free space in the work directory that is being used temporarily becomes insufficient in the distribution-destination system or the packager, take either of the following actions:
-
Increase the partition size of the work directory.
-
Change the work directory.
The following procedure shows how to change the work directory. Before using the procedure, make sure that you are logged in as a superuser.
Note that if you change the work directory, the changed work directory is not deleted when JP1/IT Desktop Management 2 - Agent is uninstalled. When uninstalling JP1/IT Desktop Management 2 - Agent, manually delete the changed work directory.
-
Terminate the process.
-
For systems other than HP-UX:
For a client workstation
rdsrf -q
/NETMRDS/COM/rdskillsrv
For an end workstation
/NETMRDS/COM/rdssnde -q
/NETMRDS/COM/rdskillsrv
-
For HP-UX:
For a client workstation
/opt/NETMDMW/bin/rdsrf -q
/opt/NETMDMW/lbin/rdskillsrv
For an end workstation
/opt/NETMDMW/lbin/rdssnde -q
/opt/NETMDMW/lbin/rdskillsrv
-
-
Change the work directory.
The example below shows how to set the work directory when sufficient free space is available under /home.
-
For systems other than HP-UX and Linux:
When /NETMRDS is a symbolic link:
unlink /NETMRDS
cp -rp /opt/NETMRDS /home
rm -rf /opt/NETMRDS
ln -s /home/NETMRDS /NETMRDS
When /NETMRDS is an actual directory:
cp -rp /NETMRDS /home
rm -rf /NETMRDS
ln -s /home/NETMRDS /NETMRDS
-
For HP-UX:
cp -rp /var/opt/NETMDMW /home
rm -rf /var/opt/NETMDMW
ln -s /home/NETMDMW /var/opt/NETMDMW
-
For Linux:
unlink /NETMRDS
cp -rp /opt/NETMDMW /home
rm -rf /opt/NETMDMW
ln -s /home/NETMDMW /NETMRDS
ln -s /home/NETMDMW /opt/NETMDMW
The work directory also contains the following files, which have the socket attribute:
-
For systems other than HP-UX: /NETMRDS/SCTSVC/xxx (xxx: variable)
-
For HP-UX: /var/opt/NETMDMW/SCTSVC/xxx (xxx: variable)
An attempt to move a file that has the socket attribute might fail. If an attempt to move a file fails, the file is re-created when the process starts. You can therefore ignore an error message that appears if moving fails.
-
-
Start the process.
-
For systems other than HP-UX: /NETMRDS/COM/rdsstart
-
For HP-UX: /opt/NETMDMW/lbin/rdsstart
-